~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.cc

  • Committer: Brian Aker
  • Date: 2008-11-24 06:05:26 UTC
  • Revision ID: brian@tangent.org-20081124060526-z02hwac02i5membk
Remove lock condition needed (we do row based replication, so... lock is
uninteresting for us).

Show diffs side-by-side

added added

removed removed

Lines of Context:
2666
2666
  lex->select_lex.select_limit= 0;
2667
2667
  lex->unit.select_limit_cnt= HA_POS_ERROR;
2668
2668
  lex->select_lex.table_list.save_and_clear(&lex->auxiliary_table_list);
2669
 
  lex->lock_option= using_update_log ? TL_READ_NO_INSERT : TL_READ;
 
2669
  lex->lock_option= TL_READ;
2670
2670
  lex->query_tables= 0;
2671
2671
  lex->query_tables_last= &lex->query_tables;
2672
2672
}