- 28 Mar, 2005 1 commit
-
-
unknown authored
result" (and similar bug in ADDTIME/SUBTIME). Both Item_func_add_time/Item_func_timediff::val_str() now use calc_time_diff() function which was backported from 5.0 (and which was was fixed to properly handle microseconds part of its second argument). Also now we correctly set sign of result in case when first argument is negative and second is positive. mysql-test/r/func_sapdb.result: Added test for bug #8068 "TIMEDIFF with first negative argument gives wrong result". mysql-test/t/func_sapdb.test: Added test for bug #8068 "TIMEDIFF with first negative argument gives wrong result". sql/item_timefunc.cc: - Backported calc_time_diff() function from 5.0 tree. Changed it to accept time value as its second argument when its first argument is datetime value. Fixed wrong handling of microsecond part of second argument. - Item_func_add_time::val_str()/Item_func_timediff::val_str() Removed similar pieces of code calculating difference between two datetime values (or their sum) in microseconds. Now we use calc_time_diff() function instead. Also now we correctly set sign of result in case when first argument is negative and second is positive.
-
- 25 Mar, 2005 10 commits
-
-
unknown authored
provide created shared memory objects with proper access rights to make them usable when client and server are running under different accounts. Post review fixes. VC++Files/mysys/mysys.dsp: Add my_windac.c to mysys.lib include/my_sys.h: Declarations for SECURITY_ATTRIBUTES create/destroy functions. mysys/Makefile.am: Add my_windac.c to the list of compiled files. sql-common/client.c: Lower requested access rights for events as the server won't provide clients with ALL access in order to prevent denial of service attack. sql/mysqld.cc: Set proper security attributes for the kernel objects to make them usable when mysqld is running as a Windows service.
-
unknown authored
libmysqld/Makefile.am: Adding ha_blackhole.cc
-
unknown authored
mysql-test/r/ps_1general.result: Fix test case. sql/handler.h: Added federated to the list so that any beta users won't end up with a mismatch for table enum
-
unknown authored
into zim.(none):/home/brian/mysql/mysql-4.1
-
unknown authored
into mysql.com:/home/jimw/my/mysql-4.1-clean
-
unknown authored
into mysql.com:/home/jimw/my/mysql-4.1-clean
-
unknown authored
Don't run GBK test if not GBK support was compiled. tests/mysql_client_test.c: Don't run GBK test if not GBK support was compiled.
-
unknown authored
-
unknown authored
into zim.(none):/home/brian/mysql/mysql-4.1 configure.in: Auto merged sql/mysqld.cc: Auto merged sql/set_var.cc: Auto merged
-
unknown authored
acinclude.m4: Change in message mysql-test/r/blackhole.result: Lowered the number of inserts. mysql-test/t/blackhole.test: Lowered the number of inserts. sql/ha_blackhole.cc: Added indexes per Serg, correction of indention, added asserts per Serg. sql/ha_blackhole.h: Indention fix, added methods for index...
-
- 24 Mar, 2005 7 commits
-
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-4.1
-
unknown authored
Wrong help string fix. myisam/myisamchk.c: Wrong help string fix.
-
unknown authored
into mysql.com:/usr/home/bar/mysql-4.1
-
unknown authored
in some cases, because "charset(x) = 'string'" was considered as "x is not null" due to incorrect not_null_tables().
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/bug9303
-
unknown authored
mysql-test/r/type_blob.result: Test creates a blob(250 whcih is now displayed as tinyblob when SHOW COLUMNS is called. sql/sql_parse.cc: Added missing else so that FIELD_TINY_BLOB can be selected
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-4.1 sql/mysqld.cc: Auto merged
-
- 23 Mar, 2005 6 commits
-
-
bk-internal.mysql.com://home/bk/mysql-4.1unknown authored
into quadita2.mysql.com:/nfstmp1/guilhem/mysql-4.1-4ita
-
unknown authored
"After Monty's review" changes to the fix for BUG#8325 "Deadlock in replication thread stops replication": s/sleep/safe_sleep (thread safe); sleep 0/1/2/3/4/5/5/5 (get slave less late); no message on error log (deadlock is too common sometimes), a global counter instead (SHOW STATUS LIKE 'slave_retried_transactions'). Plus a fix for libmysql/Makefile.shared libmysql/Makefile.shared: When we "make clean" in libmysql/ we remove the symlinks there, so we need to mark that they have to be recreated later: this is done by removing ../linked_libmysql_sources. If we don't do this, 'make' will fail after 'cd libmysql;make clean'. This Makefile.shared is used by libmysql_r too. No reason to remove linked_client_sources as we don't remove the links in client/. mysql-test/r/rpl_deadlock.result: result fix mysql-test/t/rpl_deadlock.test: small test addition sql/mysqld.cc: if active_mi could not be alloced, die. New SHOW STATUS LIKE "slave_retried_transactions". sql/slave.cc: If slave retries automatically a transaction, no message on error log (too common situation); sleep 0 secs at first retry, then 1, 2, 3, 4, 5, 5, 5... Sleeping 0 is to get the least possible late, as deadlocks are usually resolved at first try. New global counter rli->retried_trans (for SHOW STATUS: total number of times the slave had to retry any transaction). safe_sleep() is thread-safe, sleep() was not. I change the rli->trans_retries counter to go from 0 to max instead of the other way (better for new sleep()). sql/slave.h: new global counter rli->retried_trans sql/sql_show.cc: SHOW STATUS LIKE "slave_retried_transactions"; needs replication mutexes. Can't be a simple SHOW_LONG, because active_mi is unset (not alloced yet) when the static global status_vars is created (active_mi is set in init_slave()). sql/structs.h: new SHOW_SLAVE_RETRIED_TRANS BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
-
unknown authored
Fix typo. mysql-test/README: Fix typo.
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-4.1
-
unknown authored
Additional storage engine called "blackhole". Customer request, and for that matter a Zawodny request. With this you can alter table to a type of table that would never store data. Its a /dev/null for a database. acinclude.m4: New macro rule for ha_blackhole. configure.in: Rule enabling blackhole engine sql/Makefile.am: Additions to Makefile for blackhole engine sql/handler.cc: Ifdef enable code for blackhole (and message for "what does this thing do"). sql/handler.h: Flag for storage engine type. sql/mysql_priv.h: Added blackhole type. sql/mysqld.cc: Updates for building backhole. sql/set_var.cc: Show variable for blackhole engine
-
unknown authored
bdb/hash/hash_open.c: Fix order of arguments to memset() bdb/btree/bt_open.c: Fix order of arguments to memset() ndb/src/kernel/vm/VMSignal.cpp: Fix order of arguments to memset()
-
- 22 Mar, 2005 8 commits
-
-
unknown authored
-
unknown authored
Added better comment for perceived problem with fix for Bug #8753 Invalid schema object version after dropping index
-
unknown authored
Extra fix for perceived problem with fix for Bug #8753 Invalid schema object version after dropping index
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-4.1
-
unknown authored
into mysql.com:/Users/kent/mysql/bk/mysql-4.1-perl mysql-test/mysql-test-run.sh: Auto merged
-
unknown authored
InnoDB needs longer start time for second slave on slow hosts mysql-test/mysql-test-run.pl: InnoDB needs longer start time for second slave on slow hosts mysql-test/mysql-test-run.sh: InnoDB needs longer start time for second slave on slow hosts
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-4.1
-
unknown authored
-
- 21 Mar, 2005 7 commits
-
-
unknown authored
If MySQL wrote to its binlog, but for some reason trx->update_undo and trx->insert_undo were NULL in InnoDB, then trx->commit_lsn was garbage, and InnoDB could assert in the log flush of trx_commit_complete_for_mysql() (Bug #9277) innobase/trx/trx0trx.c: If MySQL wrote to its binlog, but for some reason trx->update_undo and trx->insert_undo were NULL in InnoDB, then trx->commit_lsn was garbage, and InnoDB could assert in the log flush of trx_commit_complete_for_mysql() (Bug #9277)
-
unknown authored
BitKeeper/etc/logging_ok: auto-union innobase/include/trx0trx.h: Auto merged innobase/trx/trx0trx.c: SCCS merged
-
unknown authored
If MySQL wrote to its binlog, but for some reason trx->update_undo and trx->insert_undo were NULL in InnoDB, then trx->commit_lsn was garbage, and InnoDB could assert in the log flush of trx_commit_complete_for_mysql() (Bug #9277) innobase/include/trx0trx.h: If MySQL wrote to its binlog, but for some reason trx->update_undo and trx->insert_undo were NULL in InnoDB, then trx->commit_lsn was garbage, and InnoDB could assert in the log flush of trx_commit_complete_for_mysql() (Bug #9277) innobase/trx/trx0trx.c: If MySQL wrote to its binlog, but for some reason trx->update_undo and trx->insert_undo were NULL in InnoDB, then trx->commit_lsn was garbage, and InnoDB could assert in the log flush of trx_commit_complete_for_mysql() (Bug #9277)
-
unknown authored
into mysql.com:/Users/kent/mysql/bk/mysql-4.1-perl
-
unknown authored
-
unknown authored
Made --timer work mtr_cases.pl: Added option --reorder to get less server restarts mysql-test-run.pl: Added option --reorder to get less server restarts Moved do_before_start_master() not to remove binlog files unless restarted Made --timer work Slave was incorrectly writing log to error log mysql-test/mysql-test-run.pl: Added option --reorder to get less server restarts Moved do_before_start_master() not to remove binlog files unless restarted Made --timer work Slave was incorrectly writing log to error log mysql-test/lib/mtr_cases.pl: Added option --reorder to get less server restarts mysql-test/lib/mtr_report.pl: Made --timer work
-
unknown authored
- Chaned min value in mysqld.cc - Added testcase to warnings.test mysql-test/r/warnings.result: Added testcase for testing max and min value of max_error_count mysql-test/t/warnings.test: Added testcase for testing max and min value of max_error_count sql/mysqld.cc: Change min value of max_error_count from 1 to 0
-
- 18 Mar, 2005 1 commit
-
-
unknown authored
into mysql.com:/M41/mysql-4.1
-