- 14 Sep, 2006 2 commits
-
-
unknown authored
initialized prior to usage as well as deinitialized on shutdown. sql/event_queue.cc: Deinitialize and initialize COND_queue_state
-
unknown authored
5.1.12. sql/event_queue.cc: Temporary workaround to drop the event outside of the scope where LOCK_queue is locked. If it's done inside the scope a possible deadlock can happen, and it happens quite often, escpecially on Windows.
-
- 13 Sep, 2006 1 commit
-
-
unknown authored
fix sigsegv sql/event_queue.cc: fix sigsegv
-
- 12 Sep, 2006 4 commits
-
-
unknown authored
sql/events.h: additional line
-
unknown authored
-
unknown authored
-
unknown authored
Remove SHOW SCHEDULER STATUS command and migrate the information output to `mysqladmin debug` (COM_DEBUG) SHOW SCHEDULER STATUS was introduced in 5.1.11, provided some debug information about event scheduler internals and was enabled only in debug builds. sql/event_queue.cc: Remove SHOW SCHEDULER STATUS. Reporting still will be there but through COM_DEBUG (mysqladmin debug) sql/event_queue.h: dump_internal_status cannot return an error, therefore it should be void. sql/event_scheduler.cc: Remove SHOW SCHEDULER STATUS. Reporting still will be there but through COM_DEBUG (mysqladmin debug) sql/event_scheduler.h: dump_internal_status cannot return an error, therefore it should be void. sql/events.cc: Change from outputting the internal data from the wire to the standard output. SHOW SCHEDULER STATUS was removed. sql/events.h: dump_internal_status() cannot return an error, therefore it should be void sql/lex.h: remove SCHEDULER as recognized word. This is part of removing SHOW SCHEDULER STATUS sql/sp_head.cc: SQLCOM_SHOW_SCHEDULER_STATUS has been removed sql/sql_lex.h: SQLCOM_SHOW_SCHEDULER_STATUS has been removed sql/sql_parse.cc: SQLCOM_SHOW_SCHEDULER_STATUS has been removed sql/sql_test.cc: Dump Events' internal information on COM_DEBUG sql/sql_yacc.yy: SQLCOM_SHOW_SCHEDULER_STATUS has been removed
-
- 07 Sep, 2006 1 commit
-
-
unknown authored
-
- 06 Sep, 2006 1 commit
-
-
unknown authored
into bk-internal.mysql.com:/data0/bk/mysql-5.1-wl3337 client/mysqltest.c: Auto merged libmysqld/Makefile.am: Auto merged mysql-test/mysql-test-run.pl: Auto merged mysql-test/r/events.result: Auto merged mysql-test/r/not_embedded_server.result: Auto merged mysql-test/t/events.test: Auto merged sql/CMakeLists.txt: Auto merged sql/Makefile.am: Auto merged sql/mysqld.cc: Auto merged sql/set_var.cc: Auto merged sql/sp_head.cc: Auto merged sql/sql_class.cc: Auto merged sql/sql_lex.cc: Auto merged sql/sql_parse.cc: Auto merged sql/sql_show.cc: Auto merged sql/sql_yacc.yy: Auto merged sql/table.cc: Auto merged sql/table.h: Auto merged
-
- 01 Sep, 2006 8 commits
-
-
unknown authored
into alik.:/mnt/raid/alik/MySQL/devel/5.1-rt-merged mysql-test/t/disabled.def: SCCS merged
-
unknown authored
sql/event_db_repository.cc: remove unused variables - reported by MS compiler sql/event_queue.cc: remove unused variables - reported by MS compiler sql/event_scheduler.cc: remove unused label sql/events.cc: remove unused variable and a label - reported by MS compiler
-
unknown authored
-
unknown authored
sql/event_scheduler.cc: fix typo sql/events.cc: This check is not needed since UNINITIALIZED state was introduced in the Event_scheduler
-
unknown authored
into example.com:/work/mysql-5.1-runtime-wl3337 sql/events.cc: Auto merged
-
unknown authored
This is a post-review patch. Fixes the typelib implementation, available only in 5.1.11. --event-scheduler cmdline : DISABLED | ON | OFF | 0 | 1 DISABLED - makes the scheduler unavailable during the server run (ON|1)- When the server is started the scheduler will be started. It can be stopped and restarted by setting appropriate values to GLOBAL event_scheduler (OFF|0)- When the server is started, the scheduler won't be started. It can be started and again stopped by setting appropriate values to GLOBAL event_scheduler. _DEFAULT_ value The GLOBAL variable event_scheduler can have the following values: OFF | ON | 0 | 1 DISABLED is not possible and every attempt will end with an error that it's not a valid value for the variable. OFF | 0 - This is the pre-5.1.11 behavior - The scheduler stops, if not already stopped, and can be started again by setting the value of the variable to ON|1. ON | 1 - This is the pre-5.1.11 behavior - The scheduler starts, if not already started, and can be stopped again by setting the value of the variable to OFF|0. mysql-test/r/events.result: update result mysql-test/r/events_bugs.result: update result mysql-test/r/events_logs_tests.result: update result mysql-test/r/events_restart_phase1.result: update result mysql-test/r/events_restart_phase3.result: update result mysql-test/r/events_scheduling.result: update result mysql-test/r/events_stress.result: update result mysql-test/t/events.test: update test: 2 -> off 1 -> on mysql-test/t/events_bugs.test: update test: 2 -> off 1 -> on mysql-test/t/events_logs_tests.test: update test: 2 -> off 1 -> on mysql-test/t/events_restart_phase1.test: update test: 2 -> off 1 -> on mysql-test/t/events_restart_phase2-master.opt: update master file : 1 => on mysql-test/t/events_scheduling.test: update test: 2 -> off 1 -> on add tests for event_scheduler global variable representation from SHOW VARIABLES. mysql-test/t/events_stress.test: update test: 2 -> off 1 -> on sql/events.cc: Implement two different TYPELIBs for --event-scheduler cmd line option and for GLOBAL variable event_scheduler --event-scheduler cmdline : DISABLED | ON | OFF | 0 | 1 DISABLED - makes the scheduler unavailable during the server run (ON|1)- When the server is started the scheduler will be started. It can be stopped and restarted by setting appropriate values to GLOBAL event_scheduler (OFF|0)- When the server is started, the scheduler won't be started. It can be started and again stopped by setting appropriate values to GLOBAL event_scheduler. _DEFAULT_ value The GLOBAL variable event_scheduler can have the following values: OFF | ON | 0 | 1 DISABLED is not possible and every attempt will end with an error that it's not a valid value for the variable. OFF | 0 - This is the pre-5.1.11 behavior - The scheduler stops, if not already stopped, and can be started again by setting the value of the variable to ON|1. ON | 1 - This is the pre-5.1.11 behavior - The scheduler starts, if not already started, and can be stopped again by setting the value of the variable to OFF|0. sql/events.h: additional TYPELIB for GLOBAL event_scheduler sql/mysqld.cc: --event-scheduler should be checked against a TYPELIB and therefore should be GET_STR, as well as we make the parameter optional. When not provided OFF|0 is used. sql/set_var.cc: Implement typelib for event_scheduler variable. If allows both INT_RESULT -> 0 | 1 and STRING_RESULT -> OFF | ON The variable is shown as DISABLED | ON | OFF sql/set_var.h: Implement typelib, which expects both STRING and INT, for event_scheduler.
-
unknown authored
into moonbone.local:/work/tmp_merge-5.1-mysql sql/item.cc: Auto merged sql/item.h: Auto merged sql/item_cmpfunc.cc: Auto merged sql/item_func.cc: Auto merged sql/mysql_priv.h: Auto merged sql/sql_acl.cc: Auto merged sql/sql_class.cc: Auto merged sql/sql_parse.cc: Auto merged mysql-test/r/view.result: SCCS merged mysql-test/t/view.test: SCCS merged
-
unknown authored
mysql-test/t/disabled.def: Removed disabled test since it only affects Windows mysql-test/t/partition.test: Removed Windows from test since bug#19107 is known to hang test mysql-test/t/partition_mgm_err2.test: Removed Windows from test since bug#19107 is known to hang test
-
- 31 Aug, 2006 17 commits
-
-
unknown authored
into dator5.(none):/home/pappa/push_clone sql/sql_show.cc: Auto merged storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp: Auto merged mysql-test/t/disabled.def: manual merge
-
unknown authored
into dator5.(none):/home/pappa/push_clone sql/share/errmsg.txt: Auto merged
-
unknown authored
into fifo.vaih.whnetz:/work/mysql-5.1-wl3337-tree2 sql/events.cc: Auto merged
-
unknown authored
This patch makes the relationship between Event_scheduler and Event_queue unidirectional from the former to the latter. The change is that the conditional on which the scheduler sleeped has been moved to the Event_queue and the latter does not call anymore Event_scheduler::queue_changed(), which in turn has be removed. sql/event_queue.cc: Remove dependency of Event_queue on Event_scheduler but not vice versa. Event_scheduler polls whether there is time to execute an event. Removed notify_observers() as the way of calling has changed. Added Event_queue::cond_wait() similar to Event_scheduler::cond_wait(). sql/event_queue.h: init_queue() does not need anymore Event_scheduler object because the relationship is now one-way. Event_scheduler knows about Event_queue but not vice versa. get_top_execution_if_time() does by itself the waiting instead of returning abstime. This simplifies the code in Event_scheduler::run() get_top_execution_if_time() returns only if job_data != NULL or if the scheduler thread was killed. notify_observers() is no more used and therefore removed. Added Event_queue::cond_wait() because now there is waiting on a conditional variable in Event_queue too (like in Event_scheduler for ::stop()). sql/event_scheduler.cc: Change the relationship between Event_scheduler & Event_queue. Event_queue does not know anymore about Event_scheduler. When the scheduler calls get_top_element_if_time() it may fall asleep on a conditional of Event_queue, if either the queue is empty or it's still not time for activation. When the method returns it will return a non-null address, namely an object to be executed. If the return value is NULL, the thread was killed by a call to Event_scheduler::stop() (we assert this). sql/event_scheduler.h: Remove queue_changed() as it is obsoleted by making the relationship between Event_scheduler and Event_queue one-way, from the former to the latter. Event_queue now does not know about Event_scheduler. get_state() is changed to is_running(). The state enum should be private, as it is not needed to be seen from outside anymore. sql/events.cc: Event_queue does not need anymore a pointer to Event_scheduler.
-
unknown authored
The problem was in dummy grep on AIX and HPUX. The fix is to use more portable patterns. The patch is only for test suite (i.e. does not touch server codebase). mysql-test/r/im_instance_conf.result: Updated result file. mysql-test/t/disabled.def: Fix typo. mysql-test/t/im_instance_conf.imtest: Make grep-pattern aix/hpux-compatible. mysql-test/t/im_options.imtest: Make grep-pattern aix/hpux-compatible. mysql-test/t/im_options-im.opt: Speedup IM-tests.
-
unknown authored
into bk-internal.mysql.com:/data0/bk/mysql-5.1-kt sql/share/errmsg.txt: Auto merged
-
unknown authored
-
unknown authored
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1
-
unknown authored
into dator5.(none):/home/pappa/push_clone mysql-test/r/partition.result: Auto merged sql/share/errmsg.txt: Auto merged
-
unknown authored
into dator5.(none):/home/pappa/push_clone sql/item.cc: Auto merged sql/sql_yacc.yy: Auto merged sql/share/errmsg.txt: manual merge
-
unknown authored
fixed error message mysql-test/r/ndb_partition_key.result: Bug#21862 Misleading error message 1490: "A PRIMARY KEY need to include all fields..." result fix mysql-test/r/partition.result: Bug#21862 Misleading error message 1490: "A PRIMARY KEY need to include all fields..." result fix
-
unknown authored
into bodhi.local:/opt/local/work/mysql-5.1-runtime-merge
-
unknown authored
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1
-
unknown authored
into dator5.(none):/home/pappa/bug21388 mysql-test/t/disabled.def: Auto merged sql/ha_partition.cc: Auto merged sql/handler.h: Auto merged
-
unknown authored
into dator5.(none):/home/pappa/bug21388 sql/ha_partition.cc: Auto merged sql/handler.h: Auto merged
-
unknown authored
Review fixes sql/sql_partition.cc: Removed unused variables Used thd->free_items() method sql/table.cc: Changed order of calls
-
unknown authored
into moonbone.local:/work/tmp_merge-5.1-opt-mysql sql/ha_innodb.cc: Auto merged sql/mysql_priv.h: Auto merged sql/sql_delete.cc: Auto merged sql/sql_select.cc: Auto merged
-
- 30 Aug, 2006 6 commits
-
-
unknown authored
mysql-test/lib/mtr_process.pl: Apply manually the merge from 5.0 mysql-test/mysql-test-run.pl: Apply manually the merge from 5.0 mysql-test/r/grant.result: A post-merge fix. mysql-test/r/im_cmd_line.result: A post-merge fix. mysql-test/r/im_instance_conf.result: A post-merge fix. mysql-test/r/sp.result: A post-merge fix. mysql-test/t/grant.test: A post-merge fix. mysql-test/t/im_cmd_line.imtest: A post-merge fix. mysql-test/t/im_instance_conf.imtest: A post-merge fix. sql/field.cc: A post-merge fix. sql/item_cmpfunc.cc: A post-merge fix. sql/sp_head.cc: A post-merge fix. sql/sp_head.h: A post-merge fix.
-
unknown authored
into bk-internal.mysql.com:/data0/bk/mysql-5.1-kt
-
unknown authored
After merge changes mysql-test/r/ndb_condition_pushdown.result: After merge changes sql/sql_base.cc: After merge changes sql/opt_range.cc: After merge changes
-
unknown authored
mysql-test/t/disabled.def: disabled some tests to get some tests passing.
-
unknown authored
CMake versions > 2.4 allow linking to STATIC or SHARED libraries only. libmysql/CMakeLists.txt: Fix for Cmake BC problems (as suggested by Elliot)
-
unknown authored
skip engine handling if engine is disabled
-