diff options
author | Evgeny Potemkin <epotemkin@mysql.com> | 2009-12-11 16:08:29 +0300 |
---|---|---|
committer | Evgeny Potemkin <epotemkin@mysql.com> | 2009-12-11 16:08:29 +0300 |
commit | 684c7aba09583e54c5272cc3b0eec207afc87a39 (patch) | |
tree | 4941c8c9fc8bcbe072243407aabb5fdebe23f9f6 /mysql-test/t/select.test | |
parent | 360b2ff4ce5a09016f9e68a9ac9b790be25cac1b (diff) | |
parent | 1285ecd4688295c0aae28b314ef8a4c9ae3b6c14 (diff) | |
download | mariadb-git-684c7aba09583e54c5272cc3b0eec207afc87a39.tar.gz |
Auto-merged fix for bug#49489.
Diffstat (limited to 'mysql-test/t/select.test')
-rw-r--r-- | mysql-test/t/select.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/select.test b/mysql-test/t/select.test index 116a09f5d00..61a694599ed 100644 --- a/mysql-test/t/select.test +++ b/mysql-test/t/select.test @@ -4014,4 +4014,13 @@ ORDER BY pk; DROP TABLE t1; +--echo # +--echo # Bug#49489 Uninitialized cache led to a wrong result. +--echo # +CREATE TABLE t1(c1 DOUBLE(5,4)); +INSERT INTO t1 VALUES (9.1234); +SELECT * FROM t1 WHERE c1 < 9.12345; +DROP TABLE t1; +--echo # End of test for bug#49489. + --echo End of 5.1 tests |