~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/replace_select.cc

  • Committer: tdavies
  • Date: 2010-10-15 05:42:42 UTC
  • mto: (1849.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1850.
  • Revision ID: tdavies@molly-20101015054242-pwurc94i9m0w1guh
File:drizzled/internal/my_static.h; Converted struct 'st_irem' to c++ class and renamed it 'irem'. Also added constructor, and made the changed name consistant in my_static.cc

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
}