~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/replace.cc

  • Committer: Brian Aker
  • Date: 2009-12-09 01:09:43 UTC
  • mfrom: (1240.1.8 build)
  • Revision ID: brian@gaz-20091209010943-n5iq2b9ins7mx73j
MergeĀ build

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
  TableList *first_table= (TableList *) session->lex->select_lex.table_list.first;
33
33
  TableList *all_tables= session->lex->query_tables;
34
34
  assert(first_table == all_tables && first_table != 0);
35
 
  bool need_start_waiting;
36
35
 
37
36
  if (insert_precheck(session, all_tables))
38
37
  {
39
38
    return true;
40
39
  }
41
40
 
42
 
  if (! (need_start_waiting= ! wait_if_global_read_lock(session, 0, 1)))
 
41
  if (wait_if_global_read_lock(session, false, true))
43
42
  {
44
43
    return true;
45
44
  }