- 07 Dec, 2005 1 commit
-
-
unknown authored
sql/event.cc: -my_error() as close as possible to the place where the error occurs. -a thought how to replicate events -use close_thread_tables() in some cases and for others rely on this call being done in sql_parse.cc::do_command() sql/event.h: remove redundant defines sql/event_executor.cc: - reenable the compilation again - don't backup the open_tables_state, it's not needed sql/event_timed.cc: - inline a bit - comment added sql/mysqld.cc: - start mysqld with --event-scheduler=0 by default sql/share/errmsg.txt: 3 new messages sql/sql_parse.cc: remove now obsolete error checking - the errors are reported as closer as possible to the place where they are detected sql/sql_yacc.yy: add WARNING message. fix a bug that was corrupting thd->client_capabilites -> select count(*) from mysql.event was reporting : "Unknown table test.event"!!! Using temporal variable is nice but IMO quite error-prone.
-
- 06 Dec, 2005 3 commits
-
-
unknown authored
sql/sp_head.cc: revert
-
unknown authored
make more independent of SP sql/event.cc: use own routine - export it sql/event_priv.h: export these two sql/event_timed.cc: use own routine, don't rely on SP sql/sp.cc: revert changes to SP sql/sp.h: revert changes to SP sql/sql_show.cc: rever changes to SP
-
unknown authored
updated sources sql/event.cc: update put some error calls to the places they occur sql/event.h: - change the default (does not work in STRICT mode) sql/event_executor.cc: move mutex initialization to evex_init_mutexes so init_events() can be reused when the main thread does not work and set global event_scheduler=1; (this will start the thread) The main thread is now visible with show processlist and can be killed. sql/event_priv.h: don't use anymore SP for opening table sql/event_timed.cc: don't use anymore SP routines for opening mysql.event sql/mysqld.cc: shutdown_events() should be maximal at the end of the server because it destroys mutexes of EVEX. The call should not be in the main thread. sql/set_var.cc: make sys_var_event_executor subclass sys_var_bool_ptr to overload ::update() method - needed to start a killed (non-running) evex main thread sql/set_var.h: declare class sys_var_event_executor sql/share/errmsg.txt: 2 new messages
-
- 05 Dec, 2005 1 commit
-
-
unknown authored
- split into several files - forbid parallel execution (before analyse is done how to make it possible) because the same sp_head instance cannot be executed in parallel - added GPL headers - changed EVENT_ACL to be per DB variable - fixed minor problems mysql-test/lib/init_db.sql: WL#1034 updated - add Event_priv to mysql.user (update test) - add updated mysql.event table struct scripts/mysql_fix_privilege_tables.sql: WL#1034 updated add updated mysql.event structure sql/Makefile.am: split event.cc into - event.cc (create/alter/drop) - event_executor.cc (main and worker threads) - event_timed.cc (class event_timed) - event_priv.h (some definitions used internally by the module) sql/event.cc: - added GPL header - split into few files - fixed some issues after code review - now using SP routines for opening/traversing/closing tables (will be reverted) sql/event.h: - add GPL header - remove two methods - inline them in sql_yacc.yy - don't use absolute values for EVEX_ defines but the SP_ equivalents (have to move 100% to SP_ defines and as later step to not transfer messages upwards in the stack but report them at the place they occur) - updated reference table definition - move default mem_root param from event.cc to the header sql/mysqld.cc: WL#1034 rename --event-executor to --event-scheduler executor sounds a bit scary :) sql/set_var.cc: rename internal variable name from event_executor to event_scheduler (ppl won't be scarried anymore :) sql/share/errmsg.txt: omit one %s - not needed sql/sp_head.cc: disable this DBUG_PRINT for a bit. m_next_cached_sp is 0x0 and I get crash here... sql/sp_head.h: remove m_old_cmq, a temporal variable is used in sql_yacc.yy (Serg's idea) to keep the previous state. $<ulong_val>$ = .... YYTHD->client_capabilites != $<ulong_val>4; (the same is done also for class event_timed) sql/sql_acl.cc: handle pre-5.1.4 table and give the user EVENT_ACL if he had CREATE_ACL sql/sql_acl.h: fix the bitmask sql/sql_parse.cc: - move from EVENT_ACL being global to EVENT_ACL being per DB like CREATE_PROC_ACL - lex->m_qname dropped, because not needed, fix code therefore - add comment that SHOW CREATE EVENT has to be implemented sql/sql_yacc.yy: - use temporal variable of Bison to store a short lived value - fix indentation - inline 2 class event_timed methods in the parser sql/tztime.h: be more expressive - it's already extern
-
- 02 Dec, 2005 3 commits
- 28 Nov, 2005 4 commits
-
-
unknown authored
into mysql.com:/M51/mysql-5.1
-
unknown authored
-
unknown authored
Fix a typo: "distibution" -> "distribution". sql/mysqld.cc: Fix a typo: "distibution" -> "distribution".
-
unknown authored
into mysql.com:/usr/home/bar/mysql-5.1-new sql/item_strfunc.cc: Auto merged sql/item_strfunc.h: Auto merged
-
- 27 Nov, 2005 1 commit
-
-
unknown authored
Changed to alphabetical order mysql-test/r/show_check.result: Changed to alphabetical order
-
- 26 Nov, 2005 1 commit
-
-
unknown authored
into mysql.com:/tmp/x/mysql-5.1-new
-
- 25 Nov, 2005 9 commits
-
-
unknown authored
mysql-test/r/show_check.result: fixed failing test for Holyfoot ;-) sql/authors.h: added myself
-
unknown authored
into mysql.com:/data0/mysqldev/my/mysql-5.1.3-pushmain
-
unknown authored
sql/authors.h: line about HF
-
unknown authored
into mysql.com:/data0/mysqldev/my/mysql-5.1.3-fixes
-
unknown authored
-
unknown authored
-
unknown authored
-
unknown authored
-
unknown authored
The previous variant where it was a specific ha_partition method only worked for the partition handler. It was unfortunately called also for the NDB handler and in this case it called a random method in the NDB handler with random input. sql/ha_ndbcluster.cc: Moved initialisation of some handler variables to set_part_info method called earlly in the open process sql/ha_ndbcluster.h: Moved initialisation of some handler variables to set_part_info method called earlly in the open process sql/ha_partition.h: Made set_part_info a handler method and not a ha_partition method only sql/handler.h: Made set_part_info a handler method and not a ha_partition method only sql/sql_partition.cc: Made set_part_info a handler method and not a ha_partition method only
-
- 24 Nov, 2005 17 commits
-
-
unknown authored
mysql-test/r/mysqldump.result: Fixing result from merge
-
unknown authored
into zim.(none):/home/brian/mysql/mysql-5.1-new client/mysqldump.c: Auto merged mysql-test/r/mysqldump.result: REsolve mysql-test/t/mysqldump.test: Resolve conflict
-
unknown authored
Its funny, I am reading through the forums and someone asks "Can I please have a REPLACE INTO, instead an INSERT INTO?" and I remember how often I have used a sed script to modify MySQL dumps to have exactly that. So, use --replace and instead of getting INSERT INTO you will INSTEAD get REPLACE INTO. Buyer beward, REPLACE is a MySQL SQL, so you will not end up with a dump that can be used for other databases. Though I hear you could just use a sed line to modify it back :) client/client_priv.h: New option for --replace client/mysqldump.c: Added option for REPLACE INTO instead of INSERT INTO mysql-test/r/mysqldump.result: Updated REsultes for replace into mysql-test/t/mysqldump.test: Added new test for --replace
-
unknown authored
Update version number to 5.1.4-alpha configure.in: Update version number to 5.1.4-alpha
-
unknown authored
-
unknown authored
into mysql.com:/space/my/mysql-5.1
-
unknown authored
(only showed up in a non-debug build) mysys/mf_tempdir.c: - fixed a compile error by adding a missing comma (only showed up in a non-debug build)
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.1 mysql-test/t/disabled.def: SCCS merged
-
unknown authored
into mysql.com:/my/mysql-5.1
-
unknown authored
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
-
unknown authored
-
unknown authored
into mysql.com:/home/my/mysql-5.1 sql/field.cc: Auto merged
-
unknown authored
-
unknown authored
into mysql.com:/home/my/mysql-5.1-TDC sql/handler.cc: Auto merged sql/opt_range.cc: Auto merged sql/sql_insert.cc: Auto merged sql/sql_parse.cc: Auto merged
-
unknown authored
mysql-test/r/view_grant.result: Drop things that may be left from old runs mysql-test/t/view_grant.test: Drop things that may be left from old runs
-
unknown authored
into mysql.com:/my/mysql-5.1
-