- 15 Feb, 2006 1 commit
-
-
unknown authored
WL#1034 - This changeset also changes the executor so its quite more stable now. Stressing test case added that executes ~800 events per second and dropping hundreds of events at once using DROP DATABASE. (with fixes after review of JimW) (with fixes after review of Serg) mysql-test/r/events.result: update results after TRIGGER_ACL was added mysql-test/t/events.test: -redundant line sql/event.cc: Implemented evex_db_drop_events() which drops all events from a specific database. Needed for SQLCOM_DROP_DATABASE sql/event.h: - protect the event better (see the changes to event_executor.cc and event.cc). An event object could be used in a spawned thread before it's executed but till now the object is marked as being executed when the anonymous sp_head is executed. However, there are timeframes before and after that during which the event is not marked as executed and other thread may delete the object -> so we end with a nirvana pointer. sql/event_executor.cc: - extract some of the code executed in the main thread to a function. Too long functions are bad for the overview. - prepend all information/error messages to the console with "SCHEDULER:" for better overview, and easied searching in the log tables. sql/event_priv.h: - change the name, of evex_db_find_event_by_name() and don't used C++ features like function overloading - define consts for result returned from event_timed::spawn_now() sql/event_timed.cc: - add few methods related to event execution. now the event spawns the worker thread and passes itself as parameter. This way it locks itself for exectution first and then spawning -> no race condition. When the worker thread has finished working with the reference it calls back event_timed::spawn_thread_finish() to unlock itself. sql/sql_db.cc: - call evex_drop_db_events() on DROP DATABASE
-
- 02 Feb, 2006 8 commits
-
-
unknown authored
into mysql.com:/home/stewart/Documents/MySQL/5.1/new
-
unknown authored
into mysql.com:/home/emurphy/src/mysql/bk-clean/mysql-5.1-new-merge
-
unknown authored
into mysql.com:/usr/home/bar/mysql-5.1.new.ctype
-
unknown authored
A prerequisite for several fulltext and XML bugs. MY_CHARSET_HANDLER now has a new function "ctype" to detect a type of the next character in a string (i.e. digit, letter, space, punctuation, control, etc), which now works correctly for both 8bit and multibyte charsets. Previously only 8bit charsets worked correctly, while any multibyte character was considered as letter in multibyte charsets. Many files: Adding new function Makefile.am: Adding build rules for uctypedump, a dump tool to create my_uctype.h using Unicode Character Database file. m_ctype.h: Adding declaration of my_uni_ctype, ctype data for Unicode. Adding new member into MY_CHARSET_HANDLER Makefile.am: Adding my_uctype.h into noinst_HEADERS my_uctype.h, uctypedump.c: new files: ctype data for unicode, and the tool to generate it from a Unicode Character Database file. include/Makefile.am: Adding my_uctype.h include/m_ctype.h: Adding declaration of my_uni_ctype, ctype data for Unicode. strings/Makefile.am: Adding build rules for uctypedump, a dump tool to create my_uctype.h using Unicode Character Database file. strings/ctype-big5.c: Adding new function strings/ctype-bin.c: Adding new function strings/ctype-cp932.c: Adding new function strings/ctype-euc_kr.c: Adding new function strings/ctype-eucjpms.c: Adding new function strings/ctype-gb2312.c: Adding new function strings/ctype-gbk.c: Adding new function strings/ctype-latin1.c: Adding new function strings/ctype-mb.c: Adding new function strings/ctype-simple.c: Adding new function strings/ctype-sjis.c: Adding new function strings/ctype-tis620.c: Adding new function strings/ctype-ucs2.c: Adding new function strings/ctype-ujis.c: Adding new function strings/ctype-utf8.c: Adding new function
-
unknown authored
mysql-test/t/disabled.def: disabling new test that was added during null-merge from 5.0 the new test innodb_unsafe_binlog will be re-enabled when the 5.1 snapshot for InnoDB is applied. Disabling test rather than removing files to make future merges easier (removing the files would cause merge conflicts when the files are re-added in the 5.1 snapshot).
-
unknown authored
sql/ha_ndbcluster.cc: ndbcluster_fill_files_table should return int
-
unknown authored
into mysql.com:/home/emurphy/src/mysql/bk-clean/mysql-5.1-new-merge sql/ha_innodb.cc: Auto merged
-
unknown authored
storage/example/ha_example.cc: add handlerton call for fill files table
-
- 01 Feb, 2006 31 commits
-
-
unknown authored
into mysql.com:/home/emurphy/src/mysql/bk-clean/mysql-5.1-new-merge Null-merge InnoDB snapshots from 5.0 to 5.1 storage/innobase/include/lock0lock.h: Auto merged mysql-test/r/innodb.result: null-merge from 5.0 mysql-test/t/innodb.test: null-merge from 5.0 sql/ha_innodb.cc: null-merge from 5.0 storage/innobase/include/data0type.h: null-merge from 5.0 storage/innobase/include/data0type.ic: null-merge from 5.0 storage/innobase/include/os0file.h: null-merge from 5.0 storage/innobase/include/row0mysql.h: null-merge from 5.0 storage/innobase/lock/lock0lock.c: null-merge from 5.0 storage/innobase/os/os0file.c: null-merge from 5.0 storage/innobase/row/row0ins.c: null-merge from 5.0 storage/innobase/row/row0mysql.c: null-merge from 5.0 storage/innobase/row/row0sel.c: null-merge from 5.0 storage/innobase/trx/trx0trx.c: null-merge from 5.0
-
unknown authored
into mysql.com:/home/dlenev/src/mysql-5.1-merges
-
unknown authored
-
unknown authored
into mysql.com:/usr/local/home/marty/MySQL/mysql-5.1-new-wl1892 storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp: Auto merged
-
unknown authored
into mysql.com:/home/dlenev/src/mysql-5.1-merges
-
unknown authored
into mysql.com:/home/dlenev/src/mysql-5.1-merges sql/ha_berkeley.cc: Auto merged
-
unknown authored
into mysql.com:/home/kostja/mysql/mysql-5.1-merge
-
unknown authored
When we add new privilege we should update mysql-test/lib/init_db.sql accordingly. mysql-test/lib/init_db.sql: Added TRIGGER privilege. sql/sql_acl.h: Updated comment describing process of addition of new privileges - added yet another script place which should be modified when new privilege is added.
-
unknown authored
into mysql.com:/space/pekka/ndb/version/my51
-
unknown authored
storage/ndb/src/ndbapi/NdbBlob.cpp: fix some mem leaks (event ops however are never dtor-ed yet) storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp: fix some mem leaks (event ops however are never dtor-ed yet) storage/ndb/test/ndbapi/test_event_merge.cpp: fix some mem leaks (event ops however are never dtor-ed yet)
-
unknown authored
into mysql.com:/home/kostja/mysql/mysql-5.1-merge mysql-test/r/sp.result: Auto merged mysql-test/t/sp.test: Auto merged
-
unknown authored
into mysql.com:/home/kostja/mysql/mysql-5.1-merge
-
unknown authored
into mysql.com:/usr/local/home/marty/MySQL/mysql-5.1-new-wl1892 sql/ha_ndbcluster_binlog.cc: Auto merged storage/ndb/include/ndbapi/NdbDictionary.hpp: Auto merged storage/ndb/src/ndbapi/NdbDictionary.cpp: Auto merged
-
unknown authored
-
unknown authored
into mysql.com:/home/stewart/Documents/MySQL/5.1/tmp_merge
-
unknown authored
into mysql.com:/home/stewart/Documents/MySQL/5.1/tmp_merge mysql-test/r/information_schema.result: Auto merged sql/ha_ndbcluster.cc: Auto merged sql/handler.h: Auto merged sql/sql_show.cc: Auto merged
-
unknown authored
fix up test cases. mysql-test/r/information_schema.result: update result for INFORMATION_SCHEMA.FILES mysql-test/r/information_schema_db.result: update result for INFORMATION_SCHEMA.FILES sql/ha_ndbcluster.cc: in fill_files_table, use my_snprintf instead of snprintf sql/sql_show.cc: correct DBUG_ENTER for fill_schema_files sql/table.h: add SCH_FILES to information schema enum
-
unknown authored
into mysql.com:/data0/mysqldev/my/mysql-5.1-new configure.in: Null merge.
-
unknown authored
-
unknown authored
-
unknown authored
into mysql.com:/home/kostja/mysql/mysql-5.1-merge sql/ha_berkeley.cc: Use local: manual merge
-
unknown authored
-
unknown authored
into poseidon.ndb.mysql.com:/home/tomas/mysql51 sql/ha_ndbcluster.cc: Auto merged sql/ha_ndbcluster.h: Auto merged sql/sql_show.cc: Auto merged
-
unknown authored
-
unknown authored
corrected test case
-
unknown authored
correction
-
unknown authored
into mysql.com:/usr/local/home/marty/MySQL/mysql-5.1-new-wl1892 sql/ha_ndbcluster_binlog.cc: Auto merged storage/ndb/src/kernel/blocks/suma/Suma.cpp: Auto merged
-
unknown authored
-
unknown authored
-
unknown authored
-
unknown authored
into mysql.com:/mnt/hda4/home/alik/MySQL/devel/5.1-bug9412-latest
-