summaryrefslogtreecommitdiff
path: root/tests/mysql_client_test.c
diff options
context:
space:
mode:
authorSergey Petrunia <sergefp@mysql.com>2008-12-19 16:38:39 +0300
committerSergey Petrunia <sergefp@mysql.com>2008-12-19 16:38:39 +0300
commit8cecb71d1d24da8260e996d02be171e02d495bbc (patch)
treed440dced3e9e4d9ef547b43b3da7faccb0baddaf /tests/mysql_client_test.c
parent8c9e7a64c55ecbb8da837f932203a697cac04c55 (diff)
downloadmariadb-git-8cecb71d1d24da8260e996d02be171e02d495bbc.tar.gz
BUG#40974: Incorrect query results when using clause evaluated using range check
- QUICK_INDEX_MERGE_SELECT deinitializes its rnd_pos() scan when it reaches EOF, but we need to make the deinitialization in QUICK_INDEX_MERGE_SELECT destructor also. This is because certain execution strategies can stop scanning without reaching EOF, then then try to do a full table scan on this table. Failure to deinitialize caused the full scan to use (already empty) table->sort and produce zero records. mysql-test/r/index_merge.result: BUG#40974: Incorrect query results when using clause evaluated using range check - Testcase mysql-test/t/index_merge.test: BUG#40974: Incorrect query results when using clause evaluated using range check - Testcase
Diffstat (limited to 'tests/mysql_client_test.c')
0 files changed, 0 insertions, 0 deletions