~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/log.cc

  • Committer: Monty Taylor
  • Date: 2009-03-24 18:13:47 UTC
  • mto: (960.5.2 mordred)
  • mto: This revision was merged to the branch mainline in revision 964.
  • Revision ID: mordred@inaugust.com-20090324181347-phblgoj913uph2hs
Rename hton to engine.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
#define MY_OFF_T_UNDEF (~(my_off_t)0UL)
45
45
 
46
46
static int binlog_init(void *p);
47
 
static int binlog_close_connection(StorageEngine *hton, Session *session);
48
 
static int binlog_savepoint_set(StorageEngine *hton, Session *session, void *sv);
49
 
static int binlog_savepoint_rollback(StorageEngine *hton, Session *session, void *sv);
50
 
static int binlog_commit(StorageEngine *hton, Session *session, bool all);
51
 
static int binlog_rollback(StorageEngine *hton, Session *session, bool all);
52
 
static int binlog_prepare(StorageEngine *hton, Session *session, bool all);
 
47
static int binlog_close_connection(StorageEngine *engine, Session *session);
 
48
static int binlog_savepoint_set(StorageEngine *engine, Session *session, void *sv);
 
49
static int binlog_savepoint_rollback(StorageEngine *engine, Session *session, void *sv);
 
50
static int binlog_commit(StorageEngine *engine, Session *session, bool all);
 
51
static int binlog_rollback(StorageEngine *engine, Session *session, bool all);
 
52
static int binlog_prepare(StorageEngine *engine, Session *session, bool all);
53
53
 
54
54
 
55
55
StorageEngine *binlog_engine;
127
127
  It has the responsibility to flush the transaction cache to the
128
128
  binlog file on commits.
129
129
 
130
 
  @param hton  The binlog StorageEngine.
 
130
  @param engine  The binlog StorageEngine.
131
131
  @param session   The client thread that executes the transaction.
132
132
  @param all   This is @c true if this is a real transaction commit, and
133
133
               @false otherwise.
211
211
  binlog file. However, if the transaction does not involve
212
212
  non-transactional tables, nothing needs to be logged.
213
213
 
214
 
  @param hton  The binlog StorageEngine.
 
214
  @param engine  The binlog StorageEngine.
215
215
  @param session   The client thread that executes the transaction.
216
216
  @param all   This is @c true if this is a real transaction rollback, and
217
217
               @false otherwise.