~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.h

Collection of patches/bug fixes from new-cleanup tree (none of the
Table/other fixes are included).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1365
1365
   * used by this thread if we are on the upper level.
1366
1366
   */
1367
1367
  void close_thread_tables();
1368
 
  void close_old_data_files(bool morph_locks, bool send_refresh);
 
1368
  void close_old_data_files(bool morph_locks= false,
 
1369
                            bool send_refresh= false);
1369
1370
  void close_open_tables();
1370
1371
  void close_data_files_and_morph_locks(const char *db, const char *table_name);
 
1372
 
 
1373
private:
 
1374
  bool free_cached_table();
 
1375
public:
 
1376
 
1371
1377
  /**
1372
1378
   * Prepares statement for reopening of tables and recalculation of set of
1373
1379
   * prelocked tables.
1375
1381
   * @param Pointer to a pointer to a list of tables which we were trying to open and lock
1376
1382
   */
1377
1383
  void close_tables_for_reopen(TableList **tables);
 
1384
 
 
1385
 
1378
1386
  /**
1379
1387
   * Open all tables in list, locks them (all, including derived)
1380
1388
   *