summaryrefslogtreecommitdiff
path: root/sql/unireg.cc
diff options
context:
space:
mode:
authoracurtis@xiphis.org <>2005-06-17 22:14:44 +0100
committeracurtis@xiphis.org <>2005-06-17 22:14:44 +0100
commit51dd521dfc912afb090cf0a91de6beff667f8e7c (patch)
tree2ba5a923fd8c126d9ccb26dc09b9d5d14f52b50f /sql/unireg.cc
parentc78b19768d9247ef5b1fd1cd3f15707a62df3a26 (diff)
downloadmariadb-git-51dd521dfc912afb090cf0a91de6beff667f8e7c.tar.gz
Bug#6877 MySQL should give an error if the requested table type is not available
Implement new SQL mode - NO_ENGINE_SUBSTITUTION
Diffstat (limited to 'sql/unireg.cc')
-rw-r--r--sql/unireg.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/unireg.cc b/sql/unireg.cc
index e8aad2fedd0..7f170b3ef87 100644
--- a/sql/unireg.cc
+++ b/sql/unireg.cc
@@ -113,7 +113,7 @@ bool mysql_create_frm(THD *thd, my_string file_name,
}
reclength=uint2korr(forminfo+266);
- if ((file=create_frm(file_name, reclength, fileinfo,
+ if ((file=create_frm(thd, file_name, reclength, fileinfo,
create_info, keys)) < 0)
{
my_free((gptr) screen_buff,MYF(0));