~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.h

  • Committer: Brian Aker
  • Date: 2010-11-28 20:44:02 UTC
  • mfrom: (1954.2.4 alter-table)
  • Revision ID: brian@tangent.org-20101128204402-e6ab9fucshilci81
Merge in table identifier work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1603
1603
  void close_old_data_files(bool morph_locks= false,
1604
1604
                            bool send_refresh= false);
1605
1605
  void close_open_tables();
1606
 
  void close_data_files_and_morph_locks(TableIdentifier &identifier);
 
1606
  void close_data_files_and_morph_locks(const TableIdentifier &identifier);
1607
1607
 
1608
1608
private:
1609
1609
  bool free_cached_table();
1640
1640
  Table *openTable(TableList *table_list, bool *refresh, uint32_t flags= 0);
1641
1641
 
1642
1642
  void unlink_open_table(Table *find);
1643
 
  void drop_open_table(Table *table, TableIdentifier &identifier);
 
1643
  void drop_open_table(Table *table, const TableIdentifier &identifier);
1644
1644
  void close_cached_table(Table *table);
1645
1645
 
1646
1646
  /* Create a lock in the cache */
1647
1647
  table::Placeholder *table_cache_insert_placeholder(const TableIdentifier &identifier);
1648
 
  bool lock_table_name_if_not_cached(TableIdentifier &identifier, Table **table);
 
1648
  bool lock_table_name_if_not_cached(const TableIdentifier &identifier, Table **table);
1649
1649
 
1650
1650
  typedef boost::unordered_map<std::string, message::Table, util::insensitive_hash, util::insensitive_equal_to> TableMessageCache;
1651
1651