~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/replace.cc

merge innobase 1.0.9 build fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
    return true;
39
39
  }
40
40
 
41
 
  if (wait_if_global_read_lock(session, false, true))
 
41
  if (session->wait_if_global_read_lock(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
 
  start_waiting_global_read_lock(session);
 
58
  session->startWaitingGlobalReadLock();
 
59
 
59
60
  return res;
60
61
}
61
62