summaryrefslogtreecommitdiff
path: root/sql/mysql_priv.h
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-07-22 11:57:34 -0700
committerunknown <jimw@mysql.com>2005-07-22 11:57:34 -0700
commita4217760b409a0ab05b32f748da70dce629e4697 (patch)
treeae03d36ca1741c6cf94e4422d20ba88c369dc1f6 /sql/mysql_priv.h
parent657a5346e4df9b0aa9a533d407340d5603c9614b (diff)
parent41984105287d0c209c2c4a017abb149ca312a831 (diff)
downloadmariadb-git-a4217760b409a0ab05b32f748da70dce629e4697.tar.gz
Merge mysql.com:/home/jimw/my/mysql-4.1-10407
into mysql.com:/home/jimw/my/mysql-4.1-clean
Diffstat (limited to 'sql/mysql_priv.h')
-rw-r--r--sql/mysql_priv.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sql/mysql_priv.h b/sql/mysql_priv.h
index 42e45442f9c..4b570c7bbd1 100644
--- a/sql/mysql_priv.h
+++ b/sql/mysql_priv.h
@@ -1029,10 +1029,13 @@ void unlock_table_names(THD *thd, TABLE_LIST *table_list,
void unireg_init(ulong options);
void unireg_end(void);
bool mysql_create_frm(THD *thd, my_string file_name,
+ const char *table, const char* db,
HA_CREATE_INFO *create_info,
List<create_field> &create_field,
uint key_count,KEY *key_info,handler *db_type);
-int rea_create_table(THD *thd, my_string file_name,HA_CREATE_INFO *create_info,
+int rea_create_table(THD *thd, my_string file_name,
+ const char *table, const char* db,
+ HA_CREATE_INFO *create_info,
List<create_field> &create_field,
uint key_count,KEY *key_info);
int format_number(uint inputflag,uint max_length,my_string pos,uint length,
@@ -1104,7 +1107,8 @@ ulong make_new_entry(File file,uchar *fileinfo,TYPELIB *formnames,
const char *newname);
ulong next_io_size(ulong pos);
void append_unescaped(String *res, const char *pos, uint length);
-int create_frm(char *name,uint reclength,uchar *fileinfo,
+int create_frm(char *name, const char *table, const char *db,
+ uint reclength,uchar *fileinfo,
HA_CREATE_INFO *create_info, uint keys);
void update_create_info_from_table(HA_CREATE_INFO *info, TABLE *form);
int rename_file_ext(const char * from,const char * to,const char * ext);