summaryrefslogtreecommitdiff
path: root/mysql-test/t/bdb-alter-table-1.test
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2002-09-03 15:44:25 +0300
committermonty@mashka.mysql.fi <>2002-09-03 15:44:25 +0300
commita01a0840dcb9fb7622e2c994ead985174df8daab (patch)
tree14062338992e5b5bda3d4e4cc498b6dd65a5a9c0 /mysql-test/t/bdb-alter-table-1.test
parenta5f9e95a932fb08d8998de2a49b7fc7b5c734b95 (diff)
downloadmariadb-git-a01a0840dcb9fb7622e2c994ead985174df8daab.tar.gz
Some trivial optimzations
Check if AND/OR expression can be NULL; Fixed bug in GROUP BY and-or-expression where expression could be NULL Bug fix for SHOW OPEN TABLES when user didn't have privilege to access all open tables. Better fix for ALTER TABLE on BDB tables.
Diffstat (limited to 'mysql-test/t/bdb-alter-table-1.test')
-rw-r--r--mysql-test/t/bdb-alter-table-1.test7
1 files changed, 4 insertions, 3 deletions
diff --git a/mysql-test/t/bdb-alter-table-1.test b/mysql-test/t/bdb-alter-table-1.test
index 25a86cd92f6..5861c2fe0bf 100644
--- a/mysql-test/t/bdb-alter-table-1.test
+++ b/mysql-test/t/bdb-alter-table-1.test
@@ -1,8 +1,7 @@
--- source include/have_bdb.inc
-
#
-# Small basic test for ALTER TABLE bug ..
+# Test of problem when shutting down mysqld at once after ALTER TABLE
#
+-- source include/have_bdb.inc
drop table if exists t1;
create table t1(objid BIGINT not null, tablename varchar(64), oid BIGINT not null, test BIGINT, PRIMARY KEY (objid), UNIQUE(tablename)) type=BDB;
insert into t1 values(1, 't1',4,9);
@@ -10,3 +9,5 @@ insert into t1 values(2, 'metatable',1,9);
insert into t1 values(3, 'metaindex',1,9 );
select * from t1;
alter table t1 drop column test;
+
+# Now we do a reboot and continue with the next test