~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/transaction_services.cc

  • Committer: Brian Aker
  • Date: 2010-11-08 05:00:04 UTC
  • mto: (1921.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 1916.
  • Revision ID: brian@tangent.org-20101108050004-l50ikx9zdtcq1e5a
First pass through the global lock refactor merge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
560
560
    error= commitPhaseOne(session, normal_transaction) ? (cookie ? 2 : 1) : 0;
561
561
end:
562
562
    if (is_real_trans)
563
 
      start_waiting_global_read_lock(session);
 
563
      session->startWaitingGlobalReadLock();
564
564
  }
565
565
  return error;
566
566
}