~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/replace.cc

  • Committer: Monty Taylor
  • Date: 2010-10-19 21:58:26 UTC
  • mfrom: (1861.3.7 ld-version-script)
  • mto: This revision was merged to the branch mainline in revision 1863.
  • Revision ID: mordred@inaugust.com-20101019215826-ofh15co6vp47vndb
Merge Monty - Fixed the valgrind errors, made it so that haildb works in trunk with no extra magic.

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