diff options
author | ramil@mysql.com <> | 2005-07-26 12:18:35 +0500 |
---|---|---|
committer | ramil@mysql.com <> | 2005-07-26 12:18:35 +0500 |
commit | afb1ad8415ec912eda86c5ea8e1abc98088c89b8 (patch) | |
tree | 8b9fa06617c2acc9c5ecdd4d350efb672d2587c1 /mysql-test/r/strict.result | |
parent | bbd06a333a8df4c44c84312119237842780b18f8 (diff) | |
download | mariadb-git-afb1ad8415ec912eda86c5ea8e1abc98088c89b8.tar.gz |
a fix (bug #11546: Bad error message from inserting out of range values, SQL_MODE='tradition').
Diffstat (limited to 'mysql-test/r/strict.result')
-rw-r--r-- | mysql-test/r/strict.result | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/r/strict.result b/mysql-test/r/strict.result index 49f118b1d96..a742770ae9b 100644 --- a/mysql-test/r/strict.result +++ b/mysql-test/r/strict.result @@ -1258,3 +1258,10 @@ select * from t1; d 2000-10-01 drop table t1; +set @@sql_mode='traditional'; +create table t1(a bit(2)); +insert into t1 values(b'101'); +ERROR 22001: Data too long for column 'a' at row 1 +select * from t1; +a +drop table t1; |