- 21 Dec, 2006 1 commit
-
-
unknown authored
During optimization we replace NULL with 0 for not null date{time} fields, so uset MODE_NO_ZERO_DATE flag for a while as we don't want to give extra warnings. mysql-test/r/strict.result: Fix for bug #22824: strict, datetime, NULL, wrong warning - test result. mysql-test/t/strict.test: Fix for bug #22824: strict, datetime, NULL, wrong warning - test case. sql/item_cmpfunc.cc: Fix for bug #22824: strict, datetime, NULL, wrong warning - turn off MODE_NO_ZERO_DATE in order not to get extra warinings in the save_in_field().
-
- 19 Dec, 2006 1 commit
-
-
unknown authored
-
- 14 Dec, 2006 1 commit
-
-
unknown authored
Fix for bug #24117 "server crash on a FETCH with a cursor on a table which is not in the table cache" Problem: When creating a temporary field for a temporary table in create_tmp_field_from_field(), a resulting field is created as an exact copy of an original one (in Field::new_field()). However, Field_enum and Field_set contain a pointer (typelib) to memory allocated in the parent table's MEM_ROOT, which under some circumstances may be deallocated later by the time a temporary table is used. Solution: Override the new_field() method for Field_enum and Field_set and create a separate copy of the typelib structure in there. include/typelib.h: Added copy_typelib() declaration mysql-test/r/sp.result: Added a testcase for bug #24117 "server crash on a FETCH with a cursor on a table which is not in the table cache" mysql-test/t/sp.test: Added a testcase for bug #24117 "server crash on a FETCH with a cursor on a table which is not in the table cache" mysys/typelib.c: Added copy_typelib() definition sql/field.cc: Create a copy of the internal 'typelib' structure when copying Field_enum of Field_set objects. sql/field.h: Override new_field method in Field_enum (and Field_set) to copy the typelib structure.
-
- 24 Nov, 2006 2 commits
-
-
unknown authored
into ymer.(none):/usr/local/mysql/tmp/mysql-5.0-gca mysql-test/lib/mtr_io.pl: Auto merged mysql-test/mysql-test-run.pl: Auto merged mysql-test/r/date_formats.result: Auto merged mysql-test/t/date_formats.test: Auto merged sql-common/my_time.c: Auto merged sql/item_timefunc.cc: Auto merged
-
unknown authored
traces in Valgrind (broken libc6-dbg). Installing libc6-dbg on Debian will still provide proper bactraces, even without setting LD_LIBRARY_PATH explicitly. mysql-test/lib/mtr_io.pl: Do not link /usr/lib/debug/* on Debian <=3.1, as it causes broken stack traces in Valgrind. mysql-test/mysql-test-run.pl: Do not link /usr/lib/debug/* on Debian <=3.1, as it causes broken stack traces in Valgrind.
-
- 22 Nov, 2006 10 commits
-
-
unknown authored
into mysql.com:/usr/home/ram/work/bug21789/my41-bug21789 mysql-test/r/date_formats.result: Auto merged sql-common/my_time.c: Auto merged
-
unknown authored
into mysql.com:/usr/home/ram/work/bug21789/my50-bug21789 mysql-test/r/date_formats.result: Auto merged sql-common/my_time.c: Auto merged
-
unknown authored
into mysql.com:/usr/home/ram/work/bug21789/my50-bug21789 mysql-test/r/date_formats.result: Auto merged sql-common/my_time.c: merging
-
unknown authored
into mysql.com:/usr/home/ram/work/bug22029/my50-bug22029
-
unknown authored
into mysql.com:/usr/home/ram/work/bug22029/my41-bug22029 mysql-test/r/date_formats.result: Auto merged mysql-test/t/date_formats.test: Auto merged sql/item_timefunc.cc: Auto merged
-
unknown authored
into mysql.com:/usr/home/ram/work/bug22029/my50-bug22029 mysql-test/r/date_formats.result: Auto merged mysql-test/t/date_formats.test: Auto merged sql/item_timefunc.cc: Auto merged
-
unknown authored
- Use more appropriate test case. mysql-test/r/mysql.result: Bug#19799 delimiter command not working correctly when sourcing a sql file - Alt. Result. mysql-test/t/mysql_delimiter.sql: Bug#19799 delimiter command not working correctly when sourcing a sql file - Alt. Test
-
unknown authored
- Post Merge Fix. mysql-test/r/mysql.result: Bug#19799 delimiter command not working correctly when sourcing a sql file - Post merge fix.
-
unknown authored
into mysql.com:/usr/home/ram/work/bug22029/my50-bug22029 mysql-test/r/date_formats.result: Auto merged mysql-test/t/date_formats.test: Auto merged sql/item_timefunc.cc: merging
-
unknown authored
- Client side readline functions unconditionally search for Unix '\n' line endings. In this case, the delimiter statement was set to '//\r' instead of the intended '//'. When removing the '\n' check for and remove preceeding '\r' character as well. client/readline.cc: Bug#19799 delimiter command not working correctly when sourcing a sql file - When removing the '\n' character, check for and remove preceeding '\r' character as well. mysql-test/r/mysql.result: Bug#19799 delimiter command not working correctly when sourcing a sql file - Added Results. mysql-test/t/mysql_delimiter.sql: Bug#19799 delimiter command not working correctly when sourcing a sql file - Added Tests. mysql-test/t/mysql_delimiter_19799.sql: Bug#19799 delimiter command not working correctly when sourcing a sql file - File containing delimiter statement followed by '\r\n' line ending.
-
- 21 Nov, 2006 9 commits
-
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint client/mysqltest.c: Auto merged
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint client/mysqltest.c: Auto merged
-
unknown authored
-
unknown authored
columns to make sure they both exist and have the intended type scripts/mysql_fix_privilege_tables.sql: Can't attempt to MODIFY columns of a table before they exists. The new column's Create_view_priv,Show_view_priv, Create_routine_priv, Alter_routine_priv and Create_user_priv might not exists when upgrading. Thus an ALTER TABLE MODIFY is added in addition to the ALTER TABLE ADD that would have added them if they didn't exist. In this way can be sure the columns both exist and are of the correct type
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint mysql-test/lib/mtr_report.pl: Auto merged mysql-test/mysql-test-run.pl: Auto merged
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
-
unknown authored
mysql_fix_privilege_tables.s's ability to convert the system tables as of 3.20 to current system table format Add similar test for 4.1.23 tables - but use "mysql < mysql_fix_privilege_tables.sql" so it can be run on any platform. mysql-test/t/system_mysql_db_fix30020-master.opt: Rename: mysql-test/t/system_mysql_db_fix-master.opt -> mysql-test/t/system_mysql_db_fix30020-master.opt mysql-test/mysql-test-run.pl: Find mysql_fix_privilege_tables.sql and assign it's path and name to $MYSQL_FIX_PRIVILEGE_TABLES mysql-test/t/system_mysql_db_fix30020.test: Send output to var/log/system_mysql_db_fix30020.err Add some more comments mysql-test/t/system_mysql_db_fix40123-master.opt: New BitKeeper file ``mysql-test/t/system_mysql_db_fix40123-master.opt'' mysql-test/t/system_mysql_db_fix40123.test: New BitKeeper file ``mysql-test/t/system_mysql_db_fix40123.test''
-
unknown authored
-
unknown authored
-
- 20 Nov, 2006 6 commits
-
-
unknown authored
into shellback.(none):/home/msvensson/mysql/mysql-4.1-maint
-
unknown authored
client/mysql_upgrade.c: Send error messages to stderr Add new define EXTRA_CLIENT_PATHS containing additional paths where to look for the client binaries
-
unknown authored
into shellback.(none):/home/msvensson/mysql/mysql-5.0-maint client/mysqltest.c: Auto merged
-
unknown authored
into shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
-
unknown authored
"Y" are different) to utf8_general_ci (where same). scripts/mysql_fix_privilege_tables.sql: Change collation for ALTER-omitted ENUMs from utf8_bin (where "y" and "Y" are different) to utf8_general_ci (where same). In the previous statement, we clobber the collation to utf8_bin for all columns, and that's the wrong thing to do for enums.
-
unknown authored
$MYSQLTEST_VARDIR, for usage of vardir=e:/var<nnn> on windows client/mysqltest.c: Add auto replace for $MYSQLTEST_VARDIR Only add strings with strlen > to patterns array - avoids lot of strlen calls
-
- 17 Nov, 2006 10 commits
-
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint mysql-test/lib/mtr_cases.pl: Auto merged mysql-test/mysql-test-run.pl: Merge backport
-
unknown authored
Update usage description
-
unknown authored
-
unknown authored
mysql-test/mysql-test-run.pl: Don't require restart if master is not started when running with --extern
-
unknown authored
mysql-test/lib/mtr_cases.pl: Don't look at lines that start with # ie. a comment mysql-test/mysql-test-run.pl: Set env BIG_TEST if --big-test passed
-
unknown authored
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint sql/mysqld.cc: Auto merged
-
unknown authored
- Set environment variable BIG_TEST when using --big-test - Skip comment lines when looking for features a test case supports. mysql-test/lib/mtr_cases.pl: Skip all lines that start with # when looking for features required by the test case mysql-test/mysql-test-run.pl: Set environment variable BIG_TEST if option --big-test passed.
-