1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Bug#49489: Uninitialized cache led to a wrong result.

Merge the fix from 5.1-bugteam to 5.1-main
This commit is contained in:
Georgi Kodinov
2009-12-15 10:54:53 +02:00
parent 915cc3e9b0
commit 838adcf2ff
3 changed files with 20 additions and 1 deletions

View File

@ -4609,4 +4609,14 @@ HAVING v <= 't'
ORDER BY pk;
v
DROP TABLE t1;
#
# Bug#49489 Uninitialized cache led to a wrong result.
#
CREATE TABLE t1(c1 DOUBLE(5,4));
INSERT INTO t1 VALUES (9.1234);
SELECT * FROM t1 WHERE c1 < 9.12345;
c1
9.1234
DROP TABLE t1;
# End of test for bug#49489.
End of 5.1 tests