~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.cc

  • Committer: Brian Aker
  • Date: 2009-05-12 02:33:57 UTC
  • mto: This revision was merged to the branch mainline in revision 1012.
  • Revision ID: brian@gaz-20090512023357-30yurnkb2s91ucrk
Remove dead lock code around delayed INSERT.

Show diffs side-by-side

added added

removed removed

Lines of Context:
942
942
    if ((res= insert_precheck(session, all_tables)))
943
943
      break;
944
944
 
945
 
    /* Fix lock for first table */
946
 
    if (first_table->lock_type == TL_WRITE_DELAYED)
947
 
      first_table->lock_type= TL_WRITE;
948
 
 
949
945
    /* Don't unlock tables until command is written to binary log */
950
946
    select_lex->options|= SELECT_NO_UNLOCK;
951
947