390.1.2
by Monty Taylor
Fixed copyright headers in drizzled/ |
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 |
*/
|
|
243.1.17
by Jay Pipes
FINAL PHASE removal of mysql_priv.h (Bye, bye my friend.) |
19 |
|
20 |
/**
|
|
21 |
@file
|
|
22 |
||
23 |
Routines to drop, repair, optimize, analyze, and check a schema table
|
|
24 |
||
25 |
*/
|
|
26 |
#ifndef DRIZZLE_SERVER_SQL_TABLE_H
|
|
27 |
#define DRIZZLE_SERVER_SQL_TABLE_H
|
|
28 |
||
520.1.22
by Brian Aker
Second pass of thd cleanup |
29 |
bool mysql_rm_table(Session *session,TableList *tables, bool if_exists, |
243.1.17
by Jay Pipes
FINAL PHASE removal of mysql_priv.h (Bye, bye my friend.) |
30 |
bool drop_temporary); |
520.1.22
by Brian Aker
Second pass of thd cleanup |
31 |
int mysql_rm_table_part2(Session *session, TableList *tables, bool if_exists, |
243.1.17
by Jay Pipes
FINAL PHASE removal of mysql_priv.h (Bye, bye my friend.) |
32 |
bool drop_temporary, bool drop_view, bool log_query); |
33 |
bool quick_rm_table(handlerton *base,const char *db, |
|
482
by Brian Aker
Remove uint. |
34 |
const char *table_name, uint32_t flags); |
520.1.22
by Brian Aker
Second pass of thd cleanup |
35 |
void close_cached_table(Session *session, Table *table); |
243.1.17
by Jay Pipes
FINAL PHASE removal of mysql_priv.h (Bye, bye my friend.) |
36 |
|
520.1.22
by Brian Aker
Second pass of thd cleanup |
37 |
void wait_while_table_is_used(Session *session, Table *table, |
243.1.17
by Jay Pipes
FINAL PHASE removal of mysql_priv.h (Bye, bye my friend.) |
38 |
enum ha_extra_function function); |
520.1.22
by Brian Aker
Second pass of thd cleanup |
39 |
bool mysql_checksum_table(Session* session, TableList* table_list, |
243.1.17
by Jay Pipes
FINAL PHASE removal of mysql_priv.h (Bye, bye my friend.) |
40 |
HA_CHECK_OPT* check_opt); |
520.1.22
by Brian Aker
Second pass of thd cleanup |
41 |
bool mysql_check_table(Session* session, TableList* table_list, |
243.1.17
by Jay Pipes
FINAL PHASE removal of mysql_priv.h (Bye, bye my friend.) |
42 |
HA_CHECK_OPT* check_opt); |
520.1.22
by Brian Aker
Second pass of thd cleanup |
43 |
bool mysql_repair_table(Session* session, TableList* table_list, |
243.1.17
by Jay Pipes
FINAL PHASE removal of mysql_priv.h (Bye, bye my friend.) |
44 |
HA_CHECK_OPT* check_opt); |
520.1.22
by Brian Aker
Second pass of thd cleanup |
45 |
bool mysql_analyze_table(Session* session, TableList* table_list, |
243.1.17
by Jay Pipes
FINAL PHASE removal of mysql_priv.h (Bye, bye my friend.) |
46 |
HA_CHECK_OPT* check_opt); |
520.1.22
by Brian Aker
Second pass of thd cleanup |
47 |
bool mysql_optimize_table(Session* session, TableList* table_list, |
243.1.17
by Jay Pipes
FINAL PHASE removal of mysql_priv.h (Bye, bye my friend.) |
48 |
HA_CHECK_OPT* check_opt); |
49 |
||
520.1.22
by Brian Aker
Second pass of thd cleanup |
50 |
bool mysql_assign_to_keycache(Session* session, TableList* table_list, |
243.1.17
by Jay Pipes
FINAL PHASE removal of mysql_priv.h (Bye, bye my friend.) |
51 |
LEX_STRING *key_cache_name); |
520.1.22
by Brian Aker
Second pass of thd cleanup |
52 |
bool mysql_preload_keys(Session* session, TableList* table_list); |
53 |
int reassign_keycache_tables(Session* session, KEY_CACHE *src_cache, |
|
243.1.17
by Jay Pipes
FINAL PHASE removal of mysql_priv.h (Bye, bye my friend.) |
54 |
KEY_CACHE *dst_cache); |
55 |
||
56 |
#endif /* DRIZZLE_SERVER_SQL_TABLE_H */ |