- 18 Jan, 2006 1 commit
-
-
unknown authored
Before the interval expression was considered to be in seconds, now it is just a number and the type of interval is considered. - this changeset introduces also fix for bug#16432 (Events: error re interval misrepresents the facts) the code of event_timed::set_interval() was refactored anyway so it is meaningful to fix the bug in the same changeset. include/my_time.h: - move enum interval_type to include/my_time.h so it can be used by functions in the whole server sql/event.cc: - don't use second_part - fix small problem with create event xyz, when xyz exists -> make it error instead of warning if create_if_not is false. sql/event.h: pass thd to mark_last_executed() to be able to call thd->end_time() sql/event_executor.cc: - pass thd to event_timed::compute_next_execution_time() - a bit more DBUG info in the server log - handle error returned by event_timed::compute_next_execution_time() sql/event_priv.h: - define the maximal possible value for interval_value sql/event_timed.cc: - more docs - add static get_next_time() which sums a TIME with an interval - fix bug #16435 (Weekly events execute every second) Before the interval expression was considered to be in seconds, now it is just a number and the type of interval is considered. - fix for bug#16432 (Events: error re interval misrepresents the facts) (return an error if a value is too big or is negative - errmsg changed) sql/item_timefunc.cc: - export get_interval_date() - refactor Item_date_add_interval::get_date() and extract the core to date_add_interval() in time.cc so it can be reused by the scheduler code in event_timed.cc sql/item_timefunc.h: - export get_interval_value() so it can be reused in event_timed.cc in function static get_next_time() - move enum interval_type to include/my_time.h so it can be used by functions in the whole server sql/mysql_priv.h: export the new function date_add_interval() added to time.cc sql/share/errmsg.txt: - change error message to be appropriate as fix for bug#16432 (Events: error re interval misrepresents the facts) sql/sql_yacc.yy: - change error message to be appropriate as fix for bug#16432 (Events: error re interval misrepresents the facts) sql/time.cc: extract the core of Item_date_add_interval::get_date() to a function per Serg's request. The code can be reused to add und substract interval from a date.
-
- 13 Jan, 2006 1 commit
-
-
unknown authored
- initialize a variable in a shell scrip scripts/mysql_create_system_tables.sh: be strict, initialize the variable
-
- 12 Jan, 2006 36 commits
-
-
unknown authored
into lmy004.:/work/mysql-5.1-tt-copy-works
-
unknown authored
fix problem that gcc4 does not like at all sql/event.h: fix problem that gcc4 does not like at all
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.1
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.1
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/wl2930_fixup/my51-wl2930_fixup mysql-test/t/mysqltest.test: Auto merged
-
unknown authored
-
unknown authored
into mysql.com:/home/ndbdev/jmiller/clones/mysql-5.1-new
-
unknown authored
Test cleanip per lars .del-rpl_row_sp000.result~2b24650b123e20a9: Delete: mysql-test/r/rpl_row_sp000.result .del-rpl_row_sp000.test~645e2807516682b6: Delete: mysql-test/t/rpl_row_sp000.test .del-rpl_row_sp000-slave.opt~d84baa1f59616d77: Delete: mysql-test/t/rpl_row_sp000-slave.opt .del-rpl_row_sp000-master.opt~da625c0a51a2f08a: Delete: mysql-test/t/rpl_row_sp000-master.opt rpl_sp.result: Rename: mysql-test/r/rpl_stm_sp.result -> mysql-test/r/rpl_sp.result rpl_sp-master.opt: Rename: mysql-test/t/rpl_stm_sp-master.opt -> mysql-test/t/rpl_sp-master.opt rpl_sp-slave.opt: Rename: mysql-test/t/rpl_stm_sp-slave.opt -> mysql-test/t/rpl_sp-slave.opt rpl_sp.test: Rename: mysql-test/t/rpl_stm_sp.test -> mysql-test/t/rpl_sp.test mysql-test/t/rpl_sp-slave.opt: Rename: mysql-test/t/rpl_stm_sp-slave.opt -> mysql-test/t/rpl_sp-slave.opt mysql-test/t/rpl_sp-master.opt: Rename: mysql-test/t/rpl_stm_sp-master.opt -> mysql-test/t/rpl_sp-master.opt mysql-test/r/rpl_sp.result: Rename: mysql-test/r/rpl_stm_sp.result -> mysql-test/r/rpl_sp.result BitKeeper/deleted/.del-rpl_row_sp000-master.opt~da625c0a51a2f08a: Delete: mysql-test/t/rpl_row_sp000-master.opt BitKeeper/deleted/.del-rpl_row_sp000-slave.opt~d84baa1f59616d77: Delete: mysql-test/t/rpl_row_sp000-slave.opt BitKeeper/deleted/.del-rpl_row_sp000.test~645e2807516682b6: Delete: mysql-test/t/rpl_row_sp000.test BitKeeper/deleted/.del-rpl_row_sp000.result~2b24650b123e20a9: Delete: mysql-test/r/rpl_row_sp000.result mysql-test/t/rpl_stm_mystery22.test: Test cleanip per lars mysql-test/t/disabled.def: Test cleanip per lars mysql-test/t/rpl_sp.test: Test cleanip per lars
-
unknown authored
into mysql.com:/space/pekka/ndb/version/my51
-
unknown authored
into lmy004.:/work/mysql-5.1-tt-copy-works
-
unknown authored
- fix compile failure on QNX and FreeBSD sql/event_executor.cc: time_t and my_time_t seem have the same length so cast in tztime.cc it's already done this way. Precautionary check at runtime about the sizes of my_time_t and time_t sql/event_timed.cc: do time_t* cast to satisfy compilers on various platforms (QNX, FreeBSD)
-
unknown authored
into mysql.com:/space/pekka/ndb/version/my51
-
unknown authored
into mysql.com:/usr/local/mysql/tmpbuild-5.1
-
unknown authored
storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp: bugfix storage/ndb/test/ndbapi/test_event_merge.cpp: continue
-
unknown authored
into mysql.com:/space/pekka/ndb/version/my51-rbr
-
unknown authored
storage/ndb/src/kernel/blocks/dbtup/DbtupBuffer.cpp: Fix Sun compiler bug: does not recognize that foo(t *) and foo(t * const) are the same function. storage/ndb/src/kernel/blocks/dbtup/DbtupFixAlloc.cpp: Fix Sun compiler bug: does not recognize that foo(t *) and foo(t * const) are the same function. storage/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp: Fix Sun compiler bug: does not recognize that foo(t *) and foo(t * const) are the same function. storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp: Fix Sun compiler bug: does not recognize that foo(t *) and foo(t * const) are the same function. storage/ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp: Fix Sun compiler bug: does not recognize that foo(t *) and foo(t * const) are the same function. storage/ndb/src/kernel/vm/ndbd_malloc_impl.cpp: Add missing return value, otherwise Sun compiler complains.
-
unknown authored
into mysql.com:/home/ndbdev/jmiller/clones/mysql-5.1-new
-
unknown authored
Added requested changes to test. mysql-test/t/ndb_dd_ddl.test: Added requested changes to test.
-
unknown authored
into lmy004.:/work/mysql-5.1-tt-copy-works
-
unknown authored
fix INSERT/REPLACE statements so test suite runs again. The question is why we have 2 parallel universes - 2 different ways to start the test suite, a shell and perl version. One more case where redundancy makes life nightmare. scripts/mysql_create_system_tables.sh: fix INSERT/REPLACE statements so test suite runs again. The question is why we have 2 parallel universes - 2 different ways to start the test suite, a shell and perl version. One more case where redundancy makes life nightmare.
-
unknown authored
into mysql.com:/home/ndbdev/jmiller/clones/mysql-5.1-new
-
unknown authored
- add Event_priv to db and host tables scripts/mysql_create_system_tables.sh: add event_priv to db and host. will fix failing tests too
-
unknown authored
into lmy004.:/work/tmp/mysql-5.1-new
-
unknown authored
BUILD/SETUP.sh: go back to -01 and reporting usage of uninitialized variables
-
unknown authored
into perch.ndb.mysql.com:/home/jonas/src/51-new
-
unknown authored
BitKeeper/deleted/.del-ndb_error_reporter~48c84ad377571240: Delete: ndb/tools/ndb_error_reporter storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp: Release file from hash
-
unknown authored
fix Suma get buffer ptr, adopt to new page pool in tup storage/ndb/src/kernel/blocks/suma/Suma.cpp: Fix new page pool usage previously it accepted page = base + RNIL, since it didnt use page anyway, sort of a prefetch...
-
unknown authored
into mysql.com:/space/pekka/ndb/version/my51
-
unknown authored
into perch.ndb.mysql.com:/home/jonas/src/51-new storage/ndb/src/kernel/blocks/ERROR_codes.txt: Auto merged storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: Auto merged storage/ndb/src/ndbapi/ndb_cluster_connection.cpp: Auto merged
-
unknown authored
into mysql.com:/usr/home/bar/mysql-5.1-new.fscs3
-
unknown authored
Typo fix. Thanks Serg for noticing this. sql/sql_table.cc: Typo fix. Thanks Serg for noticing this.
-
unknown authored
Really dumb typo.... sql/ha_archive.h: Fix typo
-
unknown authored
Archive uses native row format, so honestly this is just the change in a flag. sql/ha_archive.h: Added bit field support (and dropped the ha_not_exact_count since we always have this). mysql-test/r/archive_bitfield.result: New BitKeeper file ``mysql-test/r/archive_bitfield.result'' mysql-test/t/archive_bitfield.test: New BitKeeper file ``mysql-test/t/archive_bitfield.test''
-
unknown authored
into mysql.com:/space/pekka/ndb/version/my51
-
unknown authored
into zim.(none):/home/brian/mysql/archive-5.1
-
unknown authored
after my push of WL#1034 (Internal CRON) into 5.1 BitKeeper/deleted/.del-event.h~2c9fb599ae4e39e7: Delete: libmysqld/event.h
-
- 11 Jan, 2006 2 commits
-
-
unknown authored
into mysql.com:/space/pekka/ndb/version/my51-rbr storage/ndb/include/ndbapi/NdbDictionary.hpp: Auto merged storage/ndb/test/ndbapi/test_event.cpp: Auto merged
-
unknown authored
storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp: detached trigger fixes for multiops storage/ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp: detached trigger fixes for multiops storage/ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp: detached trigger fixes for multiops storage/ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp: detached trigger fixes for multiops storage/ndb/test/ndbapi/test_event_merge.cpp: detached trigger fixes for multiops
-