~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/replace.cc

  • Committer: Brian Aker
  • Date: 2010-10-15 05:30:39 UTC
  • mfrom: (1843.8.7 trunk-drizzle)
  • Revision ID: brian@tangent.org-20101015053039-ebmv3hnn1yaq4wqy
Merge in refactoring on table (broken it up by type, this will allow me to
insert the new locking).

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