diff options
author | unknown <tim@cane.mysql.fi> | 2000-12-18 23:22:20 +0200 |
---|---|---|
committer | unknown <tim@cane.mysql.fi> | 2000-12-18 23:22:20 +0200 |
commit | 7cdb2b2d1d1efef069a305d130abf57d099c790e (patch) | |
tree | 6c7a3e5744b99f5ca62385fc84624366492f5c0b /sql/mysql_priv.h | |
parent | 4c5b71f311965afc2ea81972652644eff80d0770 (diff) | |
download | mariadb-git-7cdb2b2d1d1efef069a305d130abf57d099c790e.tar.gz |
Added SHOW OPEN TABLES. Thanks to Antony T Curtis <antony@abacus.co.uk>
for the code.
Docs/manual.texi:
- added SHOW OPEN TABLES
sql/gen_lex_hash.cc:
- added SHOW OPEN TABLES
sql/lex.h:
- added SHOW OPEN TABLES
sql/mysql_priv.h:
- added SHOW OPEN TABLES
sql/sql_base.cc:
- added SHOW OPEN TABLES
sql/sql_lex.h:
- added SHOW OPEN TABLES
sql/sql_parse.cc:
- added SHOW OPEN TABLES
sql/sql_show.cc:
- added SHOW OPEN TABLES
sql/sql_yacc.yy:
- added SHOW OPEN TABLES
Diffstat (limited to 'sql/mysql_priv.h')
-rw-r--r-- | sql/mysql_priv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/mysql_priv.h b/sql/mysql_priv.h index 067e17c4356..0980c91e444 100644 --- a/sql/mysql_priv.h +++ b/sql/mysql_priv.h @@ -354,6 +354,7 @@ Field *find_field_in_table(THD *thd,TABLE *table,const char *name,uint length, /* sql_list.c */ int mysqld_show_dbs(THD *thd,const char *wild); +int mysqld_show_open_tables(THD *thd,const char *db,const char *wild); int mysqld_show_tables(THD *thd,const char *db,const char *wild); int mysqld_extend_show_tables(THD *thd,const char *db,const char *wild); int mysqld_show_fields(THD *thd,TABLE_LIST *table, const char *wild); @@ -418,6 +419,8 @@ bool close_cached_tables(THD *thd, bool wait_for_refresh, TABLE_LIST *tables); void copy_field_from_tmp_record(Field *field,int offset); int fill_record(List<Item> &fields,List<Item> &values); int fill_record(Field **field,List<Item> &values); +int list_open_tables(THD *thd,List<char> *files, const char *db,const char *wild); +char* query_table_status(THD *thd,const char *db,const char *table_name); /* sql_calc.cc */ bool eval_const_cond(COND *cond); |