diff options
author | unknown <venu@hundin.mysql.fi> | 2003-07-21 19:37:18 +0300 |
---|---|---|
committer | unknown <venu@hundin.mysql.fi> | 2003-07-21 19:37:18 +0300 |
commit | d1db6208537a93a90a26d07a4a5ae65bda969e51 (patch) | |
tree | 10619d7ae675b27c2d4e8ff5d2605c124694ab51 /mysql-test/t/warnings.test | |
parent | f22517e4eca9b00049bb9cf9176c9d3489dfe94e (diff) | |
download | mariadb-git-d1db6208537a93a90a26d07a4a5ae65bda969e51.tar.gz |
undo one row warning instead use sql_warnings=1
sql/sql_insert.cc:
Undo warnings for single row inserts
mysql-test/t/warnings.test:
undo one row warning instead use sql_warnings=1
mysql-test/r/warnings.result:
Fix result file
Diffstat (limited to 'mysql-test/t/warnings.test')
-rw-r--r-- | mysql-test/t/warnings.test | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/t/warnings.test b/mysql-test/t/warnings.test index 6991f9d9b2f..41aa02e925f 100644 --- a/mysql-test/t/warnings.test +++ b/mysql-test/t/warnings.test @@ -52,6 +52,9 @@ update t1 set d=c; create table t2(a tinyint NOT NULL, b char(3)); insert into t2 select b,c from t1; insert into t2(b) values('mysqlab'); +set sql_warnings=1; +insert into t2(b) values('mysqlab'); +set sql_warnings=0; drop table t1, t2; # |