summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2004-05-15 11:57:40 +0300
committerunknown <monty@mysql.com>2004-05-15 11:57:40 +0300
commitc9667f114695bbf9dda1548b2c48a44b89c580b0 (patch)
treebc0f1775f58953cbf0e41e15b7cb5874821c8578 /tests
parentdd4be0244d57da44351d6788dc9e29d2bcb60ea3 (diff)
downloadmariadb-git-c9667f114695bbf9dda1548b2c48a44b89c580b0.tar.gz
Better fix for bug #3749 (bug in deleting automatic generated foreign keys)
mysql-test/r/func_encrypt.result: Update tests (left after sanjas last push) mysql-test/r/innodb.result: Added test for bug #3749 (bug in deleting automatic generated foreign keys) mysql-test/t/innodb.test: Added test for bug #3749 (bug in deleting automatic generated foreign keys) sql/sql_class.cc: Updated comment tests/client_test.c: Added missing mysql_stmt_close()
Diffstat (limited to 'tests')
-rw-r--r--tests/client_test.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/client_test.c b/tests/client_test.c
index ba70bcd7fa7..c244274a2e7 100644
--- a/tests/client_test.c
+++ b/tests/client_test.c
@@ -9614,7 +9614,6 @@ union distinct \
select sum(a) + 200, 1 from t1 \
group by b ");
check_stmt(stmt);
-
mysql_stmt_close(stmt);
stmt= mysql_simple_prepare(mysql,
@@ -9624,14 +9623,14 @@ union distinct \
select sum(a) + 200, 1 from t1 \
group by b ");
check_stmt(stmt);
+ mysql_stmt_close(stmt);
- stmt= mysql_simple_prepare(mysql,
+ stmt= mysql_simple_prepare(mysql,
"select sum(a) + 200, ? from t1 \
union distinct \
select sum(a) + 200, 1 from t1 \
group by b ");
check_stmt(stmt);
-
mysql_stmt_close(stmt);
rc= mysql_query(mysql, "DROP TABLE t1");