~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_base.cc

  • Committer: Monty Taylor
  • Date: 2008-12-24 18:50:40 UTC
  • mfrom: (750 testable)
  • mto: This revision was merged to the branch mainline in revision 751.
  • Revision ID: mordred@inaugust.com-20081224185040-ty52p3rcs3zg42fb
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1256
1256
        close_temporary(table, 1, 1);
1257
1257
      }
1258
1258
      session->clear_error();
1259
 
      const CHARSET_INFO * const cs_save= session->variables.character_set_client;
1260
 
      session->variables.character_set_client= system_charset_info;
1261
1259
      Query_log_event qinfo(session, s_query.ptr(),
1262
1260
                            s_query.length() - 1 /* to remove trailing ',' */,
1263
1261
                            0, false);
1264
 
      session->variables.character_set_client= cs_save;
1265
1262
      /*
1266
1263
        Imagine the thread had created a temp table, then was doing a
1267
1264
        SELECT, and the SELECT was killed. Then it's not clever to