~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/replace_select.cc

  • Committer: Monty Taylor
  • Date: 2011-04-06 21:23:45 UTC
  • mfrom: (2268.1.4 build)
  • Revision ID: mordred@inaugust.com-20110406212345-a7w7nkcuq60ybi4z
Merge Monty: Windows Fixes
Merge Olaf: open_table refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
         the unlock procedure.
81
81
       */
82
82
      if (first_table->lock_type == TL_WRITE_CONCURRENT_INSERT &&
83
 
          session().lock)
 
83
          session().open_tables.lock)
84
84
      {
85
85
        /* INSERT ... SELECT should invalidate only the very first table */
86
86
        TableList *save_table= first_table->next_local;