summaryrefslogtreecommitdiff
path: root/mysql-test/t/ndb_transaction.test
diff options
context:
space:
mode:
authormonty@mysql.com <>2004-08-31 14:35:04 +0300
committermonty@mysql.com <>2004-08-31 14:35:04 +0300
commit6adaff23a4b2170f59dda27cd5b897adb40c2542 (patch)
tree0b5dee6e825afda907f8333d42fa031460fb3597 /mysql-test/t/ndb_transaction.test
parentceba1429b731a0712f49bcd43f70aabc41e8094f (diff)
downloadmariadb-git-6adaff23a4b2170f59dda27cd5b897adb40c2542.tar.gz
Review of new pushed code (Indentation fixes and simple optimizations)
Use 'mysqltest' as test database instead of test_$1 or test1,test2 to not accidently delete an important database Safety fix for mailformed MERGE files
Diffstat (limited to 'mysql-test/t/ndb_transaction.test')
-rw-r--r--mysql-test/t/ndb_transaction.test9
1 files changed, 4 insertions, 5 deletions
diff --git a/mysql-test/t/ndb_transaction.test b/mysql-test/t/ndb_transaction.test
index 9d06d949b2e..f8ed22207ea 100644
--- a/mysql-test/t/ndb_transaction.test
+++ b/mysql-test/t/ndb_transaction.test
@@ -2,7 +2,7 @@
--disable_warnings
DROP TABLE IF EXISTS t1,t2,t3,t4,t5,t6,t7;
-drop database if exists test2;
+drop database if exists mysqltest;
--enable_warnings
#
@@ -263,8 +263,8 @@ CREATE TABLE t1 (
attr1 INT NOT NULL
) ENGINE=ndbcluster;
-create database test2;
-use test2;
+create database mysqltest;
+use mysqltest;
CREATE TABLE t2 (
a bigint unsigned NOT NULL PRIMARY KEY,
@@ -292,7 +292,6 @@ select count(*) from test.t1;
select count(*) from t2;
drop table test.t1, t2;
-
-drop database test2;
+drop database mysqltest;