~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/flush.cc

MErge Session fix.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
   * reloadCache() will tell us if we are allowed to write to the
36
36
   * binlog or not.
37
37
   */
38
 
  if (! reloadCache())
 
38
  if (not reloadCache())
39
39
  {
40
40
    /*
41
41
     * We WANT to write and we CAN write.
43
43
     *
44
44
     * Presumably, RESET and binlog writing doesn't require synchronization
45
45
     */
46
 
    write_bin_log(session, session->query.c_str());
 
46
    write_bin_log(session, *session->getQueryString());
47
47
    session->my_ok();
48
48
  }
49
49