summaryrefslogtreecommitdiff
path: root/sql/sql_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_handler.h')
-rw-r--r--sql/sql_handler.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/sql_handler.h b/sql/sql_handler.h
index 7fe5ae5bba8..cb1aff1d727 100644
--- a/sql/sql_handler.h
+++ b/sql/sql_handler.h
@@ -68,7 +68,7 @@ struct TABLE_LIST;
bool mysql_ha_open(THD *thd, TABLE_LIST *tables, SQL_HANDLER *reopen);
bool mysql_ha_close(THD *thd, TABLE_LIST *tables);
-bool mysql_ha_read(THD *, TABLE_LIST *,enum enum_ha_read_modes,char *,
+bool mysql_ha_read(THD *, TABLE_LIST *,enum enum_ha_read_modes, const char *,
List<Item> *,enum ha_rkey_function,Item *,ha_rows,ha_rows);
void mysql_ha_flush(THD *thd);
void mysql_ha_flush_tables(THD *thd, TABLE_LIST *all_tables);
@@ -78,6 +78,7 @@ void mysql_ha_set_explicit_lock_duration(THD *thd);
void mysql_ha_rm_temporary_tables(THD *thd);
SQL_HANDLER *mysql_ha_read_prepare(THD *thd, TABLE_LIST *tables,
- enum enum_ha_read_modes mode, char *keyname,
+ enum enum_ha_read_modes mode,
+ const char *keyname,
List<Item> *key_expr, Item *cond);
#endif