- 23 Jan, 2007 1 commit
-
-
unknown authored
into mysql.com:/home/gluh/MySQL/Merge/5.0-opt mysql-test/r/func_in.result: Auto merged mysql-test/r/range.result: Auto merged mysql-test/r/sp-code.result: Auto merged mysql-test/t/func_in.test: Auto merged mysql-test/t/range.test: Auto merged mysql-test/t/trigger.test: Auto merged mysql-test/t/view.test: Auto merged sql/item.cc: Auto merged sql/item_func.cc: Auto merged sql/mysql_priv.h: Auto merged sql/sql_insert.cc: Auto merged sql/sql_lex.cc: Auto merged sql/sql_lex.h: Auto merged sql/sql_prepare.cc: Auto merged sql/sql_select.cc: Auto merged sql/sql_table.cc: Auto merged mysql-test/r/select.result: manual merge mysql-test/r/view.result: manual merge mysql-test/t/select.test: manual merge
-
- 22 Jan, 2007 3 commits
-
-
unknown authored
Code cleanup after fix for bug#23417. sql/sql_select.cc: Code cleanup after fix for bug#23417.
-
unknown authored
Post fix for bug#25123. sql/sql_prepare.cc: Post fix for bug#25123.
-
unknown authored
When inserting into a join-based view the update fields from the ON DUPLICATE KEY UPDATE wasn't checked to be from the table being inserted into and were silently ignored. The new check_view_single_update() function is added to check that insert/update fields are being from the same single table of the view. sql/sql_insert.cc: Bug#25123: ON DUPLICATE KEY clause allows fields not from the insert table. The new check_view_single_update() function is added to check that insert/update fields are being from the same single table of the view. mysql-test/r/insert.result: Added a test case for bug#25123: ON DUPLICATE KEY clause allows fields not from the insert table. mysql-test/t/insert.test: Added a test case for bug#25123: ON DUPLICATE KEY clause allows fields not from the insert table.
-
- 19 Jan, 2007 14 commits
-
-
unknown authored
into olga.mysql.com:/home/igor/dev-opt/mysql-5.0-opt-bug25580
-
unknown authored
into moonbone.local:/work/25172-bug-5.0-opt-mysql
-
unknown authored
into recycle.(none):/src/mysql-5.0-maint mysys/string.c: Auto merged
-
unknown authored
- Corrected compiler warnings and performance problems with new dynstr_append_os_quoted function. mysys/string.c: Bug#22807 mysql_upgrade fails when called with a basedir-path containing spaces - Fix compiler warnings. - Used dynstr_append_mem where string length is known.
-
unknown authored
into olga.mysql.com:/home/igor/dev-opt/mysql-5.0-opt-bug25580 mysql-test/r/subselect.result: Auto merged
-
unknown authored
into olga.mysql.com:/home/igor/dev-opt/mysql-5.0-opt-bug25580
-
unknown authored
After fix for bug#21798 JOIN stores the pointer to the buffer for sorting fields. It is used while sorting for grouping and for ordering. If ORDER BY clause has more elements then the GROUP BY clause then a memory overrun occurs. Now the length of the ORDER BY list is always passed to the make_unireg_sortorder() function and it allocates buffer big enough to be used for bigger list. sql/sql_delete.cc: Bug#25172: Not checked buffer size leads to a server crash. Length parameter is initialized to 0 for the make_unireg_sortorder() function. sql/sql_select.cc: Bug#25172: Not checked buffer size leads to a server crash. Now the length of the ORDER BY list is always passed to the make_unireg_sortorder() function and it allocates buffer big enough to be used for bigger list. sql/sql_table.cc: Bug#25172: Not checked buffer size leads to a server crash. Length parameter is initialized to 0 for the make_unireg_sortorder() function. sql/sql_update.cc: Bug#25172: Not checked buffer size leads to a server crash. Length parameter is initialized to 0 for the make_unireg_sortorder() function. mysql-test/r/select.result: Added a test case for bug#25172: Not checked buffer size leads to a server crash. mysql-test/t/select.test: Added a test case for bug#25172: Not checked buffer size leads to a server crash.
-
unknown authored
-
unknown authored
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
-
unknown authored
and combined, they add a platform-specific warning. The warnings are not the goal of the test, in any case. mysql-test/t/ps.test: Quash platform-specific warnings.
-
unknown authored
into pilot.mysql.com:/home/msvensson/mysql/mysql-5.0-maint
-
unknown authored
- Additional patch removing check for mysql_errno on already closed mysql1 tests/mysql_client_test.c: No need to check mysql_errno of mysql1 which has already been closed.
-
unknown authored
UNION over correlated and uncorrelated SELECTS. In such subqueries each uncorrelated SELECT should be considered as uncacheable. Otherwise join_free is called for it and in many cases it causes some problems. mysql-test/r/subselect.result: Added a test case for bug #25219. mysql-test/t/subselect.test: Added a test case for bug #25219. sql/mysql_priv.h: Fixed bug #25219: crash for a query that contains an EXIST subquery with UNION over correlated and uncorrelated SELECTS. In such subqueries each uncorrelated SELECT should be considered as uncacheable. Otherwise join_free is called for it and in many cases it causes some problems. Added a new flag UNCACHEABLE_UNITED for such SELECTs. sql/sql_lex.cc: Fixed bug #25219: crash for a query that contains an EXIST subquery with UNION over correlated and uncorrelated SELECTS. In such subqueries each uncorrelated SELECT should be considered as uncacheable. Otherwise join_free is called for it and in many cases it causes some problems. Added a new flag UNCACHEABLE_UNITED for such SELECTs.
-
unknown authored
into mysql.com:/usr/home/ram/work/bug22533/my50-bug22533 mysql-test/r/select.result: Auto merged mysql-test/t/select.test: Auto merged
-
- 18 Jan, 2007 22 commits
-
-
unknown authored
into siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/maint/50 mysql-test/r/ndb_types.result: Auto merged mysql-test/t/ndb_types.test: Auto merged
-
unknown authored
mysql-test/r/ndb_types.result: update results mysql-test/t/ndb_types.test: Sleep a bit longer, to ensure that timestamp changes between: set @now = now(); and: insert into/update t1 Test case failed (select timestamp>@now from t1 ==> 0, should be 1), and passed when run again. This should(?) avoid that fluke. Clean up test file a bit while I'm here.
-
unknown authored
Makefile.am: Fix previous bad merge. Re-enable the test-ps target.
-
unknown authored
into siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/maint/50 sql/sql_parse.cc: Auto merged sql/sql_show.cc: Auto merged
-
unknown authored
into siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/maint/41
-
unknown authored
into siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/maint/50
-
unknown authored
into siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/maint/50 client/mysqlbinlog.cc: Auto merged include/my_pthread.h: Auto merged mysql-test/r/sp.result: Auto merged mysql-test/t/mix_innodb_myisam_binlog.test: Auto merged mysql-test/t/sp.test: Auto merged sql/mysqld.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_show.cc: Auto merged sql/sql_parse.cc: Manual merge
-
unknown authored
into siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/maint/41 sql/sql_show.cc: Auto merged sql/sql_parse.cc: Manual merge
-
unknown authored
into recycle.(none):/src/mysql-5.0-maint client/mysql_upgrade.c: Auto merged include/my_sys.h: Auto merged mysys/string.c: Auto merged
-
unknown authored
- Create space safe strings for system() calls in mysql_upgrade.exe client/mysql_upgrade.c: Bug#22807 mysql_upgrade fails when called with a basedir-path containing spaces - Make use of new dynstr_append_os_quoted function to produce a string safe for passing to the system() function. - Refactor possible source of assertion. include/my_sys.h: Bug#22807 mysql_upgrade fails when called with a basedir-path containing spaces - Declare dynstr_append_os_quoted function. mysys/string.c: Bug#22807 mysql_upgrade fails when called with a basedir-path containing spaces - Define dynstr_append_os_quoted function. This function will concatenate any number of strings, escapes any OS quote in the result then surround the whole affair in another set of quotes which is finally appended to specified DYNAMIC_STRING.
-
unknown authored
into siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/maint/40
-
unknown authored
into siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/50 configure.in: Auto merged
-
unknown authored
into siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/41 configure.in: Use local
-
unknown authored
into siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/50
-
unknown authored
into siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/41
-
unknown authored
into rakia.gmz:/home/kgeorge/mysql/autopush/B25382-5.0-opt
-
unknown authored
-
unknown authored
crashes server Check for null value is reliable only after calling some of the val_xxx() methods. If the val_xxx() method is not called the null_value flag will be set only for certain types of NULL values (like SQL constant NULLs for example). This caused a crash while trying to dereference a NULL pointer that is returned by val_str() for NULL values. Fixed by swapping the order of val_xxx() and null_value check. mysql-test/r/udf.result: Bug #25382: Passing NULL to an UDF called from stored procedures crashes server - test case mysql-test/t/udf.test: Bug #25382: Passing NULL to an UDF called from stored procedures crashes server - test case sql/item_func.cc: Bug #25382: Passing NULL to an UDF called from stored procedures crashes server - reliably check null_value
-
unknown authored
into mysql.com:/usr/home/ram/work/bug22533/my50-bug22533 mysql-test/r/type_bit.result: Auto merged mysql-test/t/select.test: Auto merged sql/field.cc: Auto merged sql/item.cc: Auto merged
-
unknown authored
-
unknown authored
-
unknown authored
into mysql.com:/usr/home/ram/work/bug22533/my50-bug22533 mysql-test/r/select.result: resolve skipped mysql-test/t/range.test: merging mysql-test/t/select.test: merging sql/item.cc: merging
-