- 23 Jun, 2005 12 commits
-
-
unknown authored
We need every instruction to have its own arena, because we want to track instruction's state (INITIALIZED_FOR_SP -> EXECUTED). Because of `if' statements and other conditional instructions used in stored procedures, not every instruction of a stored procedure gets executed during the first (or even subsequent) execution of the procedure. So it's better if we track the execution state of every instruction independently. All instructions of a given procedure now also share sp_head's mem_root, but keep their own free_list. This simplifies juggling with free Item lists in sp_head::execute. - free_items() moved to be a member of Query_arena. - logic of 'backup_arena' debug member of Query_arena has been changed to support multi-backups. Until now, TRUE 'backup_arena' meant that there is exactly one active backup of the THD arena. Now it means simply that the arena is used for backup, so that we can't accidentally overwrite an existing backup. This allows doing multiple backups, e.g. in sp_head::execute and Cursor::fetch, when THD arena is already backed up but we want to set yet another arena (usually the 'permanent' arena, to save permanent transformations/optimizations of a parsed tree). sql/sp_head.cc: - use Query_arena support in sp_head::execute() as now sp_instr inherites from it. sql/sp_head.h: - inherite sp_instr from Query_arena sql/sql_class.cc: - changed the principle of Query_arena::backup_arena; free_items is now a member of Query_arena. sql/sql_class.h: - changed the principle of Query_arena::backup_arena; free_items is now a member of Query_arena. sql/sql_prepare.cc: free_items() is now a member of Query_arena. sql/sql_select.cc: free_items() now automatically sets free_list to zero.
-
unknown authored
into mysql.com:/home/svoj/devel/mysql/mysql-5.0.9
-
unknown authored
into rurik.mysql.com:/home/igor/mysql-5.0
-
unknown authored
Identation correction. sql/opt_range.cc: Identation correction.
-
unknown authored
into mysql.com:/space/my/mysql-5.0-build
-
unknown authored
into rurik.mysql.com:/home/igor/dev/mysql-5.0-0 sql/opt_range.cc: Auto merged
-
unknown authored
into mysql.com:/home/psergey/mysql-5.0-back-vac-look sql/opt_range.cc: Auto merged
-
unknown authored
Fix for "multiple definition of __cxa_pure_virtual" link failure when compiling with icc. extra/yassl/taocrypt/include/runtime.hpp: Do not define __cxa_pure_virtual for ICC. Fixes "multiple definition of __cxa_pure_virtual" link failure on production.
-
unknown authored
into mysql.com:/space/my/mysql-5.0.8-clone
-
unknown authored
-
unknown authored
BitKeeper/deleted/.del-generate-flag-images~f77476753fff8186: Delete: Docs/Support/generate-flag-images Docs/Makefile.am: - fixed node names for the new info file Docs/Support/generate-text-files.pl: - stop printing if the index was reached
-
unknown authored
Fixed buf #11487. Added a call of QUICK_RANGE_SELECT::init to the QUICK_RANGE_SELECT::reset method. Without it the second evaluation of a subquery employing the range access failed. subselect.result, subselect.test: Added a test case for bug #11487. mysql-test/t/subselect.test: Added a test case for bug #11487. mysql-test/r/subselect.result: Added a test case for bug #11487. sql/opt_range.cc: Fixed buf #11487. Added a call of QUICK_RANGE_SELECT::init to the QUICK_RANGE_SELECT::reset method. Without it the second evaluation of a subquery employing the range access failed.
-
- 22 Jun, 2005 28 commits
-
-
unknown authored
into mdk10.(none):/home/reggie/bk/mysql-5.0-base mysys/my_access.c: Auto merged
-
unknown authored
into moonbone.local:/work/mysql-5.0-merge
-
unknown authored
Fix for bugfix #9728 merge sql/sql_base.cc: Fix for bugfix #9728 merge mysql-test/t/insert_update.test: Fix for bugfix #9728 merge mysql-test/r/insert_update.result: Fix for bugfix #9728 merge
-
unknown authored
mysql-test/r/insert_select.result: Auto merged mysql-test/t/insert_select.test: Auto merged sql/item.cc: Auto merged sql/item.h: Auto merged sql/sql_base.cc: Manual merge sql/sql_parse.cc: Manual merge sql/sql_yacc.yy: Manual merge
-
unknown authored
into radha.local:/Volumes/disk2s1/mysql-5.0
-
unknown authored
sql/sql_class.cc: Statement constructor for the case when it's used for backup only was removed. sql/sql_class.h: Remove THD::stmt_backup and simplify Statement constructors. sql/sql_prepare.cc: Use an object on stack instead of THD::stmt_backup sql/sql_select.cc: Use an object on stack instead of THD::stmt_backup
-
unknown authored
into mdk10.(none):/home/reggie/bk/bug9148
-
unknown authored
into moonbone.local:/work/mysql-4.1-bug-8147
-
unknown authored
Fix for fix for bug#9728 decreased functionality in "on duplicate key update" Have to return false to set flag for whole expression. sql/item.h: Fix for fix for bug#9728 decreased functionality in "on duplicate key update" Have to return false to set flag for whole expression.
-
unknown authored
into radha.local:/Volumes/disk2s1/mysql-5.0
-
unknown authored
sql/ha_federated.cc: Added auto-reconnect to allow foreign server restarts.
-
unknown authored
Add a slave when running the federated test case mysql-test/lib/mtr_cases.pl: Add a slave when running the federated test case
-
unknown authored
into mysql.com:/Users/emurphy/src/bk-clean/mysql-5.0 mysql-test/mysql-test-run.pl: Auto merged
-
unknown authored
into mysql.com:/Users/emurphy/src/bk-clean/mysql-5.0 mysql-test/mysql-test-run.pl: Auto merged
-
unknown authored
Bug#11481, set charset directory to mysqlbinlog mysql-test/mysql-test-run.pl: Bug#11481, set charset directory to mysqlbinlog
-
unknown authored
into mysql.com:/Users/emurphy/src/bk-clean/mysql-5.0 mysql-test/mysql-test-run.pl: Auto merged sql/sql_parse.cc: SCCS merged
-
unknown authored
into mysql.com:/Users/kent/mysql/bk/mysql-5.0 mysql-test/mysql-test-run.pl: Auto merged
-
unknown authored
into mysql.com:/Users/emurphy/src/bk-clean/mysql-5.0
-
unknown authored
into mysql.com:/home/psergey/mysql-5.0-bug8441
-
unknown authored
into mysql.com:/Users/emurphy/src/bk-clean/mysql-5.0 sql/sql_parse.cc: Manual merge
-
unknown authored
mysql-test/r/insert_select.result: Auto merged mysql-test/t/insert_select.test: Auto merged
-
unknown authored
into mysql.com:/home/psergey/mysql-5.0-bug8441
-
unknown authored
into mysql.com:/mnt/archive/svoj/mysql/mysql-5.0
-
unknown authored
configure.in: Move AR guessing to misc.m4.
-
unknown authored
into hundin.mysql.fi:/home/marko/mysql-5.0-current
-
unknown authored
into mysql.com:/opt/local/work/mysql-5.0-10736-new sql/sql_class.cc: Auto merged sql/sql_select.cc: Auto merged
-
unknown authored
into mysql.com:/space/my/mysql-4.1
-
unknown authored
into mysql.com:/home/svoj/devel/mysql/yassl-mysql-5.0
-