- 08 Dec, 2007 2 commits
-
-
unknown authored
into lapi.mysql.com:/home/tkatchaounov/mysql/src/5.1#32694 mysql-test/r/type_datetime.result: Auto merged mysql-test/t/type_datetime.test: Manual merge for BUG#32694. sql/item_cmpfunc.cc: Manual merge for BUG#32694.
-
unknown authored
The problem was that when convert_constant_item is called for subqueries, this happens when we already started executing the top-level query, and the field argument of convert_constant_item pointed to a valid table row. In turn convert_constant_item used the field buffer to compute the value of its item argument. This copied the item's value into the field, and made equalities with outer references always true. The fix saves/restores the original field's value when it belongs to an outer table. mysql-test/r/type_datetime.result: Test for BUG#32694. mysql-test/t/type_datetime.test: Test for BUG#32694. sql/item_cmpfunc.cc: - Changed convert_constant_item() so that it doesn't destroy the contents of its field argument when the field originates from table in an outer query.
-
- 07 Dec, 2007 6 commits
-
-
unknown authored
into moonbone.local:/work/32482-5.1-opt-mysql sql/item_func.cc: Auto merged
-
unknown authored
The Item_func_set_user_var::register_field_in_read_map() did not check that the result_field was null.This caused server crashes for queries that required order by such a field and were executed without using a temporary table. The Item_func_set_user_var::register_field_in_read_map() now checks the result_field to be not null. mysql-test/t/user_var.test: Added a test case for the bug#32482: Crash for a query with ORDER BY a user variable. mysql-test/r/user_var.result: Added a test case for the bug#32482: Crash for a query with ORDER BY a user variable. sql/item_func.cc: Bug#32482: Crash for a query with ORDER BY a user variable. The Item_func_set_user_var::register_field_in_read_map() now checks the result_field to be not null.
-
unknown authored
into macbook.gmz:/Users/kgeorge/mysql/work/merge-5.1-opt BitKeeper/deleted/.del-ps_6bdb.result: Auto merged client/mysql.cc: Auto merged mysql-test/r/delete.result: Auto merged mysql-test/r/merge.result: Auto merged mysql-test/r/ps_2myisam.result: Auto merged mysql-test/r/ps_3innodb.result: Auto merged mysql-test/r/ps_4heap.result: Auto merged mysql-test/r/ps_5merge.result: Auto merged mysql-test/r/type_bit.result: Auto merged mysql-test/suite/ndb/r/ps_7ndb.result: Auto merged mysql-test/t/delete.test: Auto merged mysql-test/t/merge.test: Auto merged mysql-test/t/variables.test: Auto merged sql/item_func.cc: Auto merged sql/mysqld.cc: Auto merged sql/opt_range.cc: Auto merged sql/protocol.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_insert.cc: Auto merged sql-common/my_time.c: Auto merged sql/sql_select.cc: Auto merged sql/sql_yacc.yy: Auto merged storage/myisam/ha_myisam.cc: Auto merged tests/mysql_client_test.c: Auto merged mysql-test/r/myisam.result: merge 5.0-opt -> 5.1-opt mysql-test/r/subselect.result: merge 5.0-opt -> 5.1-opt mysql-test/t/myisam.test: merge 5.0-opt -> 5.1-opt mysql-test/t/subselect.test: merge 5.0-opt -> 5.1-opt
-
unknown authored
into mysql.com:/home/hf/work/26921/my51-26921
-
unknown authored
into mysql.com:/home/hf/work/26921/my51-26921 libmysqld/lib_sql.cc: Auto merged tests/mysql_client_test.c: Auto merged
-
unknown authored
into mysql.com:/home/hf/work/26921/my51-26921 libmysqld/lib_sql.cc: Auto merged tests/mysql_client_test.c: Auto merged
-
- 06 Dec, 2007 9 commits
-
-
unknown authored
into mysql.com:/home/hf/work/mrg/my51-mrg
-
unknown authored
mysql-test/r/partition_archive.result: test results mysql-test/t/partition_archive.test: tests added
-
unknown authored
initialise limits properly for getopt_ll_limit() (fixes falcon_opt test) sql/sql_plugin.cc: initialise limits properly for getopt_ll_limit()
-
unknown authored
into mysql.com:/home/hf/work/mrg/my51-mrg mysql-test/r/partition.result: merging mysql-test/t/partition.test: merging sql/ha_partition.cc: SCCS merged
-
unknown authored
ha_partition::update_create_info() just calls update_create_info of a first partition, so only get the autoincrement maximum of the first partition, so SHOW CREATE TABLE can show small AUTO_INCREMENT parameters. Fixed by implementing ha_partition::update_create_info() in a way other handlers work. HA_ARCHIVE:stats.auto_increment handling made consistent with other engines mysql-test/r/archive.result: Bug #32247 Test reports wrong value of "AUTO_INCREMENT" (on a partitioned InnoDB table). test result fixed mysql-test/r/partition.result: Bug #32247 Test reports wrong value of "AUTO_INCREMENT" (on a partitioned InnoDB table). test result mysql-test/suite/rpl/r/rpl_innodb_bug28430.result: Bug #32247 Test reports wrong value of "AUTO_INCREMENT" (on a partitioned InnoDB table). test result fixed mysql-test/t/partition.test: Bug #32247 Test reports wrong value of "AUTO_INCREMENT" (on a partitioned InnoDB table). test added as rpl_innodb_bug28430 is INNOBASE specific while the bug is not sql/ha_partition.cc: Bug #32247 Test reports wrong value of "AUTO_INCREMENT" (on a partitioned InnoDB table). ha_partition::update_create_info() implemented storage/archive/ha_archive.cc: Bug #32247 Test reports wrong value of "AUTO_INCREMENT" (on a partitioned InnoDB table). ha_archive.stats.auto_increment now contains next (not last used) value of auto_increment to be consistent with other engines
-
unknown authored
into mysql.com:/misc/mysql/31177/51-31177
-
unknown authored
into mysql.com:/misc/mysql/31177/50-31177 mysql-test/r/ps_2myisam.result: Auto merged mysql-test/r/ps_3innodb.result: Auto merged mysql-test/r/ps_4heap.result: Auto merged mysql-test/r/ps_5merge.result: Auto merged mysql-test/r/ps_6bdb.result: Auto merged mysql-test/r/ps_7ndb.result: Auto merged mysql-test/t/variables.test: Auto merged sql/item_func.cc: Auto merged sql/mysqld.cc: Auto merged
-
unknown authored
into mysql.com:/misc/mysql/31177/51-31177 BitKeeper/deleted/.del-ps_6bdb.result: Auto merged mysys/my_getopt.c: Auto merged mysql-test/r/ps_2myisam.result: manual merge mysql-test/r/ps_3innodb.result: manual merge mysql-test/r/ps_4heap.result: manual merge mysql-test/r/ps_5merge.result: manual merge mysql-test/suite/ndb/r/ps_7ndb.result: manual merge mysql-test/t/variables.test: manual merge sql/mysqld.cc: NULL sql/item_func.cc: Signedness is already propagated properly for user-vars in 5.1. sql/set_var.cc: add correct handling of signedness when assigning 64-bit values to sysvars. sql/set_var.h: cleanliness.
-
unknown authored
additional fixes for BDB and correct assignment of both signed and unsigned 64-bit data to unsigned system variables mysql-test/r/ps_2myisam.result: account for UNSIGNED_FLAG mysql-test/r/ps_3innodb.result: account for UNSIGNED_FLAG mysql-test/r/ps_4heap.result: account for UNSIGNED_FLAG mysql-test/r/ps_5merge.result: account for UNSIGNED_FLAG mysql-test/r/ps_6bdb.result: account for UNSIGNED_FLAG mysql-test/r/ps_7ndb.result: account for UNSIGNED_FLAG mysys/my_getopt.c: We have correct signed/unsigned information now, so we no longer need to err on the side of caution. sql/item_func.cc: Copy unsigned info over from entry so the item's data correctly describe it. sql/mysqld.cc: BDB log buffer size: default can't be less than minimum sql/set_var.cc: Handle signedness of in-values correctly when assigning to unsigned types, all the way up to 64-bit. Use handler from all three unsigned sysvar types. sql/set_var.h: thd_ulonglong: Override default check with one for unsigned types
-
- 04 Dec, 2007 4 commits
-
-
unknown authored
into dl145s.mysql.com:/data0/mhansson/my51-bug30234
-
unknown authored
into dl145s.mysql.com:/data0/mhansson/my50-bug30234 sql/sql_yacc.yy: Auto merged mysql-test/r/delete.result: SCCS merged mysql-test/t/delete.test: SCCS merged
-
unknown authored
-
unknown authored
additional fixes for 64-bit --- Merge mysql.com:/misc/mysql/31177/50-31177 into mysql.com:/misc/mysql/31177/51-31177 --- Bug#31177: Server variables can't be set to their current values additional 5.1 fixes (for plugins) mysql-test/t/variables.test: replace 32-bit and 64-bit values --- manual merge mysys/my_getopt.c: 'mod' no longer used. on 64-bit, limit to (signed) (LONG)LONG_MAX to prevent badness in classes using longlong. sql/sql_plugin.cc: handle signedness in plugin-vars so we won't hit an assert() in getopt_*_limit_value()
-
- 03 Dec, 2007 5 commits
-
-
unknown authored
into dl145s.mysql.com:/data0/mhansson/my51-bug30234 mysql-test/r/delete.result: Auto merged mysql-test/t/delete.test: Auto merged sql/sql_yacc.yy: Auto merged
-
unknown authored
Restores files that were automerged during null merge. mysql-test/r/delete.result: Bug#30234: Post-null-merge fix mysql-test/t/delete.test: Bug#30234: Post-null-merge fix
-
unknown authored
into linux-st28.site:/home/martin/mysql/src/bug30234/my51-bug30234
-
unknown authored
Anti-patch. This patch undoes the previously pushed patch. It is null-merged in versions 5.1 and above since there the original patch is still desired. mysql-test/r/delete.result: Bug#30234: Anti-patch mysql-test/t/delete.test: Bug#30234: Anti-patch sql/sql_yacc.yy: Bug#30234: Anti-patch
-
unknown authored
additional fixes for 64-bit mysql-test/t/variables.test: replace 32-bit and 64-bit values mysys/my_getopt.c: 'mod' no longer used. on 64-bit, limit to (signed) (LONG)LONG_MAX to prevent badness in classes using longlong.
-
- 02 Dec, 2007 3 commits
-
-
unknown authored
extra 5.1 fixes mysql-test/t/order_fill_sortbuf-master.opt: If we set the variable below minimum, we'll get a warning at start-up that we don't want in the tests.
-
unknown authored
into mysql.com:/misc/mysql/31177/51-31177 client/mysql.cc: Auto merged mysql-test/r/index_merge_myisam.result: Auto merged mysql-test/r/innodb_mysql.result: Auto merged mysql-test/r/ps.result: Auto merged mysql-test/r/subselect.result: Auto merged mysql-test/r/type_bit.result: Auto merged mysql-test/t/variables.test: Auto merged sql/mysql_priv.h: Auto merged sql/mysqld.cc: Auto merged sql/set_var.cc: Auto merged sql/sql_plugin.cc: Auto merged
-
unknown authored
into mysql.com:/misc/mysql/31177/50-31177 client/mysql.cc: Auto merged mysql-test/r/subselect.result: Auto merged mysql-test/r/type_bit.result: Auto merged mysql-test/t/variables.test: Auto merged sql/mysqld.cc: Auto merged
-
- 01 Dec, 2007 11 commits
-
-
unknown authored
5.1+ specific fixes (plugins etc.) include/my_getopt.h: make both ull and ll global mysql-test/r/index_merge_myisam.result: we throw warnings to the client, yea, verily mysql-test/r/innodb.result: we throw warnings to the client, yea, verily mysql-test/r/variables.result: we throw warnings to the client, yea, verily mysql-test/t/variables.test: correct result, is multiple of variable's block_size now mysys/my_getopt.c: export getopt_ll_limit_value(), check for integer wrap-around in it, same as in ull variant. Only print warnings to reporter when caller didn't ask for diagnostics, otherwise assume caller will handle any warnings (id est, throw them client-wards) sql/mysqld.cc: correct signedness of "concurrent-insert" sql/sql_plugin.cc: Throw sys-var out-of-range warnings client-wards for plugins, too.
-
unknown authored
into mysql.com:/misc/mysql/31177/51-31177 include/m_string.h: Auto merged include/my_getopt.h: Auto merged mysql-test/r/delayed.result: Auto merged mysql-test/r/innodb.result: Auto merged mysql-test/r/innodb_mysql.result: Auto merged mysql-test/r/key_cache.result: Auto merged mysql-test/r/ps.result: Auto merged mysql-test/r/type_bit.result: Auto merged mysql-test/r/type_bit_innodb.result: Auto merged mysql-test/t/variables.test: Auto merged sql/mysql_priv.h: Auto merged BitKeeper/deleted/.del-index_merge.result: Auto merged sql/set_var.cc: Auto merged mysql-test/r/variables.result: manual merge client/mysql.cc: manual merge client/mysqltest.c: manual merge mysql-test/r/subselect.result: manual merge mysys/my_getopt.c: manual merge sql/mysqld.cc: manual merge
-
unknown authored
into mysql.com:/misc/mysql/32707/51-32707 sql/protocol.cc: Auto merged
-
unknown authored
into mysql.com:/misc/mysql/32707/50-32707 sql/protocol.cc: Auto merged
-
unknown authored
into mysql.com:/home/hf/work/mrg/my50-mrg
-
unknown authored
into mysql.com:/home/hf/work/mrg/my51-mrg
-
unknown authored
into mysql.com:/home/hf/work/mrg/my50-mrg tests/mysql_client_test.c: Auto merged
-
unknown authored
into mysql.com:/home/hf/work/mrg/my41-mrg
-
unknown authored
-
unknown authored
into mysql.com:/misc/mysql/32180/51-32180
-
unknown authored
into mysql.com:/misc/mysql/32180/50-32180
-