summaryrefslogtreecommitdiff
path: root/sql/mysql_priv.h
diff options
context:
space:
mode:
authorserg@serg.mysql.com <>2001-04-13 21:29:06 +0200
committerserg@serg.mysql.com <>2001-04-13 21:29:06 +0200
commit6a41e1f3a5a4fbe08e4e5743060a62964b8f6f40 (patch)
treeae2d8790dbf1ae24cc87a52f4f3aa16bbb1d8158 /sql/mysql_priv.h
parentf48ed453035bc01af7ab26a662e1d9b96758a00d (diff)
parentca0ba8e0ab4c765178d7dc3e703e70919f83bfa1 (diff)
downloadmariadb-git-6a41e1f3a5a4fbe08e4e5743060a62964b8f6f40.tar.gz
merged
Diffstat (limited to 'sql/mysql_priv.h')
-rw-r--r--sql/mysql_priv.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/mysql_priv.h b/sql/mysql_priv.h
index 7a6d95facd3..31293951a90 100644
--- a/sql/mysql_priv.h
+++ b/sql/mysql_priv.h
@@ -385,6 +385,12 @@ int mysqld_show_status(THD *thd);
int mysqld_show_variables(THD *thd,const char *wild);
int mysqld_show(THD *thd, const char *wild, show_var_st *variables);
+/* sql_handler.cc */
+int mysql_ha_open(THD *thd, TABLE_LIST *tables);
+int mysql_ha_close(THD *thd, TABLE_LIST *tables);
+int mysql_ha_read(THD *, TABLE_LIST *,enum enum_ha_read_modes,char *,
+ List<Item> *,enum ha_rkey_function,Item *,ha_rows,ha_rows);
+
/* sql_base.cc */
void set_item_name(Item *item,char *pos,uint length);
bool add_field_to_list(char *field_name, enum enum_field_types type,
@@ -406,6 +412,8 @@ TABLE *unlink_open_table(THD *thd,TABLE *list,TABLE *find);
SQL_SELECT *make_select(TABLE *head, table_map const_tables,
table_map read_tables, COND *conds, int *error);
Item ** find_item_in_list(Item *item,List<Item> &items);
+bool insert_fields(THD *thd,TABLE_LIST *tables, const char *table_name,
+ List_iterator<Item> *it);
bool setup_tables(TABLE_LIST *tables);
int setup_fields(THD *thd,TABLE_LIST *tables,List<Item> &item,
bool set_query_id,List<Item> *sum_func_list);