~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_insert.cc

  • Committer: Brian Aker
  • Date: 2008-11-11 02:57:53 UTC
  • Revision ID: brian@gir-3.local-20081111025753-lhjfrgprx27gpudv
Stepping point in moving to stmt based replication.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1102
1102
  if (lex->current_select->select_limit)
1103
1103
  {
1104
1104
    lex->set_stmt_unsafe();
1105
 
    session->set_current_stmt_binlog_row_based_if_mixed();
 
1105
    session->set_current_stmt_binlog_row_based();
1106
1106
  }
1107
1107
  /*
1108
1108
    SELECT_LEX do not belong to INSERT statement, so we can't add WHERE
1758
1758
    virtual int do_postlock(Table **tables, uint32_t count)
1759
1759
    {
1760
1760
      Session *session= const_cast<Session*>(ptr->get_session());
1761
 
      if (int error= decide_logging_format(session, &all_tables))
 
1761
      if (int error= decide_logging_format(session))
1762
1762
        return error;
1763
1763
 
1764
1764
      Table const *const table = *tables;