- 14 Dec, 2006 10 commits
-
-
unknown authored
into polly.local:/home/kaa/src/maint/mysql-5.0-maint mysys/typelib.c: Auto merged sql/field.cc: Auto merged sql/field.h: Auto merged
-
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.
-
unknown authored
into kpdesk.mysql.com:/home/thek/dev/mysql-5.0-maint
-
unknown authored
into naruto.:C:/cpp/mysql-5.0-maint
-
unknown authored
into shellback.:C:/mysql/mysql-5.0-maint
-
unknown authored
- Use same precision (milliseconds) for all time functions used when calculating time for pthread_cond_timedwait - Use 'GetSystemTimeAsFileTime' for both start and curr time include/config-win.h: Move all defines for 'pthread_cond_timedwait' to my_pthread.h include/my_global.h: Move all defines for 'pthread_cond_timedwait' to my_pthread.h include/my_pthread.h: Redefine "struct timespec" to better suite the needs of 'pthread_cond_timedwait' for windows implementation Add windows specific define for set_timespec_nsec Move all defines related to pthread_cond_timed wait to same file Declare union for reading FILETIME as __int64 with correct alignment mysys/my_wincond.c: Use 'GetSystemTimeAsFileTime()' both for getting start and current time Use new members of "struct timespec" Make sure the calculated timeout value never exceeds the value passed to set_timespec/set_timespec_nsec server-tools/instance-manager/guardian.cc: Use set_timespec macro server-tools/instance-manager/instance.cc: Use set_timespec macro
-
unknown authored
into kpdesk.mysql.com:/home/thek/dev/mysql-5.0-maint
-
unknown authored
Merged 4.1->5.0. Updated myisam.test mysql-test/r/myisam.result: updated result file mysql-test/t/myisam.test: Removing symlink specific test from myisam test
-
unknown authored
into kpdesk.mysql.com:/home/thek/dev/bug17489/my50-bug17498 mysql-test/r/symlink.result: Auto merged mysql-test/t/symlink.test: Auto merged mysql-test/r/myisam.result: SCCS merged mysql-test/t/myisam.test: SCCS merged
-
unknown authored
- When this bug was corrected it changed the behavior for data/index directory in the myisam test case. - This patch moves the OS depending tests to a non-windows test file. mysql-test/r/myisam.result: moved test from myisam to symlink; new result file mysql-test/r/symlink.result: moved test from myisam to symlink; new result file mysql-test/t/myisam.test: moved test from myisam to symlink mysql-test/t/symlink.test: moved test from myisam to symlink
-
- 13 Dec, 2006 2 commits
- 11 Dec, 2006 13 commits
-
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint client/mysqltest.c: Auto merged
-
unknown authored
"select count" is one more.
-
unknown authored
- Add printout in safe_connect indicating that mysqltest is in a loop waiting for connection to mysqld. Will be printed when --verbose is passed as argument to mysqltest client/mysqltest.c: Bug#20225 mysqltest runs in an endless loop when trying to start rpl_sys test suite - Add printout in safe_connect indicating that mysqltest is in a loop waiting for connection to mysqld
-
unknown authored
into naruto.:C:/cpp/mysql-5.0-maint
-
unknown authored
into naruto.:C:/cpp/mysql-5.0-maint sql/sql_parse.cc: Auto merged
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
-
unknown authored
into naruto.:C:/cpp/mysql-5.0-maint
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint mysql-test/mysql-test-run.pl: Auto merged
-
unknown authored
mysql-test/mysql-test-run.pl: Pass "--no-defaults" to embedded server as "--server-arg=--no-defaults"
-
unknown authored
mysql-test/Makefile.am: Fix merge error
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint sql/sql_class.h: Auto merged
-
unknown authored
- Windows opens stdin in text mode by default. Certain characters such as CTRL-Z are interpeted as events and the read() method will stop. CTRL-Z is the EOF marker in Windows. to get past this you have to open stdin in binary mode. Setmode() is used to set stdin in binary mode. Errors on setting this mode result in halting the function and printing an error message to stderr. client/mysqlbinlog.cc: Apply fix to 5.0 as well
-
- 10 Dec, 2006 1 commit
-
-
unknown authored
into naruto.:C:/cpp/bug17489/my50-bug17489 mysql-test/r/windows.result: Auto merged mysql-test/t/windows.test: Auto merged sql/sql_parse.cc: Auto merged
-
- 08 Dec, 2006 11 commits
-
-
unknown authored
into siva.hindu.god:/usr/home/tim/m/bk/tmp/fix-Makefile-perl/50 sql/sql_class.h: Auto merged Makefile.am: Manual merge.
-
unknown authored
- test* targets are identical (as much as possible) to 5.0 & 5.1 versions - use @PERL@ ./mysql-test-run.pl, instead of depending on /usr/bin/perl location - PHONY: target includes all test targets Makefile.am: - test* targets are identical (as much as possible) to 5.0 & 5.1 versions - use @PERL@ ./mysql-test-run.pl, instead of depending on /usr/bin/perl location - PHONY: target includes all test targets
-
unknown authored
into polly.local:/home/kaa/src/maint/mysql-5.0-maint mysql-test/r/func_in.result: Auto merged mysql-test/t/func_in.test: Auto merged sql/opt_range.cc: Auto merged
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint mysql-test/t/kill.test: Auto merged
-
unknown authored
mysql-test/t/kill.test: Move the connect of second connection to just before the query to be killed are sent. This introduces less variance since the connect time is not included in the delay we want between send of query and kill.
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint client/mysqltest.c: Auto merged mysql-test/t/mysqladmin.test: Auto merged sql/sql_class.h: Auto merged
-
unknown authored
-
unknown authored
- Use "mysql_field_count" to determine if there is a need to call "mysql_store_result" client/mysqltest.c: Only call 'mysql_store_result' if 'mysql_field_count' is greater than 0 indicating that this query has a result set. This change is mainly since if mysql_store_result fails the value returned by mysql_field_count will be reset.
-
unknown authored
- Thanks to Vasil Dimov for the patch! client/mysqltest.c: Use my_snprintf to protect against exceeding size of buff Since variable name and valu might not be null terminated it's necessary to provide the length of the format specifiers.
-
unknown authored
-
unknown authored
mysql-test/Makefile.am: Add missing ($DESTDIR) wich cause "make discheck" to fail scripts/make_binary_distribution.sh: Add std_data/*.MY* files to binary dist
-
- 07 Dec, 2006 3 commits
-
-
unknown authored
forwards-incompatible change.
-
unknown authored
- Using DATA/INDEX DIRECTORY option on Windows put data/index file into default directory because the OS doesn't support readlink(). - The procedure for changing data/index file directory is different under Windows. - With this fix we report a warning if DATA/INDEX option is used, but OS doesn't support readlink(). mysql-test/r/windows.result: - updated result file. mysql-test/t/windows.test: - Added test case to verify we get warnings if we specify DATA/INDEX DIRECTORY on a platform which doesn't support readlink(). sql/sql_parse.cc: - Added warnings if DATA/INDEX DIRECTORY option is used but not supported by the target platform.
-
unknown authored
into shakedown.(none):/home/jpipes/dev/mysql-5.0-maint
-