~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/alter_table.cc

  • Committer: Brian Aker
  • Date: 2010-11-08 18:54:26 UTC
  • mto: (1921.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 1916.
  • Revision ID: brian@tangent.org-20101108185426-fymkf2xnelupf11x
Rename lock methods to be style + well make sense.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1201
1201
    /* Close lock if this is a transactional table */
1202
1202
    if (session->lock)
1203
1203
    {
1204
 
      session->mysql_unlock_tables(session->lock);
 
1204
      session->unlockTables(session->lock);
1205
1205
      session->lock= 0;
1206
1206
    }
1207
1207
 
1444
1444
  /* 
1445
1445
   * LP Bug #552420 
1446
1446
   *
1447
 
   * Since open_temporary_table() doesn't invoke mysql_lock_tables(), we
 
1447
   * Since open_temporary_table() doesn't invoke lockTables(), we
1448
1448
   * don't get the usual automatic call to StorageEngine::startStatement(), so
1449
1449
   * we manually call it here...
1450
1450
   */