~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/replace_select.cc

  • Committer: Andrew Hutchings
  • Date: 2010-09-26 17:58:17 UTC
  • mto: (1795.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1796.
  • Revision ID: andrew@linuxjedi.co.uk-20100926175817-3pwsapakdfte1izu
Fix spelling mistake

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
 
48
48
  unit->set_limit(select_lex);
49
49
 
50
 
  if (session->wait_if_global_read_lock(false, true))
 
50
  if (wait_if_global_read_lock(session, false, true))
51
51
  {
52
52
    return true;
53
53
  }
96
96
     Release the protection against the global read lock and wake
97
97
     everyone, who might want to set a global read lock.
98
98
   */
99
 
  session->startWaitingGlobalReadLock();
 
99
  start_waiting_global_read_lock(session);
100
100
 
101
101
  return res;
102
102
}