~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_base.cc

  • Committer: Brian Aker
  • Date: 2008-12-24 02:06:33 UTC
  • Revision ID: brian@tangent.org-20081224020633-sbe7ca5yvo8yj5d3
Removal of client side collation.

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