summaryrefslogtreecommitdiff
path: root/mysql-test/t/ndb_alter_table.test
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.(none)>2004-09-07 10:56:07 +0000
committerunknown <tomas@poseidon.(none)>2004-09-07 10:56:07 +0000
commitb8f24215a00ebacf5fe33b2b77c8274d592e85c3 (patch)
tree0739fd902c87f976fe4209d8543af9d08a31419e /mysql-test/t/ndb_alter_table.test
parent6204a73cf9f1e6028f600d9b673f0af2a4d6aa38 (diff)
parentd3650df62eb176d60c01950986ff8eb455bcb36b (diff)
downloadmariadb-git-b8f24215a00ebacf5fe33b2b77c8274d592e85c3.tar.gz
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into poseidon.(none):/home/tomas/mysql-4.1-ndb
Diffstat (limited to 'mysql-test/t/ndb_alter_table.test')
-rw-r--r--mysql-test/t/ndb_alter_table.test7
1 files changed, 5 insertions, 2 deletions
diff --git a/mysql-test/t/ndb_alter_table.test b/mysql-test/t/ndb_alter_table.test
index e2fbf829cc0..6057eff4fca 100644
--- a/mysql-test/t/ndb_alter_table.test
+++ b/mysql-test/t/ndb_alter_table.test
@@ -53,7 +53,7 @@ DROP TABLE IF EXISTS t2;
--enable_warnings
create table t2 (a int NOT NULL PRIMARY KEY) engine=myisam;
-let $1=15001;
+let $1=12001;
disable_query_log;
while ($1)
{
@@ -62,7 +62,10 @@ while ($1)
}
enable_query_log;
alter table t2 engine=ndbcluster;
-select count(*) from t2;
+--error 1297
+delete from t2;
+#to make sure we do a full table scan
+select count(*) from t2 where a+0 > 0;
truncate table t2;
select count(*) from t2;
drop table t2;