summaryrefslogtreecommitdiff
path: root/mysql-test/t/bdb-alter-table-1.test
diff options
context:
space:
mode:
authorSinisa@sinisa.nasamreza.org <>2002-08-28 16:41:23 +0300
committerSinisa@sinisa.nasamreza.org <>2002-08-28 16:41:23 +0300
commit54594ebca18eff6a4a699788c3f801bad1fb5063 (patch)
tree69f65dccef0752eb3d30c80ef25a24beec3d36cf /mysql-test/t/bdb-alter-table-1.test
parent8b637ac4063949fe4aaf0cd8d611a745eac09963 (diff)
downloadmariadb-git-54594ebca18eff6a4a699788c3f801bad1fb5063.tar.gz
Little but nasty bug with BDB and alter table
Diffstat (limited to 'mysql-test/t/bdb-alter-table-1.test')
-rw-r--r--mysql-test/t/bdb-alter-table-1.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/t/bdb-alter-table-1.test b/mysql-test/t/bdb-alter-table-1.test
new file mode 100644
index 00000000000..25a86cd92f6
--- /dev/null
+++ b/mysql-test/t/bdb-alter-table-1.test
@@ -0,0 +1,12 @@
+-- source include/have_bdb.inc
+
+#
+# Small basic test for ALTER TABLE bug ..
+#
+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);
+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;