- 13 Jul, 2005 1 commit
-
-
unknown authored
of stored routines definitions even if we already have some tables open and locked. To avoid deadlocks in this case we have to put certain restrictions on locking of mysql.proc table. This allows to use stored routines safely under LOCK TABLES without explicitly mentioning mysql.proc in the list of locked tables. It also fixes bug #11554 "Server crashes on statement indirectly using non-cached function". mysql-test/r/sp-error.result: Added test which checks that now we can read stored routines definitions under LOCK TABLES even if we have not locked mysql.proc explicitly. Also added check for restrictions which this ability puts on mysql.proc locking. Updated test for bug #9566 to correspond this new situation. mysql-test/r/sp-threads.result: Added test for bug #11554 "Server crashes on statement indirectly using non-cached function". mysql-test/t/sp-error.test: Added test which checks that now we can read stored routines definitions under LOCK TABLES even if we have not locked mysql.proc explicitly. Also added check for restrictions which this ability puts on mysql.proc locking. Updated test for bug #9566 to correspond this new situation. mysql-test/t/sp-threads.test: Added test for bug #11554 "Server crashes on statement indirectly using non-cached function". sql/lock.cc: get_lock_data(): To be able to open and lock for reading system tables like 'mysql.proc', when we already have some tables opened and locked, and avoid deadlocks we have to disallow write-locking of these tables with any other tables. sql/mysql_priv.h: open_table() has new parameter which allows to open table even if some-one has done a flush or holding namelock on it. sql/share/errmsg.txt: Added error message saying that one cannot write-lock some of system tables with any other tables. sql/sp.cc: open_proc_table_for_read()/close_proc_table(): Added functions to be able open and close mysql.proc table when we already have some tables open and locked. open_proc_table_for_update(): Added function to simplify opening of mysql.proc for updates. db_find_routine_aux()/db_find_routine()/db_update_routine()/... Moved responsibility for opening mysql.proc table from db_find_routine_aux() one level up, since this level knows better which type of table access for reading of for update it needs. sp_function_exists(): Removed unused function. sql/sp.h: sp_function_exists(): Removed unused function. sql/sql_base.cc: open_table(): Added new parameter which allows to open table even if some-one has done a flush or holding namelock on it. open_unireg_entry(): Mark 'mysql.proc' as a system table which has special restrictions on its locking, but thanks to them can be open and locked even if we already have some open and locked. sql/sql_class.cc: Moved THD members holding information about open and locked tables to separate Open_tables_state class to be able to save/restore this state easier. Added THD::push_open_tables_state()/pop_open_tables_state() methods for saving/restoring this state. sql/sql_class.h: Moved THD members holding information about open and locked tables to separate Open_tables_state class to be able to save/restore this state easier. Added THD::push_open_tables_state()/pop_open_tables_state() methods for saving/restoring this state. sql/sql_lex.cc: Removed LEX::proc_table member which was not really used. sql/sql_lex.h: Removed LEX::proc_table member which was not really used. sql/sql_table.cc: open_table() has new parameter which allows to open table even if some-one has done a flush or holding namelock on it. sql/table.h: Added TABLE_SHARE::system_table indicating that this table is system table like 'mysql.proc' and we want to be able to open and read-lock it even when we already have some tables open and locked (and because of this we have to put some restrictions on write locking it).
-
- 07 Jul, 2005 3 commits
-
-
unknown authored
into mysql.com:/home/jimw/my/mysql-5.0-clean VC++Files/tests/mysql_client_test.dsp: Merge with fix to link debug version against debug yassl library
-
unknown authored
sql/ha_federated.cc: Fix typo sql/sql_insert.cc: Fix typo
-
unknown authored
into mysql.com:/Users/kent/mysql/bk/mysql-5.0
-
- 06 Jul, 2005 33 commits
-
-
unknown authored
into mysql.com:/home/jimw/my/mysql-5.0-clean VC++Files/sql/mysqld.dsp: Auto merged sql/ha_federated.cc: Auto merged sql/sql_acl.cc: Auto merged sql/sql_insert.cc: Auto merged sql/sql_lex.cc: Auto merged sql/sql_lex.h: Auto merged sql/sql_union.cc: Auto merged sql/sql_yacc.yy: Auto merged sql/table.cc: Auto merged sql/item_strfunc.cc: SCCS merged
-
unknown authored
-
unknown authored
Corrected appending of .exe to Windows executables Don't alter read only @_ in foreach loop mysql-test-run.pl: Improved cleanup of binlogs Use separate log file for second master Corrected Windows paths to executables mysql-test/mysql-test-run.pl: Improved cleanup of binlogs Use separate log file for second master Corrected Windows paths to executables mysql-test/lib/mtr_misc.pl: Corrected appending of .exe to Windows executables Don't alter read only @_ in foreach loop
-
unknown authored
the new installer and GUI tools expect. (Bug #10419) Also, dynamically bind to GetSystemWindowsDirectory() so that it works on all platforms. (Bug #5354) mysys/default.c: Dynamically bind to GetSystemWindowsDirectory() or emulate it, and also look in directory above the executable to find my.cnf/ini on Windows.
-
unknown authored
into igor-inspiron.creware.com:/home/igor/dev/mysql-5.0-0
-
unknown authored
Added a test case for bug #6120. sql_view.cc: Fixed bug #6120. The SP cache must be invalidated when a view is altered. sql/sql_view.cc: Fixed bug #6120. The SP cache must be invalidated when a view is altered. mysql-test/t/view.test: Added a test case for bug #6120. mysql-test/r/view.result: Added a test case for bug #6120.
-
unknown authored
mysql-test/mysql-test-run.pl: Auto merged
-
unknown authored
Handle case where SHELL isn't set in Cygwin mysql_client_test.dsp: Put output into the "client_debug" and "client_release" directories VC++Files/tests/mysql_client_test.dsp: Put output into the "client_debug" and "client_release" directories mysql-test/mysql-test-run.pl: Handle case where SHELL isn't set in Cygwin
-
unknown authored
into mysql.com:/space/my/mysql-5.0
-
unknown authored
into mysql.com:/space/my/mysql-5.0-build
-
unknown authored
scripts/make_binary_distribution.sh: - manual merge
-
unknown authored
into mysql.com:/space/my/mysql-4.1-build scripts/make_binary_distribution.sh: Auto merged
-
unknown authored
all versions: added an option "--machine" that allows to override the autodetected architecture string (e.g. "i386") that becomes part of the binary package name with a different one - moved the removal of the BASE directory to the end of the make_binary_distribution script scripts/make_binary_distribution.sh: - backported and fixed a change from 5.0 for easier building of all versions: added an option "--machine" that allows to override the autodetected architecture string (e.g. "i386") that becomes part of the binary package name with a different one - moved the removal of the BASE directory to the end of the script
-
unknown authored
into mysql.com:/usr/local/home/marty/MySQL/mysql-5.0
-
unknown authored
-
unknown authored
into mysql.com:/usr/local/home/marty/MySQL/mysql-5.0 client/mysqldump.c: Auto merged
-
unknown authored
into mysql.com:/usr/local/home/marty/MySQL/mysql-5.0 client/mysqldump.c: Auto merged sql/ha_ndbcluster.h: Auto merged sql/ha_ndbcluster.cc: Merge
-
unknown authored
into mysql.com:/space/my/mysql-4.1
-
unknown authored
into hundin.mysql.fi:/home/marko/mysql-5.0-current
-
unknown authored
into mysql.com:/usr/home/ram/work/mysql-5.0
-
unknown authored
into mysql.com:/space/my/mysql-5.0
-
unknown authored
-
unknown authored
into mysql.com:/usr/home/ram/work/mysql-5.0 include/my_global.h: Auto merged
-
unknown authored
include/my_global.h: a fix (bug #11544: Use of missing rint() function on QNX). We have to explicitly specify std:: namespace to use rint() and isnan() functions in C++ scope on QNX due to an error in the /usr/include/math.h
-
unknown authored
add new table privileges Makefile.am: Include path to regex dir was accidently removed sql/Makefile.am: Include path to regex dir was accidently removed mysql-test/lib/init_db.sql: add new table privileges
-
unknown authored
into mysql.com:/Users/kent/mysql/bk/mysql-5.0
-
unknown authored
mysql-test/t/sp-error.test: Fixed error-codes after merging changes from the main tree.
-
unknown authored
into mysql.com:/space/my/mysql-5.0-build BitKeeper/etc/config: Auto merged
-
unknown authored
into mysql.com:/space/my/mysql-4.1
-
unknown authored
innobase/include/srv0srv.h: Define SRV_CONCURRENCY_THRESHOLD innobase/srv/srv0srv.c: Remove srv_thread_concurrency check from srv_conc_enter_innodb() and srv_conc_exit_innodb(), as the check is in the (only) caller of these functions, in ha_innodb.cc. srv_conc_force_enter_innodb(), srv_conc_force_exit_innodb(): Check for srv_thread_concurrency >= SRV_CONCURRENCY_THRESHOLD sql/ha_innodb.cc: Make use of SRV_CONCURRENCY_THRESHOLD
-
unknown authored
into mysql.com:/home/dlenev/src/mysql-5.0-bg11394 mysql-test/r/sp.result: Auto merged mysql-test/t/sp.test: Auto merged sql/sp_head.cc: Auto merged sql/sp_head.h: Auto merged mysql-test/r/sp-error.result: Manual merge. mysql-test/t/sp-error.test: Manual merge. sql/share/errmsg.txt: Manual merge.
-
unknown authored
mysql-test/r/mysqldump.result: Update results
-
unknown authored
into mysql.com:/home/jimw/my/mysql-5.0-clean mysql-test/r/view.result: Auto merged sql/sql_show.cc: Auto merged mysql-test/r/sql_mode.result: Merge mysql-test/t/sql_mode.test: Merge
-
- 05 Jul, 2005 3 commits
-
-
unknown authored
into mysql.com:/home/jimw/my/mysql-5.0-clean mysql-test/mysql-test-run.pl: Auto merged mysql-test/r/information_schema.result: Auto merged mysql-test/t/information_schema.test: Auto merged
-
unknown authored
into mysql.com:/home/jimw/my/mysql-5.0-clean mysql-test/r/query_cache.result: Auto merged sql/sql_acl.cc: Auto merged sql/sql_table.cc: Auto merged mysql-test/r/grant.result: Merge mysql-test/t/grant.test: Merge
-
unknown authored
into mysql.com:/Users/kent/mysql/bk/mysql-4.1-distcheck
-