summaryrefslogtreecommitdiff
path: root/sql/ha_innobase.cc
diff options
context:
space:
mode:
authormonty@tik.mysql.fi <>2001-03-21 20:13:46 +0200
committermonty@tik.mysql.fi <>2001-03-21 20:13:46 +0200
commit3c48448042457edca9c7559d9a6bed24485ddc86 (patch)
tree9acce646cec7017f770114fcd46d65bd4d8e0bf9 /sql/ha_innobase.cc
parent6f9a73a1bae03ccf3e26371b453e31feb72fd2da (diff)
downloadmariadb-git-3c48448042457edca9c7559d9a6bed24485ddc86.tar.gz
Split setup_fields to setup_tables and setup_fields
Fixed problem with UPDATE TABLE when keys wheren't always used.
Diffstat (limited to 'sql/ha_innobase.cc')
-rw-r--r--sql/ha_innobase.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_innobase.cc b/sql/ha_innobase.cc
index 143e207a71c..b36d1ca1ffc 100644
--- a/sql/ha_innobase.cc
+++ b/sql/ha_innobase.cc
@@ -2231,7 +2231,7 @@ ha_innobase::create(
/* Create the table definition in Innobase */
- if (error = create_table_def(trx, form, norm_name)) {
+ if ((error = create_table_def(trx, form, norm_name))) {
trx_commit_for_mysql(trx);