summaryrefslogtreecommitdiff
path: root/sql/ha_myisammrg.cc
diff options
context:
space:
mode:
authormonty@tik.mysql.fi <>2001-09-27 21:45:48 +0300
committermonty@tik.mysql.fi <>2001-09-27 21:45:48 +0300
commite05bf277d6529b61bf74cf0b8b3e6efd994869a0 (patch)
treebacb3c051e2ae3debd9dedea9b0eb2efd094a961 /sql/ha_myisammrg.cc
parent5d9be4de24ab02436edbe2c75e96704a31c522b2 (diff)
downloadmariadb-git-e05bf277d6529b61bf74cf0b8b3e6efd994869a0.tar.gz
Final fixes for INSERT into MERGE tables.
Move MAX_BLOB_WIDTH to be global Added full support for unsigned BIGINT Fixed spelling errors
Diffstat (limited to 'sql/ha_myisammrg.cc')
-rw-r--r--sql/ha_myisammrg.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/sql/ha_myisammrg.cc b/sql/ha_myisammrg.cc
index 92c1372a7a1..88ae8d22f73 100644
--- a/sql/ha_myisammrg.cc
+++ b/sql/ha_myisammrg.cc
@@ -187,6 +187,11 @@ void ha_myisammrg::info(uint flag)
int ha_myisammrg::extra(enum ha_extra_function operation)
{
+ /* As this is just a mapping, we don't have to force the underlying
+ tables to be closed */
+ if (operation == HA_EXTRA_FORCE_REOPEN ||
+ operation == HA_EXTRA_PREPARE_FOR_DELETE)
+ return 0;
return myrg_extra(file,operation);
}
@@ -285,8 +290,7 @@ void ha_myisammrg::append_create_info(String *packet)
if (file->merge_insert_method != MERGE_INSERT_DISABLED)
{
packet->append(" INSERT_METHOD=",15);
- const char *tmp = get_type(&merge_insert_method,file->merge_insert_method);
- packet->append(tmp);
+ packet->append(get_type(&merge_insert_method,file->merge_insert_method-1));
}
packet->append(" UNION=(",8);
MYRG_TABLE *table,*first;