diff options
author | ramil/ram@mysql.com/myoffice.izhnet.ru <> | 2006-12-06 16:32:12 +0400 |
---|---|---|
committer | ramil/ram@mysql.com/myoffice.izhnet.ru <> | 2006-12-06 16:32:12 +0400 |
commit | 0b5696b82b8c60ebdb70fd267f32479d0bb96ab5 (patch) | |
tree | 62042f84389ad435847995118b308b36d661ab43 /mysql-test/t/range.test | |
parent | d4595f3c57ae97e9251ee3b1680ad9fd6ddb218f (diff) | |
download | mariadb-git-0b5696b82b8c60ebdb70fd267f32479d0bb96ab5.tar.gz |
Fix for bug #22533: Traditional: Too-long bit value not rejected.
Problem: storing >=8 byte hexadecimal values we don't check data.
Fix: check if the data fits the {u}longlong range.
Diffstat (limited to 'mysql-test/t/range.test')
-rw-r--r-- | mysql-test/t/range.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/t/range.test b/mysql-test/t/range.test index 245178d7d4a..6d3b2fb52ee 100644 --- a/mysql-test/t/range.test +++ b/mysql-test/t/range.test @@ -400,8 +400,8 @@ select count(*) from t1 where x = 18446744073709551601; create table t2 (x bigint not null); -insert into t2(x) values (0xfffffffffffffff0); -insert into t2(x) values (0xfffffffffffffff1); +insert into t2(x) values (-16); +insert into t2(x) values (-15); select * from t2; select count(*) from t2 where x>0; select count(*) from t2 where x=0; |