- 11 Nov, 2005 2 commits
-
-
unknown authored
we changing current db temporarily and restore it when sp is created. however thd->db in this case becomes empty string rather than NULL and so all checks of thd->db == NULL will be false. So if after this we'll issue create procedure sp2()... without specifying db it will succeed and create sp with db=NULL, which causes mysqldto crash on show procedure status statement. This patch fixes the problem. mysql-test/r/sp-error.result: Result for bug #14569. mysql-test/t/sp-error.test: Test for bug #14569. sql/sql_db.cc: Fixes bug #14569. When no db is selected as current and we do create procedure db.sp()... we changing current db temporarily and restore it when sp is created. however thd->db in this case becomes empty string rather than NULL and so all checks of thd->db == NULL will be false. This patch fixes this issue. sql/sql_parse.cc: Fixes bug #14569. Reverted from initial patch to check thd->db for null values only.
-
unknown authored
it is added a check of not being empty value. When modifying SP with Admin application on win32 it does not pass curent database so sp is stored with db=null which causes a crash later on show procedure status;
-
- 09 Nov, 2005 11 commits
-
-
unknown authored
into mysql.com:/M50/mysql-5.0
-
unknown authored
-
unknown authored
into mysql.com:/home/psergey/mysql-5.0-nov08-push
-
unknown authored
-
unknown authored
into mysql.com:/M50/mysql-5.0
-
unknown authored
into mysql.com:/home/psergey/mysql-5.0-nov08-push
-
unknown authored
-
unknown authored
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-push
-
unknown authored
into mysql.com:/home/psergey/mysql-5.0-nov08-push
-
unknown authored
into mysql.com:/home/psergey/mysql-5.0-oct08-push mysql-test/r/create.result: Auto merged mysql-test/t/create.test: Auto merged sql/sql_table.cc: Auto merged
-
unknown authored
-
- 08 Nov, 2005 6 commits
-
-
unknown authored
into production.mysql.com:/usersnfs/istruewing/autopush/mysql-5.0 sql/field.cc: Auto merged
-
unknown authored
-
unknown authored
mysql-test/r/create.result: Auto merged mysql-test/t/create.test: Auto merged sql/sql_table.cc: Auto merged
-
unknown authored
into mysql.com:/home/psergey/mysql-4.1-nov08-push
-
unknown authored
into mysql.com:/home/psergey/mysql-4.1-nov08-push
-
unknown authored
into mysql.com:/home/cps/mysql/trees/mysql-5.0-virgin
-
- 07 Nov, 2005 8 commits
-
-
unknown authored
into mysql.com:/home/cps/mysql/trees/mysql-5.0-virgin sql/examples/ha_tina.cc: Auto merged support-files/mysql.spec.sh: SCCS merged
-
unknown authored
into mysql.com:/M50/mysql-5.0
-
unknown authored
into mysql.com:/home/cps/mysql/trees/mysql-4.1
-
unknown authored
Replace the full socket path name, not just a directory component. bug#14720 mysql-test/r/connect.result: In cases where "--tmpdir=" is given to the test run, the socket file is not created below "$MYSQL_TEST_DIR" but rather within this directory. So the "--replace_result" should not be done to a directory in the path but rather to the complete path name of the socket file. bug#14720 mysql-test/t/connect.test: In cases where "--tmpdir=" is given to the test run, the socket file is not created below "$MYSQL_TEST_DIR" but rather within this directory. So the "--replace_result" should not be done to a directory in the path but rather to the complete path name of the socket file. bug#14720
-
unknown authored
Initialized 'ptr' for a newly instantiated varstring field. This is required by INSERT DELAYED. No test case. This is a migration issue. There are two shell scripts attached to the bug report. They can be used for testing. sql/field.cc: Bug#13707 - Server crash with INSERT DELAYED on MyISAM table Initialized 'ptr' for a newly instantiated varstring field. This is required by INSERT DELAYED.
-
unknown authored
test "length" first (otherwise when "length" is 0, the *from invalid access still triggers a Valgrind warning). I wrote to the Valgrind authors in case this is something fixable in Valgrind (normally the decision to issue a warning is based on the simulated CPU condition code, which should not be undefined here). BUILD/compile-pentium64-valgrind-max: putting this script in sync with compile-pentium-valgrind-max, otherwise we didn't have the federated engine compiled in. mysql-test/r/read_only.result: result update sql/field.cc: To avoid a Valgrind warning running the type_bit test: test "length" first (otherwise when "length" is 0, the *from invalid access still triggers a Valgrind warning).
-
unknown authored
into mysql.com:/home/mysql_src/mysql-5.0
-
unknown authored
when calculating table->null_fields. mysql-test/r/create.result: Testcase for BUG#14480 mysql-test/t/create.test: Testcase for BUG#14480 sql/sql_table.cc: BUG#14480: For CREATE ... SELECT ... a field list passed to mysql_prepare_table() contains instances of create_field for both create-list and select-list. mysql_prepare_table() matches elements that refer to the same field, and joins them together. When the "join" is performed, both of create_field structures has already been counted in "null_fields". This fix makes sure that "null_fields" contains the correct value after two create_field structures have been joined.
-
- 06 Nov, 2005 2 commits
- 05 Nov, 2005 4 commits
-
-
unknown authored
mysql-test/r/csv.result: correct result file mysql-test/t/csv.test: Add test for a bug sql/examples/ha_tina.cc: Add O_APPEND flag to my_open. We should always add rows to the end of file
-
unknown authored
mysql-test/r/csv.result: update result file mysql-test/t/csv.test: Add test for a bug sql/examples/ha_tina.cc: sort function should return reverted values for chains to be sorted in the right orded. don't do a strange memmove
-
unknown authored
into mysql.com:/home/psergey/mysql-5.0-oct03-push sql/mysql_priv.h: Auto merged
-
unknown authored
Always use bundled zlib support-files/mysql.spec.sh: Always use bundled zlib
-
- 04 Nov, 2005 7 commits
-
-
unknown authored
into rurik.mysql.com:/home/igor/dev/mysql-5.0-0 sql/handler.h: Auto merged sql/sql_table.cc: Auto merged
-
unknown authored
into mysql.com:/my/mysql-5.0
-
unknown authored
into mysql.com:/home/cps/mysql/trees/mysql-5.0 sql/spatial.h: Auto merged
-
unknown authored
-
unknown authored
into mysql.com:/my/mysql-5.0
-
unknown authored
(Main reason for reordering was to get rid of compiler warnings for order of element initialization) sql/log.cc: Remove compiler warning sql/sql_class.h: Reorder MYSQL_LOG struct elements to be more optimal for 64 bit computers (Main reason for reordering was to get rid of compiler warnings for order of element initialization)
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
-