~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/ha_trx_info.h

  • Committer: Monty Taylor
  • Date: 2009-03-25 08:39:58 UTC
  • mto: (960.5.2 mordred)
  • mto: This revision was merged to the branch mainline in revision 964.
  • Revision ID: mordred@inaugust.com-20090325083958-5gp7pps4c9id7xol
More naming fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
{
46
46
public:
47
47
  /** Register this storage engine in the given transaction context. */
48
 
  void register_ha(Session_TRANS *trans, StorageEngine *ht_arg);
 
48
  void register_ha(Session_TRANS *trans, StorageEngine *engine_arg);
49
49
 
50
50
  /** Clear, prepare for reuse. */
51
51
  void reset();
58
58
  /** Mark this transaction read-write if the argument is read-write. */
59
59
  void coalesce_trx_with(const Ha_trx_info *stmt_trx);
60
60
  Ha_trx_info *next() const;
61
 
  StorageEngine *ht() const;
 
61
  StorageEngine *engine() const;
62
62
 
63
63
private:
64
64
  enum { TRX_READ_ONLY= 0, TRX_READ_WRITE= 1 };
66
66
  Ha_trx_info *m_next;
67
67
  /**
68
68
    Although a given Ha_trx_info instance is currently always used
69
 
    for the same storage engine, 'ht' is not-NULL only when the
 
69
    for the same storage engine, 'engine' is not-NULL only when the
70
70
    corresponding storage is a part of a transaction.
71
71
  */
72
 
  StorageEngine *m_ht;
 
72
  StorageEngine *m_engine;
73
73
  /**
74
74
    Transaction flags related to this engine.
75
75
    Not-null only if this instance is a part of transaction.