~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.cc

Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
2034
2034
}
2035
2035
 
2036
2036
/**
2037
 
  Mark the current error as fatal. Warning: this does not
2038
 
  set any error, it sets a property of the error, so must be
2039
 
  followed or prefixed with my_error().
2040
 
*/
2041
 
void Session::fatal_error()
2042
 
{
2043
 
  assert(main_da().is_error());
2044
 
  is_fatal_error= true;
2045
 
}
2046
 
 
2047
 
/**
2048
2037
  true if there is an error in the error stack.
2049
2038
 
2050
2039
  Please use this method instead of direct access to
2115
2104
    impl_->schema_event_observers[db_name] = observers;
2116
2105
        return observers;
2117
2106
}
2118
 
my_xid Session::getTransactionId()
2119
 
{
2120
 
  return transaction.xid_state.xid.quick_get_my_xid();
2121
 
}
2122
2107
 
2123
2108
const std::string& display::type(drizzled::Session::global_read_lock_t type)
2124
2109
{