~linuxjedi/drizzle/usability-cli-port

« back to all changes in this revision

Viewing changes to drizzled/handler.cc

  • Committer: Brian Aker
  • Date: 2008-12-08 06:44:37 UTC
  • Revision ID: brian@tangent.org-20081208064437-cxc5pfg0vu9f13rd
Partial fix (more of replication flushed out)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4287
4287
  - table is not mysql.event
4288
4288
*/
4289
4289
 
4290
 
static bool  binlog_log_row(Table* table,
4291
 
                            const unsigned char *before_record,
4292
 
                            const unsigned char *after_record)
 
4290
static bool binlog_log_row(Table* table,
 
4291
                           const unsigned char *before_record,
 
4292
                           const unsigned char *after_record)
4293
4293
{
4294
 
  bool error= 0;
 
4294
  bool error= false;
4295
4295
  Session *const session= table->in_use;
4296
4296
 
4297
4297
  if (table->no_replicate)
4298
 
    return 0;
 
4298
    return false;
4299
4299
 
4300
 
  if (session->getReplicationData() == NULL)
4301
 
  {
4302
 
    error= replicator_session_init(session);
4303
 
  }
 
4300
  error= replicator_session_init(session);
4304
4301
 
4305
4302
  switch (session->lex->sql_command)
4306
4303
  {