- 28 Jun, 2006 3 commits
-
-
andrey@lmy004. authored
-
andrey@lmy004. authored
Cut 7 (refactoring) db_repository is no more embedded in the Events singleton. Therefore a change to Events_db_repository won't mean recompile of all files in the server which include events.h
-
andrey@lmy004. authored
Cut number 6. Move code from sql_show.cc to event_db_repository.cc that more belongs to the latter.
-
- 27 Jun, 2006 5 commits
-
-
andrey@lmy004. authored
5th cut, moved DB related code to Event_db_repository and updated accordingly the remanining code. Moved change/restore_security_context() to class THD Removed events_priv.h Next step is to reorganize create/update_event() and parsing for them. But probably some other refactoring could be done in the meanwhile. The changes so far pass the test suite.
-
andrey@lmy004. authored
the parsing. Next step will be to refactor of usage of Event_timed during Events::create_event() and Events::update_event(). Disallow: - CREATE EVENT ... DO CREATE EVENT ...; - ALTER EVENT ... DO CREATE EVENT ...; - CREATE EVENT ... DO ALTER EVENT DO ....; - CREATE PROCEDURE ... BEGIN CREATE EVENT ... END| Allowed: - CREATE EVENT ... DO DROP EVENT yyy; - CREATE EVENT ... DO ALTER EVENT yyy; (the nested ALTER EVENT can have anything but DO clause) - ALTER EVENT ... DO ALTER EVENT yyy; (the nested ALTER EVENT can have anything but DO clause) - ALTER EVENT ... DO DROP EVENT yyy; - CREATE PROCEDURE ... BEGIN ALTER EVENT ... END| (the nested ALTER EVENT can have anything but DO clause) - CREATE PROCEDURE ... BEGIN DROP EVENT ... END|
-
andrey@lmy004. authored
Third cut to simplify parsing phase. Now DROP EVENT works. Overloaded few functions to be able to use either sp_name or pass two LEX_STRINGs instead of a Event_timed pointer. This is transitional and eventually the old functions will be removed. For now DROP EVENT also works, does not need anymore a parsing object (Event_timed) and definer initialization because everyone who has EVENT_ACL can drop events, and this is checked on execution time in sql_parse.cc from the security context, as it should be.
-
andrey@lmy004. authored
Second cut of separating parsing phase from execution phase Separate Event_timed from parsing phase and introducing Event_parse_data.
-
andrey@lmy004. authored
Infrastructure built. Added the foreseen files and change Makefile.am/CMakeLists.txt accordingly.
-
- 26 Jun, 2006 9 commits
-
-
konstantin@bodhi.netgear authored
into mysql.com:/opt/local/work/mysql-5.1-runtime
-
jmiller@ndb08.mysql.com authored
into mysql.com:/data0/mysql-5.1
-
konstantin@mysql.com authored
into mysql.com:/opt/local/work/mysql-5.1-runtime
-
konstantin@mysql.com authored
into mysql.com:/opt/local/work/mysql-5.1-runtime
-
knielsen@rt.int.sifira.dk authored
into mysql.com:/usr/local/mysql/tmp-5.1
-
knielsen@mysql.com authored
The 250 simultaneous events all accessing the same table caused the events_stress test to fail due to debug warnings about too many table waiters. Fixed by using three different tables.
-
andrey@lmy004. authored
into lmy004.:/work/mysql-5.1-runtime-bug16992
-
knielsen@rt.int.sifira.dk authored
into mysql.com:/usr/local/mysql/tmp-5.1
-
andrey@lmy004. authored
into lmy004.:/work/mysql-5.1-runtime-bug18897
-
- 25 Jun, 2006 4 commits
-
-
elliot@mysql.com authored
-
elliot@mysql.com authored
into mysql.com:/home/emurphy/src/bk-clean/mysql-5.1
-
kent@mysql.com authored
Delete: scripts/make_win_src_distribution.sh Makefile.am: Unix and Windows now shares source package
-
knielsen@mysql.com authored
Start test case with a dummy table create and drop. This ensures that NDB event subscription is properly set up before the real test starts, which otherwise could sometimes cause INSERT events to be lost.
-
- 24 Jun, 2006 4 commits
-
-
knielsen@rt.int.sifira.dk authored
into mysql.com:/usr/local/mysql/tmp-5.1
-
knielsen@rt.int.sifira.dk authored
into mysql.com:/usr/local/mysql/tmp-5.1
-
knielsen@mysql.com authored
Sometimes the helper connection (that is watching for the main connection to time out) would itself time out first, causing the test to fail.
-
knielsen@mysql.com authored
-
- 23 Jun, 2006 15 commits
-
-
knielsen@devsrv-b.mysql.com authored
into mysql.com:/data0/knielsen/tmp-5.1
-
elliot@mysql.com authored
-
elliot@mysql.com authored
into mysql.com:/home/emurphy/src/bk-clean/mysql-5.1
-
andrey@lmy004. authored
alter event rename". ALTER EVENT ... RENAME statement hasn't checked privileges for the target database. It also caused server crashes when target database was not specified explicitly and there was no current database. This fix adds missing privilege check and check for the case when target database is not specified explicitly or implicitly.
-
petr@owlet. authored
into mysql.com:/home/cps/mysql/devel/5.1-curs-bug
-
petr@mysql.com authored
-
knielsen@rt.int.sifira.dk authored
into mysql.com:/usr/local/mysql/tmp-5.1
-
knielsen@mysql.com authored
into mysql.com:/usr/local/mysql/mysql-5.1-vg-apr2
-
knielsen@mysql.com authored
The problem was a call to convert_dirname() with a destination buffer that did not have room for the trailing slash added by that function. This could cause the instance manager to crash in some cases.
-
monty@hasky.mysql.fi authored
into mysql.com:/home/my/mysql-5.1
-
monty@mysql.com authored
(Happens if main thread exists before kill_server thread, which is ok)
-
andrey@lmy004. authored
into lmy004.:/work/mysql-5.1-runtime-bug20624
-
andrey@lmy004. authored
(fix for bug#20290 Event mechanism incompatible with embedded server, but tests tried)
-
monty@mysql.com authored
-
monty@hasky.mysql.fi authored
into mysql.com:/home/my/mysql-5.1
-