~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:05:25 UTC
  • mto: (960.5.2 mordred)
  • mto: This revision was merged to the branch mainline in revision 964.
  • Revision ID: mordred@inaugust.com-20090324180525-ok5metxsa5yor53k
First step of hton rename.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
static int binlog_prepare(StorageEngine *hton, Session *session, bool all);
53
53
 
54
54
 
55
 
StorageEngine *binlog_hton;
 
55
StorageEngine *binlog_engine;
56
56
 
57
57
 
58
58
 /*
87
87
 
88
88
int binlog_init(void *p)
89
89
{
90
 
  binlog_hton= (StorageEngine *)p;
91
 
  binlog_hton->state= SHOW_OPTION_YES;
92
 
  binlog_hton->savepoint_offset= sizeof(my_off_t);
93
 
  binlog_hton->close_connection= binlog_close_connection;
94
 
  binlog_hton->savepoint_set= binlog_savepoint_set;
95
 
  binlog_hton->savepoint_rollback= binlog_savepoint_rollback;
96
 
  binlog_hton->commit= binlog_commit;
97
 
  binlog_hton->rollback= binlog_rollback;
98
 
  binlog_hton->prepare= binlog_prepare;
99
 
  binlog_hton->flags= HTON_NOT_USER_SELECTABLE | HTON_HIDDEN;
 
90
  binlog_engine= (StorageEngine *)p;
 
91
  binlog_engine->state= SHOW_OPTION_YES;
 
92
  binlog_engine->savepoint_offset= sizeof(my_off_t);
 
93
  binlog_engine->close_connection= binlog_close_connection;
 
94
  binlog_engine->savepoint_set= binlog_savepoint_set;
 
95
  binlog_engine->savepoint_rollback= binlog_savepoint_rollback;
 
96
  binlog_engine->commit= binlog_commit;
 
97
  binlog_engine->rollback= binlog_rollback;
 
98
  binlog_engine->prepare= binlog_prepare;
 
99
  binlog_engine->flags= HTON_NOT_USER_SELECTABLE | HTON_HIDDEN;
100
100
 
101
101
  return 0;
102
102
}