- 12 Oct, 2005 5 commits
-
-
unknown authored
To force a restart at the end of test, the option file must be non-empty, it's not enough if it exists and is empty. mysql-test/t/rpl_dual_pos_advance-master.opt: the option file must be non-empty (because there's a -z test in mysql-test-run)
-
unknown authored
-
unknown authored
in short we now record whenever the slave I/O thread ignores a master's event because of its server id, and use this info in the slave SQL thread to advance Exec_master_log_pos. Because if we do not, this variable stays at the position of the last executed event, i.e. the last *non-ignored* executed one, which may not be the last of the master's binlog (and so the slave *looks* behind the master though it's data-wise it's not). mysql-test/t/rpl_dual_pos_advance-master.opt: empty; its goal is just to trigger a server restart after running the test, so that the master forgets that it was a slave (otherwise it affects the following tests). sql/log.cc: No more default arguments for Rotate_log_event constructor. MYSQL_LOG::appendv() is now called without mutex. sql/log_event.cc: Moving one Rotate_log_event constructor from log_event.h. Support for on-demand choice of duplicating the string argument of the constructor or not (because there now are needs for both alternatives, see slave.cc). sql/log_event.h: We now have a case where a Rotate_log_event is executed by the slave SQL thread while not being in the relay log, so it needs to pretend its length is 0: a ZERO_LEN flag for that; a flag DUP_NAME (replaces "bool alloced") to be able to choose if we want the constructor to duplicate the string argument or not. sql/slave.cc: A comment for BUG#13861 (to be fixed). llstr() instead of %ld as the number is ulonglong. mi->rli becomes rli in some places. Fix for BUG#13023: - in the slave I/O thread, whenever we ignore an event because of its server id we update a couple of coordinates in memory - in the slave SQL thread, whenever we bump into the end of the latest relay log, we check this couple of coordinates to see if we should advance our Exec_master_log_pos. - when the slave I/O thread terminates it saves these in-memory coordinates into a Rotate event in the relay log, so that they are durable. sql/slave.h: A couple of coordinates in RELAY_LOG_INFO to keep track of the last ignored events received by the slave I/O thread (ignored because of the server id). mysql-test/r/rpl_dual_pos_advance.result: New BitKeeper file ``mysql-test/r/rpl_dual_pos_advance.result'' mysql-test/t/rpl_dual_pos_advance.test: Test for BUG#13023 (with a part, disabled, to test BUG#13861 when I fix it). Before the fix, this test used to hang.
-
unknown authored
into mysql.com:/users/grog/4.1
-
unknown authored
Bug #10308: Parse 'purge master logs' with subselect correctly. subselect.test: Bug #10308: Test for 'purge master logs' with subselect. subselect.result: Bug #10308: Test result for 'purge master logs' with subselect. mysql-test/r/subselect.result: Bug #10308: Test result for 'purge master logs' with subselect. mysql-test/t/subselect.test: Bug #10308: Test for 'purge master logs' with subselect. sql/sql_yacc.yy: Bug #10308: Parse 'purge master logs' with subselect correctly.
-
- 11 Oct, 2005 4 commits
-
-
unknown authored
into mysql.com:/space/my/mysql-4.1-build
-
unknown authored
into mysql.com:/space/my/mysql-4.1-build scripts/make_win_src_distribution.sh: Auto merged
-
unknown authored
scripts/make_win_src_distribution.sh: - added Docs/manual.chm to the windows source distribution (BUG#13899). The file is placed in there by the Bootstrap script, which pulls it from the mysqldoc repository
-
unknown authored
The fix is needed to perform locking on shared data structures This is modification of patch proposed by Leandro Santi (see http://webs.sinectis.com.ar/lesanti/misc/mysql-4.0.23a-openssl_locking.patch) sql/mysqld.cc: Fix for bug#9270 multiple SSL race conditions (for 5.0 tree) The fix is needed to perform locking on shared data structures
-
- 10 Oct, 2005 4 commits
-
-
unknown authored
-
unknown authored
into deer.(none):/home/hf/work/mysql-4.1.13372 sql/item.cc: Auto merged
-
unknown authored
mysql-test/r/rpl_multi_update3.result: New test case mysql-test/t/rpl_multi_update3.test: New test case sql/sql_parse.cc: Removed fake locking Changed so that filtering is done later for multi-update Removed redundant code sql/sql_update.cc: Moved call to sql_parse.cc
-
unknown authored
- Added error printout and nice exit for duplicate default sections
-
- 08 Oct, 2005 2 commits
- 07 Oct, 2005 7 commits
-
-
unknown authored
into mysql.com:/usr/home/ram/work/mysql-4.1 scripts/make_binary_distribution.sh: Auto merged
-
unknown authored
-
unknown authored
Copy disabled.def (Backport of Kent's change from the main tree to the 4.1.15 build clone. Original changeset: 2005/10/07 13:08:07+02:00 kent@mysql.com ) scripts/make_binary_distribution.sh: Copy zlib.a and valgrind.supp if exists. Copy disabled.def (Backport of Kent's change from the main tree to the 4.1.15 build clone.)
-
unknown authored
Copy zlib.a and valgrind.supp if exists Copy disabled.def scripts/make_binary_distribution.sh: Copy zlib.a and valgrind.supp if exists
-
unknown authored
-
unknown authored
into mysql.com:/home/my/mysql-4.1
-
unknown authored
- Use %lx instead of %p as %p is not portable - Don't replace ROW item with Item_null myisam/mi_rkey.c: Use %lx instead of %p as %p is not portable myisam/mi_search.c: Use %lx instead of %p as %p is not portable mysql-test/r/select.result: More test for ROW comparison mysql-test/t/select.test: More test for ROW comparison sql/item.cc: We can't replace a ROW item with Item_null because: - Arg_comparator is still using the orignal row items and it's not good to have args[0] different from what is actually compared - If we are using the <=> comparator, NULL can still be compared as true - We would break things if we would ever use resolve_const_item() for operators like >, < etc.
-
- 06 Oct, 2005 9 commits
-
-
unknown authored
Corrected platform name output Services.cpp: Dont print null address (back port from 5.0) ndb/src/mgmsrv/Services.cpp: Dont print null address (back port from 5.0) scripts/make_binary_distribution.sh: Corrected platform name output
-
unknown authored
Reintroduced --machine Better sh compatibility, "for i ; do" is not portable scripts/make_binary_distribution.sh: Reintroduced --machine Better sh compatibility, "for i ; do" is not portable
-
unknown authored
into mysql.com:/home/dellis/mysqlab/bk/mysql-4.1
-
unknown authored
Replaced --machine with --platform General code cleanup scripts/make_binary_distribution.sh: Replaced --machine with --platform General code cleanup
-
unknown authored
into mysql.com:/home/gluh/MySQL/Bugs/4.1.13605
-
unknown authored
-
unknown authored
-
unknown authored
Wrong variable. sql/item_cmpfunc.cc: Wrong variable.
-
unknown authored
BitKeeper/deleted/.del-ndb_range_bounds.pl~ff7e47a35fb44c74: Delete: mysql-test/ndb/ndb_range_bounds.pl
-
- 05 Oct, 2005 5 commits
-
-
unknown authored
into mysql.com:/usr/home/bar/mysql-4.1.b12476
-
unknown authored
BUILD/SETUP.sh: Remov -ansi flag
-
unknown authored
wrong variable. sql/item_cmpfunc.cc: wrong variable.
-
unknown authored
The "exit" command of mysqltest is quite useful when writing tests for 4.1 so I'm porting it from 5.0 to 4.1.
-
unknown authored
into mysql.com:/usr/home/bar/mysql-4.1.b13046
-
- 04 Oct, 2005 2 commits
- 03 Oct, 2005 2 commits