~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/db.cc

  • Committer: Brian Aker
  • Date: 2010-11-08 17:40:41 UTC
  • mto: (1921.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 1916.
  • Revision ID: brian@tangent.org-20101108174041-owap774v8l5vvnl4
Push some functions behind classes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
384
384
      continue;
385
385
    case -1:
386
386
      error= 1;
387
 
      unlock_table_names(tables, NULL);
 
387
      tables->unlock_table_names();
388
388
      LOCK_open.unlock();
389
389
      session->no_warnings_for_error= 0;
390
390
 
412
412
      if (session->killed)
413
413
      {
414
414
        error= -1;
415
 
        unlock_table_names(tables, NULL);
 
415
        tables->unlock_table_names();
416
416
        LOCK_open.unlock();
417
417
        session->no_warnings_for_error= 0;
418
418
 
476
476
  }
477
477
 
478
478
  LOCK_open.lock(); /* final bit in rm table lock */
479
 
  unlock_table_names(tables, NULL);
 
479
  tables->unlock_table_names();
480
480
  LOCK_open.unlock();
481
481
  session->no_warnings_for_error= 0;
482
482