- 16 Nov, 2006 1 commit
-
-
unknown authored
There was an improper order of doing chained operations. To the documentor: ENABLE|DISABLE KEYS combined with RENAME TO, and no other ALTER TABLE clause, leads to server crash independent of the presence of indices and data in the table. mysql-test/r/alter_table.result: update result mysql-test/t/alter_table.test: add test for bug#24129 sql/sql_table.cc: If there is operation on the KEYS, first do it and then do a rename if there is such. Or, we will crash because the underlying table has changed.
-
- 15 Nov, 2006 1 commit
-
-
unknown authored
with embedded spaces Problem: Original code written assuming password contains no spaces. Further, because of how sh interprets characters in variables, you cannot do the "simple solution". Solution: Move the "was a password provided" check to the end. This allows us to correctly quote the password argument when passed to the mysql client program. Addendum: Put this check inside of a shell fn to simplify the code. scripts/mysql_fix_privilege_tables.sh: Moved password existence check to end to allow for passwords with with embedded spaces.
-
- 25 Oct, 2006 4 commits
-
-
unknown authored
-
unknown authored
Update the binlog format parse routine to only be avaliable in 5.1 and allow for any binlog_format to be specified
-
unknown authored
Fix two memory leaks in mysql_client_test mysql-test/mysql-test-run.pl: Add valgrinding support for mysql_client_test tests/mysql_client_test.c: Fix two memory leaks
-
unknown authored
Add comments Deperlify
-
- 24 Oct, 2006 8 commits
-
-
unknown authored
-
unknown authored
BitKeeper/etc/ignore: Added mysql-test/r/blackhole.log to the ignore list
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
-
unknown authored
BUG#23427 incompatible ABI change in 5.0.26? - Use the icheck tool if avaliable and compare the current mysql.h to a version controlled reference file BitKeeper/etc/ignore: Added include/check_abi include/mysql_h.ic to the ignore list configure.in: Look for icheck in configure include/Makefile.am: Add rule to build mysql_h.ic if icheck is avaliable Add rule to compare mysql_h.ic to the version controlled reference file mysql_h_abi.ic include/mysql.h: Add comment about taking care when editing mysql.h Add example how to add reserved fiels in the structs to allow for features to be added without breaking ABI include/mysql_h_abi.ic: Add new file describing the libmysqlclient ABI used as a reference to detect ABI breakage
-
unknown authored
-
unknown authored
Flush both stdout and stderr before abort'ing mysql_client_test mysql-test/mysql-test-run.pl: Run mysql_client_test wihtout --silent flag tests/mysql_client_test.c: Before aborting mysql_client_test in die, make sure to first flush stdout and finally after the error message has been printed also fflush stderr
-
unknown authored
with error 1 and we are running with --force The specific "analyze" code is enclosed in a .test file fwich can easily be modified to be more advanced mysql-test/mysql-test-run.pl: Attempt to run some quick queries to analyze the failure when mysqltest returns 1 indicating test has failed Initially only code to analyze "could not sync with master" is added as that is a blackbox and all problems looks the same mysql-test/include/analyze_failure_sync_with_master.test: New BitKeeper file ``mysql-test/include/analyze_failure_sync_with_master.test''
-
unknown authored
-
- 23 Oct, 2006 9 commits
-
-
unknown authored
This fixes problem where --replace_result failed in rpl000015 because the MYSQL_TCP_PORT variable was "3306\r" mysql-test/mysql-test-run.pl: Avoid matching the trailing carriage return when parsing the mysqld.spec file
-
unknown authored
The vardir trick can only bge used on platforms with native symlinks - otherwise opt_vardir need to be set to default value.
-
unknown authored
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
-
unknown authored
mysql-test/mysql-test-run.pl: If "var" is a symlink which does not point to anything, remove it
-
unknown authored
As both ndb and im are components that may be disabled as well as the binaries may not exist. Look for their binaries in a separate function and produce test casea failures for the test thet needs these components
-
unknown authored
-
unknown authored
into mysql.com:/usr/home/ram/work/bug20732/my41-bug20732
-
unknown authored
into mysql.com:/usr/home/ram/work/bug20732/my41-bug20732
-
- 20 Oct, 2006 4 commits
-
-
unknown authored
This can not be done in run_testcase_start_servers as embedded never starts a server Add error if mysqld_start is called in embedded mode
-
unknown authored
into polly.local:/home/kaa/src/maint/m41-maint--07OGk
-
unknown authored
into polly.local:/home/kaa/src/maint/m41-maint--07OGk
-
unknown authored
- compilation on the Alpha platform was broken because the Alpha-specific code was not updated after replacing the SIGRETURN_FRAME_COUNT constant with a variable
-
- 19 Oct, 2006 10 commits
-
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
-
unknown authored
Add function mtr_exe_maybe_exists to look for binaries that is optional Skip ndb support if it's a binary dist where mysqld supports ndb but there is no ndbd mysql-test/lib/mtr_misc.pl: Add function mtr_exe_maybe_exists mysql-test/mysql-test-run.pl: Adapt to running from binary dist Add function mtr_exe_maybe_exists to look for binaries that is optional Skip ndb support if it's a binary dist where mysqld supports ndb but there is no ndbd
-
unknown authored
to a value wich is not our default
-
unknown authored
commands and go directly to result file processing client/mysqltest.c: Add command "exit" to mysqltest mysql-test/r/mysqltest.result: Add command "exit" to mysqltest mysql-test/t/mysqltest.test: Add command "exit" to mysqltest
-
unknown authored
into example.com:/work/bug23379/my41-bug23379 sql/sql_class.cc: Auto merged
-
unknown authored
The value taken to be shown in SHOW PROCESSLIST is not initialized when THD is created and will be random for unauthenticated connections. To the documentor: Random value, instead of NULL, was shown, in SHOW PROCESSLIST for still non-authenticated connections. sql/sql_class.cc: Initialize time_after_lock. It is used from SHOW PROCESSLIST's code. If not initialized random value is shown for connected but still unauthenticated clients in the column Time.
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
-
unknown authored
client/mysqldump.c: fflush stderr after printing of error message mysql-test/include/have_lowercase0.inc: Remove extra ; mysql-test/r/rpl000015.result: Update result mysql-test/r/rpl_change_master.result: Update result mysql-test/r/rpl_error_ignored_table.result: Update result mysql-test/r/rpl_loaddata.result: Update result mysql-test/r/rpl_log.result: Update result mysql-test/r/rpl_max_relay_size.result: Update result mysql-test/r/rpl_replicate_do.result: Update result mysql-test/t/lowercase_table3.test: Backport from 5.0 mysql-test/t/mysql_protocols.test: Backport from 5.0 mysql-test/t/rpl000015.test: Backport from 5.0 mysql-test/t/rpl_change_master.test: Backport from 5.0 mysql-test/t/rpl_drop_db.test: Backport from 5.0 mysql-test/t/rpl_error_ignored_table.test: Backport from 5.0 mysql-test/t/rpl_loaddata.test: Backport from 5.0 mysql-test/t/rpl_log-master.opt: Use --force-restart command in master.opt to force a restart for this test case mysql-test/t/rpl_log.test: Backport from 5.0 mysql-test/t/rpl_max_relay_size.test: Backport from 5.0 mysql-test/t/rpl_replicate_do.test: Backport from 5.0
-
unknown authored
into example.com:/work/bug23379/my41-bug23379
-
unknown authored
We miss some records sometimes using RANGE method if we have partial key segments. Example: Create table t1(a char(2), key(a(1))); insert into t1 values ('a'), ('xx'); select a from t1 where a > 'x'; We call index_read() passing 'x' key and HA_READ_AFTER_KEY flag in the handler::read_range_first() wich is wrong because we have a partial key segment for the field and might miss records like 'xx'. Fix: don't use open segments in such a case. mysql-test/r/range.result: Fix for bug #20732: Partial index and long sjis search with '>' fails sometimes - test result. mysql-test/t/range.test: Fix for bug #20732: Partial index and long sjis search with '>' fails sometimes - test case. sql/opt_range.cc: Fix for bug #20732: Partial index and long sjis search with '>' fails sometimes - check if we have a partial key segment for a Item_func::GT_FUNC; if so, don't set NEAR_MIN flag in order to use HA_READ_KEY_OR_NEXT instead of HA_READ_AFTER_KEY. sql/opt_range.h: Fix for bug #20732: Partial index and long sjis search with '>' fails sometimes - key segment 'flag' slot added. sql/sql_select.cc: Fix for bug #20732: Partial index and long sjis search with '>' fails sometimes - test (HA_PART_KEY_SEG | HA_NULL_PART) as we split it in the sql/table.cc sql/table.cc: Fix for bug #20732: Partial index and long sjis search with '>' fails sometimes - set HA_NULL_PART flag instead of HA_PART_KEY_SEG in order not to mix them.
-
- 18 Oct, 2006 3 commits