~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/replace.cc

  • Committer: Paul McCullagh
  • Date: 2010-09-22 13:04:27 UTC
  • mto: (1787.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1788.
  • Revision ID: paul.mccullagh@primebase.org-20100922130427-utakdj4ec4uiv1kc
Fixed PBXT recovery and shutdown, added shutdownPlugin() call to all plugins before the plugins are deleted

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
    return true;
39
39
  }
40
40
 
41
 
  if (session->wait_if_global_read_lock(false, true))
 
41
  if (wait_if_global_read_lock(session, false, true))
42
42
  {
43
43
    return true;
44
44
  }
55
55
     Release the protection against the global read lock and wake
56
56
     everyone, who might want to set a global read lock.
57
57
   */
58
 
  session->startWaitingGlobalReadLock();
59
 
 
 
58
  start_waiting_global_read_lock(session);
60
59
  return res;
61
60
}
62
61