~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_table.h

  • Committer: Monty Taylor
  • Date: 2011-03-10 18:09:05 UTC
  • mfrom: (2225.2.2 refactor)
  • mto: This revision was merged to the branch mainline in revision 2228.
  • Revision ID: mordred@inaugust.com-20110310180905-ttx05t7q7ff6nl7c
Merge Olad: Refactoring

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#ifndef DRIZZLED_SQL_TABLE_H
27
27
#define DRIZZLED_SQL_TABLE_H
28
28
 
29
 
#include "drizzled/base.h"
 
29
#include <drizzled/base.h>
30
30
 
31
31
namespace drizzled
32
32
{
40
40
class Cursor;
41
41
 
42
42
namespace message { class Table; }
43
 
class TableIdentifier;
 
43
namespace identifier { class Table; }
44
44
 
45
 
int mysql_rm_table_part2(Session *session, TableList *tables, bool if_exists,
 
45
int rm_table_part2(Session *session, TableList *tables, bool if_exists,
46
46
                         bool drop_temporary);
47
47
void close_cached_table(Session *session, Table *table);
48
48
 
49
49
void wait_while_table_is_used(Session *session, Table *table,
50
50
                              enum ha_extra_function function);
51
51
 
52
 
bool mysql_check_table(Session* session, TableList* table_list,
53
 
                       HA_CHECK_OPT* check_opt);
54
 
bool mysql_analyze_table(Session* session, TableList* table_list,
55
 
                         HA_CHECK_OPT* check_opt);
56
 
bool mysql_optimize_table(Session* session, TableList* table_list,
57
 
                          HA_CHECK_OPT* check_opt);
58
 
 
59
 
void write_bin_log(Session *session, const std::string &query);
 
52
bool check_table(Session* session, TableList* table_list,
 
53
                 HA_CHECK_OPT* check_opt);
 
54
bool analyze_table(Session* session, TableList* table_list,
 
55
                   HA_CHECK_OPT* check_opt);
 
56
bool optimize_table(Session* session, TableList* table_list,
 
57
                    HA_CHECK_OPT* check_opt);
60
58
 
61
59
bool is_primary_key(KeyInfo *key_info);
62
60
const char* is_primary_key_name(const char* key_name);