~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/cursor.cc

  • Committer: Brian Aker
  • Date: 2010-03-03 05:02:36 UTC
  • mfrom: (1309.2.19 build)
  • Revision ID: brian@gaz-20100303050236-y7dotibgwks12gyp
Merge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1353
1353
 
1354
1354
  switch (session->lex->sql_command)
1355
1355
  {
 
1356
  case SQLCOM_CREATE_TABLE:
 
1357
    /*
 
1358
     * We are in a CREATE TABLE ... SELECT statement
 
1359
     * and the kernel has already created the table
 
1360
     * and put a CreateTableStatement in the active
 
1361
     * Transaction message.  Here, we add a new InsertRecord
 
1362
     * to a new Transaction message (because the above
 
1363
     * CREATE TABLE will commit the transaction containing
 
1364
     * it).
 
1365
     */
 
1366
    result= replication_services.insertRecord(session, table);
 
1367
    break;
1356
1368
  case SQLCOM_REPLACE:
1357
1369
  case SQLCOM_REPLACE_SELECT:
1358
1370
    /*