- 15 Jan, 2007 2 commits
-
-
unknown authored
into dsl-hkibras-fe36f900-97.dhcp.inet.fi:/home/elkin/MySQL/TEAM/FIXES/5.1/bug16567_binlog_verbose_help_jeb sql/mysqld.cc: Auto merged
-
unknown authored
Implementing this feature connected to wl#3368 mixed binlog_format default. Supplied by my.cnf or explicitly in command line option gets be displayed. When not supplied `(No default value)' is displayed, even though --log-bin might be supplied. The option is different object from @@global.binlog_format variable. The default `mixed' for the latter is dependant on presence of `--log-bin' option, otherwise the value of the var is set to NULL (undefined): var := opt | MIXED when binlog-in-use var := NULL otherwise (no binlog, no format) Comments on NDB and mixed format updated, also dependency the option on --log-bin aka binlog-in-use is worded. Making t/rpl_switch_stm_row_mixed.test to interprete DEFAULT for binlog_format as MIXED. Comments on what the test covers are added. todo/fixme: turning @@global.binlog_format to be read-only when it's set to NULL (no binlog). todo/fixme: options dependacy (acyclic) graph, particularly to solve a task of setting defaults values for the leaf nodes only when parents' nodes are set. mysql-test/r/rpl_switch_stm_row_mixed.result: changed mysql-test/t/rpl_switch_stm_row_mixed.test: correcting interpretation of DEFAULT for binlog_format, comments on test purpose, switching binlog_format section is formed. sql/mysqld.cc: introducing command line option parser's opt_binlog_format and its default. necessary code for transfering text value from command line arg into the system variable @@global.binlog_format.
-
- 14 Jan, 2007 2 commits
- 13 Jan, 2007 1 commit
-
-
unknown authored
into mysql.com:/nfsdisk1/lars/MERGE/mysql-5.1-merge
-
- 12 Jan, 2007 1 commit
-
-
unknown authored
into mysql.com:/nfsdisk1/lars/MERGE/mysql-5.1-merge client/mysqlbinlog.cc: Auto merged client/mysqldump.c: Auto merged configure.in: Auto merged include/config-win.h: Auto merged include/my_global.h: Auto merged include/my_pthread.h: Auto merged libmysqld/CMakeLists.txt: Auto merged mysql-test/mysql-test-run.pl: Auto merged mysql-test/r/rpl_row_tabledefs_2myisam.result: Auto merged mysql-test/r/rpl_row_tabledefs_3innodb.result: Auto merged mysql-test/r/rpl_sp.result: Auto merged mysql-test/t/disabled.def: Auto merged mysys/my_thr_init.c: Auto merged sql/CMakeLists.txt: Auto merged sql/field.cc: Auto merged sql/field.h: Auto merged sql/handler.cc: Auto merged sql/item_create.cc: Auto merged sql/item_timefunc.cc: Auto merged sql/log.cc: Auto merged sql/log.h: Auto merged sql/log_event.h: Auto merged sql/mysql_priv.h: Auto merged sql/rpl_injector.cc: Auto merged sql/rpl_injector.h: Auto merged sql/set_var.cc: Auto merged sql/set_var.h: Auto merged sql/slave.cc: Auto merged sql/sp_head.cc: Auto merged sql/sp_head.h: Auto merged sql/sql_acl.cc: Auto merged sql/sql_base.cc: Auto merged sql/sql_class.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_insert.cc: Auto merged sql/sql_lex.cc: Auto merged sql/sql_lex.h: Auto merged sql/sql_load.cc: Auto merged sql/sql_locale.cc: Auto merged sql/sql_parse.cc: Auto merged sql/sql_view.cc: Auto merged sql/table.cc: Auto merged unittest/mysys/my_atomic-t.c: Auto merged sql/log_event.cc: Manual merge main->rpl sql/mysqld.cc: Manual merge main->rpl
-
- 11 Jan, 2007 8 commits
-
-
unknown authored
into tiger.mmj.dk:/Users/mmj/bktrees/mysql-5.1-build configure.in: Auto merged mysql-test/install_test_db.sh: Auto merged BitKeeper/deleted/.del-CMakeLists.txt~3: Auto merged BitKeeper/deleted/.del-configure.js: Auto merged mysql-test/mysql-test-run.pl: Auto merged scripts/mysql_install_db.sh: Auto merged sql/mysqld.cc: Auto merged
-
unknown authored
The test uses show binlog event which is not deterministic due to the single insert delayed query can generate up to number of inserted rows row-events pair (table_map + Write_row) The solution is to leave the current binlogging behaviour as it is and change the test as spliting arguments of insert delayed query. Note, that such fix was applied earlier for binlog_insert_delayed.test : https://intranet.mysql.com/secure/apps/irclog.php?channel=22&start_time=2006-09-27 There are no tests with insert delayed and show binlog events combination requiring this fix. mysql-test/extra/rpl_tests/rpl_row_delayed_ins.test: splitting insert delayed per rows
-
unknown authored
into siva.hindu.god:/home/tsmith/m/bk/mysql-5.1-build BitKeeper/deleted/.del-CMakeLists.txt~3: Auto merged BitKeeper/deleted/.del-README~1: Auto merged BitKeeper/deleted/.del-configure.js: Auto merged BitKeeper/deleted/.del-mysql_test_run_new.c~a23ab2c4b28b25ad: Auto merged mysql-test/mysql-test-run.pl: Auto merged scripts/mysql_install_db.sh: Auto merged configure.in: Manual merge mysql-test/install_test_db.sh: Manual merge sql/mysqld.cc: Manual merge
-
unknown authored
into trift2.:/MySQL/M51/push-5.1 mysys/my_read.c: Auto merged BitKeeper/deleted/.del-mysqldmax.dsp~5d213fe1c204142e: Auto merged BitKeeper/deleted/.del-libmysqld.dsp~78dc6a589e5a4149: Null merge. BitKeeper/deleted/.del-mysql.dsw~7ea9e16395f139f4: Null merge. BitKeeper/deleted/.del-mysqld.dsp~ffdbf2d234e23e56: Null merge. BitKeeper/deleted/.del-mysqldemb.dsp~1baf8c0e59ee9f7e: Null merge. BitKeeper/deleted/.del-mysqlserver.dsp~d99cfb2d291e3785: Null merge. scripts/make_binary_distribution.sh: Null merge, this change is already suppressed in 4.1. support-files/MySQL-shared-compat.spec.sh: Null merge, this change is already suppressed in 4.1.
-
unknown authored
into trift2.:/MySQL/M51/push-5.1 configure.in: Auto merged
-
unknown authored
into trift2.:/MySQL/M51/push-5.1 mysql-test/mysql-test-run.pl: Auto merged
-
unknown authored
into suse.vabb.com:/home/Chuck/development/mysql-5.1-new-rpl
-
unknown authored
into tiger.mmj.dk:/Users/mmj/bktrees/mysql-5.0 configure.in: Auto merged mysql-test/install_test_db.sh: Auto merged mysql-test/mysql-test-run.pl: Auto merged scripts/mysql_install_db.sh: Auto merged sql/CMakeLists.txt: Auto merged sql/mysqld.cc: Auto merged win/configure.js: Auto merged
-
- 10 Jan, 2007 7 commits
-
-
unknown authored
This patch is an additional code change to the get_str_len_and_pointer method in log_events.cc. This change is necessary to correct a problem encountered on 64-bit SUSE where the auto_increment_* variables were being overwritten. The change corrects a cast mismatch which caused the problem. sql/log_event.cc: BUG#22645 - LC_TIME_NAMES: Statement not replicated This patch is an additional code change to the get_str_len_and_pointer, copy_str_and_move methods and the Query_leg_event constructor to correct a type mismatch encountered during testing on SUSE 64-bit. The patch changes the data type of the buffer variables was changed to a new typedef defined in the Log_event class. The new type is: typedef unsigned char Byte; The variables changed include: pos, start, end, and data_buf sql/log_event.h: This patch adds a new type definition to the Log_event class. The new type is typedef unsigned char Byte. It is used in place of the uchar and usigned char definitions in the Query_log_event constructor to eliminate type conversion problems encountere on SUSE 64-bit.
-
unknown authored
Corrected default for --disable-grant-options configure.in: Corrected default for --disable-grant-options
-
unknown authored
into mysql.com:/d2/hf/mr10/my50-mr10
-
unknown authored
Removed line accidently inserted when correcting bug#18526 configure.in: Removed line accidently inserted when correcting bug#18526
-
unknown authored
into mysql.com:/d2/hf/mr10/my51-mr10 mysql-test/t/csv.test: Auto merged
-
unknown authored
into mysql.com:/d2/hf/mr10/my50-mr10
-
unknown authored
- configure --disable-grant-options defines DISABLE_GRANT_OPTIONS - configure.js/cmake also updated - if DISABLE_GRANT_OPTIONS is defined, mysqld no longer recognizes: --bootstrap --init-file --skip-grant-tables Scripts which rely on those three options are modified to check the environment for MYSQLD_BOOTSTRAP; it should be set to the full path of a mysqld which does handle those options. For example: $ export MYSQLD_BOOTSTRAP $ MYSQLD_BOOTSTRAP=/path/to/full/MySQL/bin/mysqld $ mysql_install_db $ make test configure.in: WL#3670 Add --disable-grant-options mysql-test/install_test_db.sh: Add MYSQLD_BOOTSTRAP env variable, to enable test suite to work even if mysqld does not accept --bootstrap or --skip-grant-tables. mysql-test/mysql-test-run.pl: Add MYSQLD_BOOTSTRAP env variable, to enable test suite to work even if mysqld does not accept --bootstrap or --skip-grant-tables. mysql-test/mysql_test_run_new.c: Mention need for MYSQLD_BOOTSTRAP in a comment, in case this needs to be used with a mysqld which does not accept the --bootstrap option. scripts/mysql_install_db.sh: Add MYSQLD_BOOTSTRAP env variable, to enable mysqld_install_db to work even if mysqld does not accept --bootstrap or --skip-grant-tables. sql/CMakeLists.txt: Add DISABLE_GRANT_OPTIONS define sql/mysqld.cc: Add DISABLE_GRANT_OPTIONS define, which removes the --bootstrap, --init-file, and --skip-grant-tables options win/README: Document the DISABLE_GRANT_OPTIONS define win/configure.js: Handle DISABLE_GRANT_OPTIONS
-
- 09 Jan, 2007 9 commits
-
-
unknown authored
support-files/MySQL-shared-compat.spec.sh : Dummy, irrelevant change - just trigger a new build. support-files/MySQL-shared-compat.spec.sh: Dummy, irrelevant change - just trigger a new build.
-
unknown authored
no future build of it will include Berkeley DB: Remove it from the Windows VC++ project files.
-
unknown authored
into kpdesk.mysql.com:/home/thek/dev/mysql-5.0-build
-
unknown authored
into kpdesk.mysql.com:/home/thek/dev/mysql-5.1-build
-
unknown authored
into kpdesk.mysql.com:/home/thek/dev/bug23010/my51-bug23010 mysys/mf_iocache.c: Auto merged mysys/my_seek.c: SCCS merged
-
unknown authored
into kpdesk.mysql.com:/home/thek/dev/bug23010/my50-bug23010 mysys/mf_iocache.c: Auto merged mysys/my_seek.c: Auto merged
-
unknown authored
into kpdesk.mysql.com:/home/thek/dev/bug23010/my41-fix23010 mysys/mf_iocache.c: Auto merged mysys/my_seek.c: Auto merged
-
unknown authored
mysys/mf_iocache.c: Exclude mysys/my_seek.c: Exclude
-
unknown authored
configure.in: Fix a wrong comment (as of 5.1, there is no separate keeping of NDB version numbers).
-
- 08 Jan, 2007 5 commits
-
-
unknown authored
correctly in some cases", from 5.0. In short, calls to a stored function located in another database than the default database, may fail to replicate if the call was made by SET, SELECT, or DO. sp_head.cc automerged, only the test and test's result had to be hand-merged. mysql-test/r/rpl_sp.result: manual merge of the result of the test for BUG#19725 mysql-test/r/rpl_switch_stm_row_mixed.result: the bugfix changes results as expected mysql-test/t/rpl_sp.test: manual merge of the test for BUG#19725
-
unknown authored
into gbichot3.local:/home/mysql_src/mysql-5.1-rpl-19725 sql/sp_head.cc: Auto merged mysql-test/r/rpl_sp.result: using 5.1's version, will merge by hand after running the new test mysql-test/t/rpl_sp.test: using 5.1's version, will re-insert the new test portion by hand
-
unknown authored
correctly in some cases". In short, calls to a stored function located in another database than the default database, may fail to replicate if the call was made by SET, SELECT, or DO. Longer: when a stored function is called from a statement which does not go to binlog ("SET @A=somedb.myfunc()", "SELECT somedb.myfunc()", "DO somedb.myfunc()"), this crafted statement is binlogged: "SELECT myfunc();" (accompanied with a mention of the default database if there is one). So, if "somedb" is not the default database, the slave would fail to find myfunc(). The fix is to specify the function's database name in the crafted binlogged statement, like this: "SELECT somedb.myfunc();". Test added in rpl_sp.test. mysql-test/r/rpl_sp.result: Because I moved the SHOW BINLOG EVENTS down a bit, big portions of its output move. Also, the function's database name appears in SELECT statements. mysql-test/t/rpl_sp.test: Adding test for BUG#19725. Moving the SHOW BINLOG EVENTS down, it is run at the very end to test everything. sql/sp_head.cc: When binlogging a "SELECT myfunc()" (when a stored function is executed inside a statement which does not go to the binlog (like a SET, SELECT, DO), we need to write "SELECT db_of_myfunc().myfunc()", because the function may be in a database which is not the default database.
-
unknown authored
- "make_binary_distribution" accepts a dummy "--platform=" argument. - "MySQL-shared-compat.spec" uses a "version40" define symbol internally. scripts/make_binary_distribution.sh: Newer versions of the release build tools call this with a "--platform=" argument which we seem not to need in 4.0, but which makes the tool crash (happened on SCO). Rather than add another version check into the build tools, just accept a "--platform=" argument and ignore it, just give a message. support-files/MySQL-shared-compat.spec.sh: The current version of "Do-shared-compat" needs two digits to identify the release families (to differ between 4.0 and 4.1), so the variable "version4" must get renamed to "version40".
-
unknown authored
into thorsen-consulting.dk:/Users/mmj/bktrees/mysql-5.1-build
-
- 06 Jan, 2007 2 commits
-
-
unknown authored
mysql-test/t/warnings-master.opt: Added skip-innodb option (which was what it once was...) mysql-test/t/warnings.test: Removed un-needed variable setting. Bug only had to do with unterimated string.
-
unknown authored
Cleaning up warning for windows. Innodb is compiled but disable on Windows, so it should be fine. NDB wasn't compiled in, which is what caused the issue. mysql-test/r/warnings.result: Modified warning to work with Windows mysql-test/t/warnings.test: Moved warning to use Innodb.
-
- 05 Jan, 2007 3 commits
-
-
unknown authored
into siva.hindu.god:/home/tsmith/m/bk/51-build storage/innobase/buf/buf0buf.c: Auto merged storage/innobase/dict/dict0dict.c: Auto merged storage/innobase/ha/ha0ha.c: Auto merged storage/innobase/ha/hash0hash.c: Auto merged storage/innobase/include/hash0hash.h: Auto merged storage/innobase/lock/lock0lock.c: Auto merged storage/innobase/log/log0recv.c: Auto merged
-
unknown authored
into mysql.com:/home/kent/bk/tmp/mysql-5.1-build scripts/make_binary_distribution.sh: Auto merged support-files/mysql.spec.sh: - Put back "libmygcc.a", found no real reason it was removed. - Add CFLAGS to gcc call with --print-libgcc-file, to make sure the correct "libgcc.a" path is returned for the 32/64 bit architecture.
-
unknown authored
into mysql.com:/home/kent/bk/tmp/mysql-5.0-build scripts/make_binary_distribution.sh: Auto merged
-