~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.h

  • Committer: Brian Aker
  • Date: 2010-10-09 00:49:33 UTC
  • mfrom: (1812.5.8 staging)
  • Revision ID: brian@tangent.org-20101009004933-tehugnkubtzp6uy4
Merge in changes for show create table.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1045
1045
  {
1046
1046
    return server_status & SERVER_STATUS_IN_TRANS;
1047
1047
  }
1048
 
  inline bool fill_derived_tables()
1049
 
  {
1050
 
    return !lex->only_view_structure();
1051
 
  }
1052
 
 
1053
1048
  LEX_STRING *make_lex_string(LEX_STRING *lex_str,
1054
1049
                              const char* str, uint32_t length,
1055
1050
                              bool allocate_lex_string);
1479
1474
   */
1480
1475
  bool openTablesLock(TableList *tables);
1481
1476
 
1482
 
  /**
1483
 
   * Open all tables in list and process derived tables
1484
 
   *
1485
 
   * @param Pointer to a list of tables for open
1486
 
   * @param Bitmap of flags to modify how the tables will be open:
1487
 
   *        DRIZZLE_LOCK_IGNORE_FLUSH - open table even if someone has
1488
 
   *        done a flush or namelock on it.
1489
 
   *
1490
 
   * @retval
1491
 
   *  false - ok
1492
 
   * @retval
1493
 
   *  true  - error
1494
 
   *
1495
 
   * @note
1496
 
   *
1497
 
   * This is to be used on prepare stage when you don't read any
1498
 
   * data from the tables.
1499
 
   */
1500
 
  bool openTables(TableList *tables, uint32_t flags= 0);
1501
 
 
1502
1477
  int open_tables_from_list(TableList **start, uint32_t *counter, uint32_t flags= 0);
1503
1478
 
1504
1479
  Table *openTableLock(TableList *table_list, thr_lock_type lock_type);