- 19 Jun, 2007 3 commits
-
-
unknown authored
Problem: we use 'sleep 2; wait_for_slave_to_stop;' to reach some slave's states which is buggy, wasteful of time, platform dependant etc. Fix: use include/wait_for_slave_***.inc's where it's possible instead. mysql-test/include/wait_for_slave_io_to_stop.inc: Fix for bug #28772: rpl_row_until fails in pushbuild - changed to use query_vertical so that it is easier to read the output. mysql-test/include/wait_for_slave_sql_to_stop.inc: Fix for bug #28772: rpl_row_until fails in pushbuild - changed to use query_vertical so that it is easier to read the output. mysql-test/include/wait_for_slave_to_start.inc: Fix for bug #28772: rpl_row_until fails in pushbuild - changed to use query_vertical so that it is easier to read the output. mysql-test/include/wait_for_slave_to_stop.inc: Fix for bug #28772: rpl_row_until fails in pushbuild - changed to use query_vertical so that it is easier to read the output. mysql-test/t/rpl_row_until.test: Fix for bug #28772: rpl_row_until fails in pushbuild - 'sleep 2; wait_for_slave_to_stop;' replaced with sourcing include/wait_for_slave_sql_to_stop.inc to be more predictable. mysql-test/t/rpl_stm_until.test: Fix for bug #28772: rpl_row_until fails in pushbuild - 'sleep 2; wait_for_slave_to_stop;' replaced with sourcing include/wait_for_slave_sql_to_stop.inc to be more predictable.
-
unknown authored
Additional edits to the 5.0 ChangeSet|1.2519 that are necessary for the fix to work with the new code structure in 5.1. sql/item_create.cc: Added line to prevent a query that contains a UDF from being cached. In 5.0 this was handled in sql_yacc.cc but now the the individual Create_func builders will be responsible for clearing the flag.
-
unknown authored
into damien-katzs-computer.local:/Users/dkatz/mysql51 mysql-test/r/udf.result: Auto merged mysql-test/t/udf.test: Auto merged sql/sql_yacc.yy: This line that marks the expression as unsafe for caching now belongs in the create() methods for builder objects inheriting from Create_func.
-
- 18 Jun, 2007 13 commits
-
-
unknown authored
Fixed runtime to no longer allow the caching of queries with UDF calls. mysql-test/r/udf.result: Added a test that turns on caching and checks that querys calling UDFs don't get cached. mysql-test/t/udf.test: Added a test that turns on caching and checks that querys calling UDFs don't get cached. sql/sql_yacc.yy: Fixed code to set safe_to_cache_query=0 regardless if the function call is a UDF or SP. Where it was placed previously -- at the very end of the else testing for UDFs -- it only executed the statement if the function call was a stored procedure call.
-
unknown authored
into maint1.mysql.com:/data/localhome/tsmith/bk/maint/51 configure.in: Auto merged
-
unknown authored
into maint1.mysql.com:/data/localhome/tsmith/bk/maint/50 configure.in: Auto merged
-
unknown authored
into maint1.mysql.com:/data/localhome/tsmith/bk/maint/51 sql/lock.cc: Auto merged sql/mysql_priv.h: Auto merged
-
unknown authored
into maint1.mysql.com:/data/localhome/tsmith/bk/maint/50
-
unknown authored
into maint1.mysql.com:/data/localhome/tsmith/bk/maint/41 configure.in: Auto merged
-
unknown authored
FLUSH LOGS should ignore SET GLOBAL READ_ONLY. sql/lock.cc: Sdditional fix-up for bug #26380: LOCK TABLES + FLUSH LOGS causes deadlock - ignore SET GLOBAL READ_ONLY if MYSQL_LOCK_IGNORE_GLOBAL_READ_ONLY is set. sql/mysql_priv.h: Sdditional fix-up for bug #26380: LOCK TABLES + FLUSH LOGS causes deadlock - MYSQL_LOCK_IGNORE_GLOBAL_READ_ONLY added. sql/sql_base.cc: Sdditional fix-up for bug #26380: LOCK TABLES + FLUSH LOGS causes deadlock - ignore SET GLOBAL READ_ONLY as well if called form a logger.
-
unknown authored
into mysql.com:/home/svoj/devel/mysql/merge/mysql-5.1-engines
-
unknown authored
into mysql.com:/home/svoj/devel/mysql/merge/mysql-5.1-engines configure.in: Auto merged
-
unknown authored
into mysql.com:/home/svoj/devel/mysql/merge/mysql-5.0-engines
-
unknown authored
into pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1
-
unknown authored
into pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1 configure.in: Auto merged
-
unknown authored
into pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0
-
- 17 Jun, 2007 24 commits
-
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-engines
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-engines
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-engines
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb mysql-test/t/ndb_restore.test: Auto merged mysql-test/r/ndb_restore.result: null merge
-
unknown authored
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-engines
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-engines sql/handler.h: Auto merged
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-engines sql/handler.h: Auto merged
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-engines
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-engines sql/ha_ndbcluster.cc: Auto merged sql/ha_ndbcluster.h: Auto merged sql/ha_ndbcluster_binlog.cc: Auto merged
-
unknown authored
- do not print 701 dictionary busy error sql/ha_ndbcluster.cc: save the ndb error such that it can be traced sql/ha_ndbcluster.h: save the ndb error such that it can be traced sql/ha_ndbcluster_binlog.cc: use the traced ndb error to determine if it is an error that should be printed
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-engines
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb mysql-test/r/ndb_restore.result: null merge mysql-test/t/ndb_restore.test: null merge
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-engines
-
unknown authored
- correct test and result file
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-engines
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-engines extra/perror.c: Auto merged mysql-test/t/ndb_basic.test: Auto merged mysql-test/t/ndb_insert.test: Auto merged sql/ha_ndbcluster.cc: Auto merged sql/handler.cc: Auto merged sql/handler.h: Auto merged sql/mysqld.cc: Auto merged storage/ndb/src/common/transporter/Packer.cpp: Auto merged storage/ndb/src/common/transporter/TCP_Transporter.hpp: Auto merged storage/ndb/src/common/transporter/TransporterRegistry.cpp: Auto merged storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp: Auto merged storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp: Auto merged storage/ndb/src/mgmclient/main.cpp: Auto merged storage/ndb/src/ndbapi/NdbBlob.cpp: Auto merged storage/ndb/test/ndbapi/testNdbApi.cpp: Auto merged storage/ndb/test/run-test/daily-basic-tests.txt: Auto merged storage/ndb/tools/restore/consumer_restore.cpp: Auto merged mysql-test/t/disabled.def: manual merge
-
unknown authored
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-engines
-
unknown authored
into mysql.com:/home/ram/work/b28144/b28144.5.0
-
unknown authored
into mysql.com:/home/ram/work/b28144/b28144.5.1
-
unknown authored
-
unknown authored
The log tables are by nature PERFORMANCE_SCHEMA tables, which should not be affected by SET GLOBAL READ_ONLY or FLUSH TABLES WITH READ LOCK. The implementation of FLUSH TABLES WITH READ LOCK already ignored log tables. Now with this patch, the implementation of LOCK TABLE also ignore a global read lock for log tables, which was the missing symmetry. mysql-test/r/flush.result: Fix for bug #26380: LOCK TABLES + FLUSH LOGS causes deadlock - test result. mysql-test/t/flush.test: Fix for bug #26380: LOCK TABLES + FLUSH LOGS causes deadlock - test case. sql/lock.cc: Fix for bug #26380: LOCK TABLES + FLUSH LOGS causes deadlock - logger.is_privileged_thread() used. sql/log.h: Fix for bug #26380: LOCK TABLES + FLUSH LOGS causes deadlock - LOGGER::is_privileged_thread() introduced that returns TRUE if a given thread is either a general_log or a slow_log or a privileged thread. sql/sql_base.cc: Fix for bug #26380: LOCK TABLES + FLUSH LOGS causes deadlock - pass MYSQL_LOCK_IGNORE_GLOBAL_READ_LOCK to the mysql_lock_tables() in case of call from a logger in order not to honor the GLOBAL READ LOCK and to avoid possible deadlocks.
-