- 13 Jul, 2005 20 commits
-
-
unknown authored
all tables suggested by prelocking algorithm. Added test for bug #11889 "Server crashes when dropping trigger using stored routine" (which was fixed by previous patch). mysql-test/r/trigger.result: Since we are using open_ltable() now to open table for trigger creation, code for error when we try to create trigger on view has changed to equivalent one. Added test for bug #11889 "Server crashes when dropping trigger using stored routine". mysql-test/t/trigger.test: Since we are using open_ltable() now to open table for trigger creation, code for error when we try to create trigger on view has changed to equivalent one. Added test for bug #11889 "Server crashes when dropping trigger using stored routine". sql/sql_trigger.cc: mysql_create_or_drop_trigger(): It is better to open only table for which we are going to create or drop trigger with open_ltable() since we don't really need working prelocking in this case.
-
unknown authored
into mysql.com:/home/dlenev/src/mysql-5.0-mysqlproc
-
unknown authored
indirectly using non-cached function". mysql-test/r/trigger.result: Fixed test case after fixing bug #11554 "Server crashes on statement indirectly using non-cached function". mysql-test/t/trigger.test: Fixed test case after fixing bug #11554 "Server crashes on statement indirectly using non-cached function".
-
unknown authored
into mysql.com:/home/bk/bXXX-mysql-5.0 mysql-test/r/rpl_deadlock.result: Auto merged mysql-test/t/rpl_deadlock.test: Auto merged
-
unknown authored
end of the test, causing subsequent tests to fail. mysql-test/r/rpl_deadlock.result: Result change. mysql-test/t/rpl_deadlock.test: Tables used in the test but not dropped.
-
unknown authored
-
unknown authored
into mysql.com:/home/dlenev/src/mysql-5.0-mysqlproc mysql-test/r/sp-error.result: Auto merged mysql-test/t/sp-error.test: Auto merged sql/mysql_priv.h: Auto merged sql/sp.h: Auto merged sql/sql_base.cc: Auto merged sql/sql_lex.cc: Auto merged sql/sql_lex.h: Auto merged sql/share/errmsg.txt: Manual merge. sql/sp.cc: Manual merge.
-
unknown authored
into mysql.com:/home/gluh/MySQL/Merge/5.0 mysql-test/r/func_str.result: Auto merged mysql-test/t/func_str.test: Auto merged sql/item_strfunc.cc: Auto merged
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
-
unknown authored
-
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).
-
unknown authored
added out of range handling
-
unknown authored
-
unknown authored
tests/mysql_client_test.c: a fix (bug #11808: Test case 'mysql_client_test' fails in assert 'double_data == o_double_data') cmp_double() introduced in order to avoid using long double registers (for local double vars).
-
unknown authored
-
unknown authored
into mysql.com:/home/bk/mysql-5.0
-
unknown authored
mysql-test/r/view.result: Auto merged mysql-test/t/view.test: Auto merged
-
unknown authored
into moonbone.local:/work/mysql-5.0-bug-11709 mysql-test/r/view.result: Auto merged mysql-test/t/view.test: Auto merged
-
unknown authored
into mysql.com:/home/bk/mysql-5.0 BitKeeper/etc/config: Auto merged include/my_global.h: Auto merged sql/des_key_file.cc: Auto merged sql/item_strfunc.cc: Auto merged sql/mysql_priv.h: Auto merged sql/net_serv.cc: Auto merged vio/vio.c: Auto merged vio/viosocket.c: Auto merged sql/log.cc: Manual merge sql/slave.cc: Manual merge
-
unknown authored
Fix for test case for bug#11709 mysql-test/t/view.test: Fix for test case for bug#11709 mysql-test/r/view.result: Fix for test case for bug#11709
-
- 12 Jul, 2005 20 commits
-
-
unknown authored
sql/item.cc: Auto merged sql/item.h: Auto merged mysql-test/r/view.result: SCCS merged mysql-test/t/view.test: SCCS merged
-
unknown authored
When searching column to sort on, item was compared to field under view column, but not the column itself. Because names of view column and underlaid field may differ, it leads to possibly choosing wrong column for sorting on. This patch makes Item_direct_view_ref::eq(Item *item,...) compare item's name with it's own name proir to comparing to *ref item. sql/item.cc: Fix bug #11709 View was ordered by wrong column sql/item.h: Fix bug #11709 View was ordered by wrong column mysql-test/t/view.test: Test case for bug #11709 View was ordered by wrong column. mysql-test/r/view.result: Test case for bug #11709 View was ordered by wrong column.
-
unknown authored
into mysql.com:/home/bk/mysql-5.0
-
unknown authored
into igor-inspiron.creware.com:/home/igor/mysql-5.0
-
unknown authored
into mysql.com:/M50/mysql-5.0
-
unknown authored
Expanded the test case for bug #6120 to cover DROP VIEW / CREATE VIEW scenario. sql_view.cc: Expanded the fix for bug #6120 to cover the case of DROP VIEW / CREATE_VIEW. sql/sql_view.cc: Expanded the fix for bug #6120 to cover the case of DROP VIEW / CREATE_VIEW. mysql-test/r/view.result: Expanded the test case for bug #6120 to cover DROP VIEW / CREATE VIEW scenario. mysql-test/t/view.test: Expanded the test case for bug #6120 to cover DROP VIEW / CREATE VIEW scenario.
-
unknown authored
into igor-inspiron.creware.com:/home/igor/mysql-5.0 sql/sql_base.cc: Auto merged mysql-test/r/view.result: Auto merged mysql-test/t/view.test: Auto merged
-
unknown authored
into mysql.com:/M50/mysql-5.0
-
unknown authored
into mysql.com:/home/psergey/mysql-5.0-bug11821-merge
-
unknown authored
sql/item.cc: Auto merged
-
unknown authored
sql/sql_base.cc: Auto merged mysql-test/r/view.result: SCCS merged mysql-test/t/view.test: SCCS merged
-
unknown authored
New item created in find_field_in_table() to fix view's item, was created without taking into account original item's alias. This patch checks if alias is set to the original item and if so sets it to newly created item. sql/sql_base.cc: Fix bug#11399 Alias wasn't set on view column mysql-test/t/view.test: Test case for bug#11399 Use an alias in a select statement on a view mysql-test/r/view.result: Test case for bug#11399 Use an alias in a select statement on a view
-
unknown authored
include/my_global.h: set SOCKET_EWOULDBLOCK to the proper windows def WSAEWOULDBLOCK sql/net_serv.cc: fixed typo with using 3 leading underscores instead of 2 vio/vio.c: fixed typo with using 3 leading underscores instead of 2 vio/viosocket.c: fixed typo with using 3 leading underscores instead of 2
-
unknown authored
into mysql.com:/home/jimw/my/mysql-4.1-clean
-
unknown authored
into mysql.com:/home/jimw/my/mysql-4.1-clean sql/item_strfunc.cc: Auto merged BitKeeper/etc/config: Resolve conflict
-
unknown authored
into mysql.com:/home/bk/b6987-mysql-4.1
-
unknown authored
into mysql.com:/M41/mysql-4.1
-
unknown authored
into mysql.com:/home/bk/b6987-mysql-4.1
-
unknown authored
into mysql.com:/home/psergey/mysql-4.1-bug11821
-
unknown authored
MAX(field). mysql-test/r/subselect.result: Testcase for BUG#11821 mysql-test/t/subselect.test: Testcase for BUG#11821
-