mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 05:52:27 +01:00
fe5bcb475c
- revid:sp1r-svoj@mysql.com/june.mysql.com-20080324111246-00461 - revid:sp1r-svoj@mysql.com/june.mysql.com-20080414125521-40866 BUG#35274 - merge table doesn't need any base tables, gives error 124 when key accessed SELECT queries that use index against a merge table with empty underlying tables list may return with error "Got error 124 from storage engine". The problem was that wrong error being returned. mysql-test/r/merge.result: Backport of - revid:sp1r-svoj@mysql.com/june.mysql.com-20080324111246-00461 - revid:sp1r-svoj@mysql.com/june.mysql.com-20080414125521-40866 A test case for BUG#35274. Modified a test case according to fix for BUG#35274. Key based reads are now allowed for merge tables with no underlying tables defined. mysql-test/t/merge.test: Backport of - revid:sp1r-svoj@mysql.com/june.mysql.com-20080324111246-00461 - revid:sp1r-svoj@mysql.com/june.mysql.com-20080414125521-40866 A test case for BUG#35274. Modified a test case according to fix for BUG#35274. Key based reads are now allowed for merge tables with no underlying tables defined. storage/myisammrg/myrg_queue.c: Backport of - revid:sp1r-svoj@mysql.com/june.mysql.com-20080324111246-00461 - revid:sp1r-svoj@mysql.com/june.mysql.com-20080414125521-40866 Return "end of file" error instead of "wrong index" error when we got a merge table with empty underlying tables list. In 5.1 we cannot rely on info->open_tables value when checking if a merge table has no underlying tables defined. Use info->tables instead. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
ha_myisammrg.cc | ||
ha_myisammrg.h | ||
Makefile.am | ||
myrg_close.c | ||
myrg_create.c | ||
myrg_def.h | ||
myrg_delete.c | ||
myrg_extra.c | ||
myrg_info.c | ||
myrg_locking.c | ||
myrg_open.c | ||
myrg_panic.c | ||
myrg_queue.c | ||
myrg_range.c | ||
myrg_records.c | ||
myrg_rfirst.c | ||
myrg_rkey.c | ||
myrg_rlast.c | ||
myrg_rnext.c | ||
myrg_rnext_same.c | ||
myrg_rprev.c | ||
myrg_rrnd.c | ||
myrg_rsame.c | ||
myrg_static.c | ||
myrg_update.c | ||
myrg_write.c | ||
plug.in |