~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/replace.cc

  • Committer: Stewart Smith
  • Date: 2010-07-27 19:43:43 UTC
  • mto: (1720.1.1 drizzle)
  • mto: This revision was merged to the branch mainline in revision 1721.
  • Revision ID: stewart@flamingspork.com-20100727194343-rj79lftdvityzqlg
fix SHOW CREATE TABLE tests for explicit COLLATE in CREATE TABLE

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