diff options
author | pappa@c-8808e253.1238-1-64736c10.cust.bredbandsbolaget.se <> | 2006-03-21 10:44:59 -0500 |
---|---|---|
committer | pappa@c-8808e253.1238-1-64736c10.cust.bredbandsbolaget.se <> | 2006-03-21 10:44:59 -0500 |
commit | 3dc4635c70118c02c9d392db481b1d6c5fb86f4a (patch) | |
tree | 5876aed6e233ea5e55356a926f07cf3cb8ec443c /sql/unireg.cc | |
parent | 7432108f460fc0350cbcfa7b6c1daf623691b1fe (diff) | |
parent | 791a3820d1a15956151802cd79a662fd96cedcbb (diff) | |
download | mariadb-git-3dc4635c70118c02c9d392db481b1d6c5fb86f4a.tar.gz |
Merge c-8808e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-5.1-new
into c-8808e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/wl2826
Diffstat (limited to 'sql/unireg.cc')
-rw-r--r-- | sql/unireg.cc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sql/unireg.cc b/sql/unireg.cc index 7cb79e866f9..fb3ec994eff 100644 --- a/sql/unireg.cc +++ b/sql/unireg.cc @@ -136,7 +136,6 @@ bool mysql_create_frm(THD *thd, const char *file_name, if (part_info) { create_info->extra_size+= part_info->part_info_len; - create_info->extra_size+= part_info->part_state_len; } #endif @@ -209,12 +208,6 @@ bool mysql_create_frm(THD *thd, const char *file_name, my_write(file, (const byte*)part_info->part_info_string, part_info->part_info_len + 1, MYF_RW)) goto err; - DBUG_PRINT("info", ("Part state len = %d", part_info->part_state_len)); - int4store(buff, part_info->part_state_len); - if (my_write(file, (const byte*)buff, 4, MYF_RW) || - my_write(file, (const byte*)part_info->part_state, - part_info->part_state_len, MYF_RW)) - goto err; } else #endif @@ -330,7 +323,7 @@ int rea_create_table(THD *thd, const char *path, // Make sure mysql_create_frm din't remove extension DBUG_ASSERT(*fn_rext(frm_name)); - if (file->create_handler_files(path)) + if (file->create_handler_files(path, NULL, FALSE)) goto err_handler; if (!create_info->frm_only && ha_create_table(thd, path, db, table_name, create_info,0)) |