~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to drizzled/statement/delete.cc

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.1.6)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20120619104649-e2l0ggd4oz3um0f4
Tags: upstream-7.1.36-stable
ImportĀ upstreamĀ versionĀ 7.1.36-stable

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
  assert(first_table == all_tables && first_table != 0);
40
40
  assert(select_lex->offset_limit == 0);
41
41
  unit->set_limit(select_lex);
42
 
  bool need_start_waiting= false;
43
42
 
44
 
  if (! (need_start_waiting= not session().wait_if_global_read_lock(0, 1)))
 
43
  if (session().wait_if_global_read_lock(0, 1))
45
44
  {
46
45
    return true;
47
46
  }