~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_table.h

  • Committer: Monty Taylor
  • Date: 2008-08-09 02:24:34 UTC
  • mto: (266.1.8 codestyle)
  • mto: This revision was merged to the branch mainline in revision 279.
  • Revision ID: monty@inaugust.com-20080809022434-97na8pnugghskxip
Removed mystringslt conv lib and replaced it with a noinst lib.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
 
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
 
 *
4
 
 *  Copyright (C) 2008 Sun Microsystems
5
 
 *
6
 
 *  This program is free software; you can redistribute it and/or modify
7
 
 *  it under the terms of the GNU General Public License as published by
8
 
 *  the Free Software Foundation; version 2 of the License.
9
 
 *
10
 
 *  This program is distributed in the hope that it will be useful,
11
 
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 
 *  GNU General Public License for more details.
14
 
 *
15
 
 *  You should have received a copy of the GNU General Public License
16
 
 *  along with this program; if not, write to the Free Software
17
 
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
 
 */
 
1
/* Copyright (C) 2000-2003 MySQL AB
 
2
 
 
3
   This program is free software; you can redistribute it and/or modify
 
4
   it under the terms of the GNU General Public License as published by
 
5
   the Free Software Foundation; version 2 of the License.
 
6
 
 
7
   This program is distributed in the hope that it will be useful,
 
8
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
9
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
10
   GNU General Public License for more details.
 
11
 
 
12
   You should have received a copy of the GNU General Public License
 
13
   along with this program; if not, write to the Free Software
 
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
19
15
 
20
16
/**
21
17
  @file
26
22
#ifndef DRIZZLE_SERVER_SQL_TABLE_H
27
23
#define DRIZZLE_SERVER_SQL_TABLE_H
28
24
 
29
 
bool mysql_rm_table(THD *thd,TableList *tables, bool if_exists,
 
25
bool mysql_rm_table(THD *thd,TABLE_LIST *tables, bool if_exists,
30
26
                    bool drop_temporary);
31
 
int mysql_rm_table_part2(THD *thd, TableList *tables, bool if_exists,
 
27
int mysql_rm_table_part2(THD *thd, TABLE_LIST *tables, bool if_exists,
32
28
                         bool drop_temporary, bool drop_view, bool log_query);
33
29
bool quick_rm_table(handlerton *base,const char *db,
34
 
                    const char *table_name, uint32_t flags);
35
 
void close_cached_table(THD *thd, Table *table);
 
30
                    const char *table_name, uint flags);
 
31
void close_cached_table(THD *thd, TABLE *table);
36
32
 
37
 
void wait_while_table_is_used(THD *thd, Table *table,
 
33
void wait_while_table_is_used(THD *thd, TABLE *table,
38
34
                              enum ha_extra_function function);
39
 
bool mysql_checksum_table(THD* thd, TableList* table_list,
 
35
bool mysql_checksum_table(THD* thd, TABLE_LIST* table_list,
40
36
                          HA_CHECK_OPT* check_opt);
41
 
bool mysql_check_table(THD* thd, TableList* table_list,
 
37
bool mysql_check_table(THD* thd, TABLE_LIST* table_list,
42
38
                       HA_CHECK_OPT* check_opt);
43
 
bool mysql_repair_table(THD* thd, TableList* table_list,
 
39
bool mysql_repair_table(THD* thd, TABLE_LIST* table_list,
44
40
                        HA_CHECK_OPT* check_opt);
45
 
bool mysql_analyze_table(THD* thd, TableList* table_list,
 
41
bool mysql_analyze_table(THD* thd, TABLE_LIST* table_list,
46
42
                         HA_CHECK_OPT* check_opt);
47
 
bool mysql_optimize_table(THD* thd, TableList* table_list,
 
43
bool mysql_optimize_table(THD* thd, TABLE_LIST* table_list,
48
44
                          HA_CHECK_OPT* check_opt);
49
45
 
50
 
bool mysql_assign_to_keycache(THD* thd, TableList* table_list,
 
46
bool mysql_assign_to_keycache(THD* thd, TABLE_LIST* table_list,
51
47
                              LEX_STRING *key_cache_name);
52
 
bool mysql_preload_keys(THD* thd, TableList* table_list);
 
48
bool mysql_preload_keys(THD* thd, TABLE_LIST* table_list);
53
49
int reassign_keycache_tables(THD* thd, KEY_CACHE *src_cache,
54
50
                             KEY_CACHE *dst_cache);
55
51