~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/rename_table.cc

  • Committer: Olaf van der Spek
  • Date: 2011-04-13 10:38:28 UTC
  • mto: (2277.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2278.
  • Revision ID: olafvdspek@gmail.com-20110413103828-zpiii4c7j79k6soe
Remove table::Cache::singleton()

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
    return true;
83
83
 
84
84
  {
85
 
    boost::mutex::scoped_lock scopedLock(table::Cache::singleton().mutex()); /* Rename table lock for exclusive access */
 
85
    boost::mutex::scoped_lock scopedLock(table::Cache::mutex()); /* Rename table lock for exclusive access */
86
86
 
87
87
    if (not session().lock_table_names_exclusively(table_list))
88
88
    {