- 03 Aug, 2005 1 commit
-
-
unknown authored
* Don't activate prelocking mode for evaluating procedure arguments when it is not necessary. * Code structure simplification and cleanup. * Cleanup in .test files mysql-test/r/sp-prelocking.result: Prelocking-free SPs, post-review fixes: Added comment, s/testdb/mysqltest/, fixed a wrong test (error wasnt reported because of known bug in mysqltestrun) mysql-test/r/sp-security.result: Don't drop the table we're not using. mysql-test/r/sp.result: Prelocking-free SPs, post-review fixes: remove redundant "drop table if exists t3" statements mysql-test/t/sp-prelocking.test: Prelocking-free SPs, post-review fixes: Added comment, s/testdb/mysqltest/, fixed a wrong test (error wasnt reported because of known bug in mysqltestrun) mysql-test/t/sp-security.test: Don't drop the table we're not using. mysql-test/t/sp.test: Prelocking-free SPs, post-review fixes: remove redundant "drop table if exists t3" statements sql/sp.cc: New, better defined, sp_get_prelocking_info() function to get info about statement prelocking options sql/sp.h: Prelocking-free SPs, post-review fixes: New, better defined, sp_get_prelocking_info() function to get info about statement prelocking options sql/sp_cache.h: Prelocking-free SPs, post-review fixes: Amended the comments sql/sp_head.cc: Prelocking-free SPs, post-review fixes: Amend the comments, simplify the code that attaches removes statement's prelocking tables. sql/sql_base.cc: Prelocking-free SPs, post-review fixes: * Use a better defined sp_get_prelocking_info() function to get info about statement prelocking options * Don't activate prelocked mode for evaluation of SP arguments that use tables but don't need prelocking. sql/sql_class.cc: Prelocking-free SPs, post-review fixes: Initialize THD members in the order they are declared.
-
- 30 Jul, 2005 1 commit
-
-
unknown authored
its body, but lets each statement to get/release its own locks. This allows a broader set of statements to be executed inside PROCEDUREs (but breaks replication) This patch should fix BUG#8072, BUG#8766, BUG#9563, BUG#11126 mysql-test/r/sp-security.result: Drop tables this test attempts to create mysql-test/r/sp-threads.result: Update test results mysql-test/r/sp.result: Disabled a test that triggers BUG#11986, cleanup used tables when tests start. mysql-test/r/view.result: Enabled a test case that now works with prelocking-free SPs mysql-test/t/sp-security.test: Drop tables this test attempts to create mysql-test/t/sp.test: Disabled a test that triggers BUG#11986, cleanup used tables when tests start. mysql-test/t/view.test: Enabled a test case that now works with prelocking-free SPs sql/handler.cc: Rename: thd->transaction.in_sub_stmt -> thd->in_sub_stmt sql/item_func.cc: Rename: thd->transaction.in_sub_stmt -> thd->in_sub_stmt sql/sp.cc: Non-prelocked SP execution: Added support for skipping prelocking of procedure body for "CALL proc(...)" statements. sql/sp.h: Non-prelocked SP execution: Added support for skipping prelocking of procedure body for "CALL proc(...)" statements. sql/sp_cache.h: Added comments sql/sp_head.cc: Non-prelocked SP execution: * Try to unlock tables after PROCEDURE arguments have been evaluated. * Make sp_lex_keeper be able to execute in 2 modes: A) when already in prelocked mode B) when its statement enters/leaves prelocked mode itself. sql/sp_head.h: Non-prelocked SP execution: Make sp_lex_keeper to additionally keep list of tables it needs to prelock when its statement enters/leaves prelocked mode on its own. sql/sql_base.cc: Non-prelocked SP execution: Make open_tables() to * detect 'CALL proc(...)' and not to do prelocking for procedure body statements. * Make lex->query_tables_last to point precisely to a boundary in lex->query_tables list where 'own' tables and views' tables end and added-for-prelocking tables begin. (it was not true before - view's tables could end up after query_tables_own_last) sql/sql_class.cc: Rename: thd->transaction.in_sub_stmt -> thd->in_sub_stmt sql/sql_class.h: Rename: thd->transaction.in_sub_stmt -> thd->in_sub_stmt sql/sql_lex.cc: Non-prelocked SP execution: More rigourous cleanup in st_lex::cleanup_after_one_table_open() sql/sql_parse.cc: Rename: thd->transaction.in_sub_stmt -> thd->in_sub_stmt, remove outdated comments sql/sql_trigger.h: Rename: thd->transaction.in_sub_stmt -> thd->in_sub_stmt
-
- 21 Jul, 2005 30 commits
-
-
unknown authored
-
unknown authored
into mysql.com:/home/gluh/MySQL/Merge/5.0 sql/share/charsets/Index.xml: Auto merged strings/ctype-latin1.c: Auto merged
-
unknown authored
into mysql.com:/usr/home/bar/mysql-4.1.b11216
-
unknown authored
into deer.(none):/home/hf/work/mysql-5.0.10839
-
unknown authored
into mysql.com:/home/jonas/src/mysql-4.1-push
-
unknown authored
removing extra empty line , strings/ctype-latin1.c: removing extra empty line ,
-
unknown authored
Index.xml: Fixing latin1 comment: it is actually cp1252, not iso-8859-1 ctype_latin1.result: changeing test results accordingly. ctype-latin1.c: Fixed to- and from-Unicode conversion maps for better Unicode round trip of undefined characters. strings/ctype-latin1.c: Bug#11216: 'show character set' describes latin1 incorrectly Fixed to- and from-Unicode conversion maps. mysql-test/r/ctype_latin1.result: changeing test results accordingly. sql/share/charsets/Index.xml: Fixing comment: iso-8859-1 -> cp1252
-
unknown authored
into deer.(none):/home/hf/work/mysql-5.0.10839
-
unknown authored
into mysql.com:/space/my/mysql-4.1
-
unknown authored
into mysql.com:/space/my/mysql-5.0
-
unknown authored
into deer.(none):/home/hf/work/mysql-5.0.10839 myisam/mi_create.c: Auto merged
-
unknown authored
into mysql.com:/home/jonas/src/mysql-4.1-push
-
unknown authored
into mysql.com:/space/my/mysql-5.0
-
unknown authored
into mysql.com:/home/jonas/src/mysql-5.0-push
-
unknown authored
into mysql.com:/home/jonas/src/mysql-5.0-push ndb/src/kernel/blocks/dbdict/Dbdict.cpp: Auto merged
-
unknown authored
into mysql.com:/home/jonas/src/mysql-5.0 ndb/src/kernel/blocks/dbdict/Dbdict.cpp: Auto merged
-
unknown authored
into mysql.com:/home/jonas/src/mysql-4.1-push
-
unknown authored
fix bug introduced in alter table
-
unknown authored
into mysql.com:/space/my/mysql-4.1
-
unknown authored
into mysql.com:/usr/home/bar/mysql-5.0 BitKeeper/deleted/.del-ctype-cp932.c: Auto merged
-
unknown authored
After backporting from 5.0 fix. There is no an extra argument in 4.1. strings/ctype-cp932.c: After backporting from 5.0 fix. There is no an extra argument in 4.1.
-
unknown authored
into mysql.com:/home/jonas/src/mysql-4.1-push
-
unknown authored
into mysql.com:/home/jonas/src/mysql-5.0-push sql/ha_ndbcluster.cc: Auto merged
-
unknown authored
into mysql.com:/home/jonas/src/mysql-5.0-push
-
unknown authored
into mysql.com:/space/my/mysql-4.1-build
-
unknown authored
-
unknown authored
-
unknown authored
into c-450ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-5.0 include/my_sys.h: Auto merged include/thr_lock.h: Auto merged sql/handler.cc: Auto merged sql-common/client.c: Auto merged client/mysqldump.c: Manual merge include/mysql.h: Manual merge libmysql/libmysql.c: Manual merge myisam/rt_split.c: Manual merge mysys/thr_lock.c: Manual merge sql/lock.cc: Manual merge sql/mysql_priv.h: Manual merge sql/sql_base.cc: Manual merge sql/sql_table.cc: Manual merge tests/mysql_client_test.c: Manual merge
-
unknown authored
-
unknown authored
into c-450ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-4.1 include/thr_lock.h: Auto merged mysys/thr_lock.c: Auto merged sql/lock.cc: Auto merged sql/mysql_priv.h: Auto merged sql/sql_base.cc: Auto merged sql/sql_table.cc: Manual merge after 4.0 fix
-
- 20 Jul, 2005 8 commits
-
-
unknown authored
into mysql.com:/space/my/mysql-5.0-build scripts/Makefile.am: Auto merged support-files/Makefile.am: Auto merged
-
unknown authored
support-files/MacOSX/Makefile.am: Auto merged scripts/Makefile.am: - manual merge support-files/Makefile.am: - manual merge
-
unknown authored
sql/lock.cc: Used flags immediately in call sql/mysql_priv.h: Added RTFC (short for remove_table_from_cache) for constants and used hex syntax to clarify it is bits in the flags sql/sql_base.cc: Use flags parameter immediately and use flags immediately in call Change to other variant of eternal loop variant sql/sql_table.cc: Use flags immediately in call
-
unknown authored
into mysql.com:/home/jimw/my/mysql-5.0-clean
-
unknown authored
sql/field.cc: Fix type of temporary variables for handling result of number_to_datetime().
-
unknown authored
they're not needed outside of the source tree (BUG#12057) - Removed some more unneeded files from "make install" along the way scripts/Makefile.am: - don't install the following files with "make install", as they are not needed to be installed: make_win_src_distribution, make_win_binary_distribution, make_binary_distribution, make_sharedlib_distribution support-files/MacOSX/Makefile.am: - don't install the Mac OS X support files when running "make install" - they're not needed outside of the source tree (BUG#12057) support-files/Makefile.am: - don't install the RPM spec files with "make install" - they are not needed outside of the source tree
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
-
unknown authored
- do not discover temporary files and make them visible
-