summaryrefslogtreecommitdiff
path: root/mysql-test/suite
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2011-05-08 12:37:38 +0300
committerMichael Widenius <monty@askmonty.org>2011-05-08 12:37:38 +0300
commit28f708e1e3e87d135d23656804d96638439683fd (patch)
tree51f403475753659cbaea86ef859beae0f84f876a /mysql-test/suite
parent4249382a650adb1cf56f40ebeb314ec6d27231db (diff)
parent6b8788e425f649bcdb0f882c81b081795005fbe7 (diff)
downloadmariadb-git-28f708e1e3e87d135d23656804d96638439683fd.tar.gz
Automatic merge with 5.1
Diffstat (limited to 'mysql-test/suite')
-rw-r--r--mysql-test/suite/pbxt/r/range.result2
-rw-r--r--mysql-test/suite/pbxt/t/range.test3
2 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/suite/pbxt/r/range.result b/mysql-test/suite/pbxt/r/range.result
index a8e97d1c725..fb7ce4b4049 100644
--- a/mysql-test/suite/pbxt/r/range.result
+++ b/mysql-test/suite/pbxt/r/range.result
@@ -362,6 +362,7 @@ name char(1) not null,
uid int not null,
primary key (id),
index uid_index (uid));
+begin;
insert into t1(id, uid, name) values(1, 0, ' ');
insert into t1(uid, name) values(0, ' ');
insert into t2(uid, name) select uid, name from t1;
@@ -410,6 +411,7 @@ insert into t2(uid, name) values
insert into t1(uid, name) select uid, name from t2 order by uid;
delete from t2;
insert into t2(id, uid, name) select id, uid, name from t1;
+commit;
select count(*) from t1;
count(*)
1026
diff --git a/mysql-test/suite/pbxt/t/range.test b/mysql-test/suite/pbxt/t/range.test
index 8d02089ee1b..0c0349c49c9 100644
--- a/mysql-test/suite/pbxt/t/range.test
+++ b/mysql-test/suite/pbxt/t/range.test
@@ -322,6 +322,7 @@ create table t2 (
primary key (id),
index uid_index (uid));
+begin;
insert into t1(id, uid, name) values(1, 0, ' ');
insert into t1(uid, name) values(0, ' ');
@@ -375,6 +376,8 @@ insert into t1(uid, name) select uid, name from t2 order by uid;
delete from t2;
insert into t2(id, uid, name) select id, uid, name from t1;
+commit;
+
select count(*) from t1;
select count(*) from t2;