Commit 8233b914 authored by unknown's avatar unknown

After merge fix (WL#3567).

parent 3e35fffa
...@@ -1728,12 +1728,13 @@ int ha_myisam::create(const char *name, register TABLE *table_arg, ...@@ -1728,12 +1728,13 @@ int ha_myisam::create(const char *name, register TABLE *table_arg,
HA_CREATE_INFO *info) HA_CREATE_INFO *info)
{ {
int error; int error;
uint create_flags= 0, options= table_arg->db_options_in_use, records; uint create_flags= 0, records;
char buff[FN_REFLEN]; char buff[FN_REFLEN];
MI_KEYDEF *keydef; MI_KEYDEF *keydef;
MI_COLUMNDEF *recinfo; MI_COLUMNDEF *recinfo;
MI_CREATE_INFO create_info; MI_CREATE_INFO create_info;
TABLE_SHARE *share= table->s; TABLE_SHARE *share= table->s;
uint options= share->db_options_in_use;
DBUG_ENTER("ha_myisam::create"); DBUG_ENTER("ha_myisam::create");
if ((error= table2myisam(table_arg, &keydef, &recinfo, &records))) if ((error= table2myisam(table_arg, &keydef, &recinfo, &records)))
DBUG_RETURN(error); /* purecov: inspected */ DBUG_RETURN(error); /* purecov: inspected */
......
...@@ -97,7 +97,7 @@ int ha_myisammrg::open(const char *name, int mode, uint test_if_locked) ...@@ -97,7 +97,7 @@ int ha_myisammrg::open(const char *name, int mode, uint test_if_locked)
MI_COLUMNDEF *recinfo; MI_COLUMNDEF *recinfo;
MYRG_TABLE *u_table; MYRG_TABLE *u_table;
uint recs; uint recs;
uint keys= table->keys; uint keys= table->s->keys;
int error; int error;
char name_buff[FN_REFLEN]; char name_buff[FN_REFLEN];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment