~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.cc

  • Committer: Olaf van der Spek
  • Date: 2011-03-15 23:07:12 UTC
  • mto: (2239.2.1 build)
  • mto: This revision was merged to the branch mainline in revision 2240.
  • Revision ID: olafvdspek@gmail.com-20110315230712-wtlt0k3g2ibunn73
Refactor includes

Show diffs side-by-side

added added

removed removed

Lines of Context:
2188
2188
  main_da().set_eof_status(this);
2189
2189
}
2190
2190
 
 
2191
void Session::set_end_timer()
 
2192
{
 
2193
  _end_timer= boost::posix_time::microsec_clock::universal_time();
 
2194
  status_var.execution_time_nsec+= (_end_timer - _start_timer).total_microseconds();
 
2195
}
 
2196
 
 
2197
plugin::StorageEngine* Session::getDefaultStorageEngine()
 
2198
{
 
2199
  return variables.storage_engine ? variables.storage_engine : global_system_variables.storage_engine;
 
2200
}
 
2201
 
 
2202
enum_tx_isolation Session::getTxIsolation()
 
2203
{
 
2204
  return (enum_tx_isolation)variables.tx_isolation;
 
2205
}
 
2206
 
2191
2207
namespace display  {
2192
2208
 
2193
2209
static const std::string NONE= "NONE";