~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.cc

  • Committer: Padraig O'Sullivan
  • Date: 2009-08-08 06:48:37 UTC
  • mto: (1115.3.4 captain)
  • mto: This revision was merged to the branch mainline in revision 1117.
  • Revision ID: osullivan.padraig@gmail.com-20090808064837-7hs3udx0kfnmo0r7
Extracted unlock tables into its own class and implementation files. Removed
the corresponding case label.

Show diffs side-by-side

added added

removed removed

Lines of Context:
936
936
 
937
937
    break;
938
938
  }
939
 
 
940
 
  case SQLCOM_UNLOCK_TABLES:
941
 
    /*
942
 
      It is critical for mysqldump --single-transaction --master-data that
943
 
      UNLOCK TABLES does not implicitely commit a connection which has only
944
 
      done FLUSH TABLES WITH READ LOCK + BEGIN. If this assumption becomes
945
 
      false, mysqldump will not work.
946
 
    */
947
 
    if (session->global_read_lock)
948
 
      unlock_global_read_lock(session);
949
 
    session->my_ok();
950
 
    break;
951
939
  case SQLCOM_CREATE_DB:
952
940
  {
953
941
    /*