~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/resource_context.cc

  • Committer: Stewart Smith
  • Date: 2010-03-02 06:41:59 UTC
  • mto: (1309.2.13 build)
  • mto: This revision was merged to the branch mainline in revision 1318.
  • Revision ID: stewart@flamingspork.com-20100302064159-gktw6hcbs3u0fflm
move Item_result out to its own header file and out of common.h

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
/** Clear, prepare for reuse. */
31
31
void ResourceContext::reset()
32
32
{
33
 
  monitored= NULL;
34
 
  xa_resource_manager= NULL;
35
 
  trx_storage_engine= NULL;
 
33
  resource= NULL;
36
34
  modified_data= false;
37
35
}
38
36
 
50
48
 
51
49
bool ResourceContext::isStarted() const
52
50
{
53
 
  return monitored != NULL;
 
51
  return resource != NULL;
54
52
}
55
53
 
56
54
void ResourceContext::coalesceWith(const ResourceContext *stmt_ctx)