summaryrefslogtreecommitdiff
path: root/mysql-test/suite/maria/r
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2011-06-27 12:48:53 +0300
committerMichael Widenius <monty@askmonty.org>2011-06-27 12:48:53 +0300
commit2cfbfbac1325b49c14ef0ed76f1decc27eaac342 (patch)
treed5137a0d3d40d124c1736f477cfcc4de4f0ec476 /mysql-test/suite/maria/r
parent77f8874c8bea09e743f4747dc84a1a0a4a376877 (diff)
parent6b2438c017c23fa4bd92b17ec07bbeb8011862b9 (diff)
downloadmariadb-git-2cfbfbac1325b49c14ef0ed76f1decc27eaac342.tar.gz
Automatic merge
Diffstat (limited to 'mysql-test/suite/maria/r')
-rw-r--r--mysql-test/suite/maria/r/maria.result11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/suite/maria/r/maria.result b/mysql-test/suite/maria/r/maria.result
index 03ccc9645eb..63b354952ca 100644
--- a/mysql-test/suite/maria/r/maria.result
+++ b/mysql-test/suite/maria/r/maria.result
@@ -22,6 +22,17 @@ CHECK TABLE t1;
Table Op Msg_type Msg_text
test.t1 check status OK
drop table t1;
+create table t1 (a int primary key auto_increment) engine=aria;
+insert into t1 values (1);
+update t1 set a=0 where a=1;
+check table t1;
+Table Op Msg_type Msg_text
+test.t1 check warning Found row where the auto_increment column has the value 0
+test.t1 check status OK
+select * from t1;
+a
+0
+drop table t1;
create table t1 (a tinyint not null auto_increment, b blob not null, primary key (a));
check table t1;
Table Op Msg_type Msg_text