- 09 Feb, 2004 1 commit
-
-
unknown authored
Fixed output from mysqlbinlog when using --skip-comments Fixed warnings from valgrind Fixed ref_length when used with HEAP tables More efficent need_conversion() Fixed error handling in UPDATE with not updateable tables Fixed bug in null handling in CAST to signed/unsigned client/client_priv.h: cleanup & added OPT_COMPACT client/mysqldump.c: Added option --compact to get a compact readable dump. Ensure that SET CHARACTER_SET_CLIENT is not done if we have not remembered the old character set Print optimization comments even if --skip-comments are given as these are not true comments. (Before these where only printed at end, which was a bug) mysql-test/r/cast.result: More cast tests mysql-test/r/derived.result: Removed warnings mysql-test/r/mysqldump.result: Update results after fixing mysqlbinlog mysql-test/r/query_cache.result: Make test usable with --extern more tests mysql-test/r/rpl_until.result: Make test repeatable under valgrind mysql-test/r/sql_mode.result: Fix test result mysql-test/r/subselect.result: Make test smaller. Update wrong results mysql-test/t/cast.test: More cast tests mysql-test/t/derived.test: Removed warnings mysql-test/t/query_cache.test: Make test usable with --extern more tests mysql-test/t/rpl_until.test: fix for valgrind. Becasue of unknown reason one got 'Slave_SQL_Running=yes' in this setup mysql-test/t/subselect.test: Make test case smaller sql/field.cc: Updated need_conversion() to use new arguments sql/ha_heap.cc: Moved initialization of ref_length to right place. This fixed problem that we had a ref_length of 8 for heap tables, which was not efficent. sql/item_func.cc: Cleanup sql/item_func.h: Fixed bug in null_handling for cast to signed/unsigned sql/item_strfunc.cc: Optimized/cleaned up Item_func_conv_charset3 sql/item_sum.cc: Cleanup. Ensure that some flag variables are cleared in cleanup() sql/item_sum.h: Fixed references to uninitialized memory sql/opt_range.cc: Fixed spelling error sql/sql_class.cc: Fixed wrong return code, which could case protocol problems sql/sql_class.h: After merge fix sql/sql_prepare.cc: Added comments sql/sql_show.cc: Cleanup sql/sql_string.cc: Optimzed usage of need_conversion(). - Removed not used argument - Save diff lenght in 'offset' to not have to recalculate length several times. Cleaned up comment Optimized copy_aligned() based on the knowledge that it's only called when you have wrong data sql/sql_string.h: Updated need_conversion() and copy_aligned() to use new arguments sql/sql_update.cc: Fixed error handling with non-updateable tables sql/sql_yacc.yy: Ensure that lex->lock_options are set correctly (to get rid of warnings from valgrind) Ensure that cast_type sets lex->charset and lex->length. Without these CONVERT() didn't work properly
-
- 05 Feb, 2004 5 commits
-
-
unknown authored
mysql-test/r/subselect.result: Auto merged sql/item_cmpfunc.cc: Auto merged sql/mysqld.cc: Auto merged sql/opt_range.cc: Auto merged sql/opt_range.h: Auto merged sql/sql_acl.cc: Auto merged sql/sql_class.cc: Auto merged
-
unknown authored
into eagle.mysql.r18.ru:/home/vva/work/BUG_2310/mysql-4.1
-
unknown authored
-
unknown authored
Added SQL_SELECT::cleanup() to make it easier to reuse SQL_SELECT item's for sub selects. Needed for proper fix for bug #2479. Added 'select_to_file' class to be able to merge identical code for select_export and select_dump client/mysql.cc: Print mysql_insert_id() in 'status' mysys/charset.c: after merge fixup sql/item_func.cc: Code cleanup + new comments sql/opt_range.cc: Added SQL_SELECT::cleanup() to make it easier to reuse SQL_SELECT item's for sub selects. sql/opt_range.h: Added SQL_SELECT::cleanup() to make it easier to reuse SQL_SELECT item's for sub selects. sql/sql_class.cc: Added 'select_to_file' class to be able to merge identical code for select_export and select_dump sql/sql_class.h: Added 'select_to_file' class to be able to merge identical code for select_export and select_dump sql/sql_select.cc: Fixed bug when calling 'delete select' in sub selects. (Bug 2479) (Test case is already commited to global source repository)
-
unknown authored
Emit "TYPE=" for 4.0 and 3.23 compatible modes mysql-test/r/mysqldump.result: Bug#2634 New test case mysql-test/t/mysqldump.test: Bug#2634 New test case
-
- 04 Feb, 2004 2 commits
- 03 Feb, 2004 4 commits
-
-
unknown authored
sql/item.cc: #ifdef DELETE_ITEMS removed sql/item_cmpfunc.cc: #ifdef DELETE_ITEMS removed sql/sql_parse.cc: #ifdef DELETE_ITEMS removed sql/sql_select.cc: #ifdef DELETE_ITEMS removed
-
unknown authored
-
unknown authored
we don't need opt_range.h and opt_range.cc files at all. BitKeeper/deleted/.del-opt_ft.cc~2048ffa561f9c59: Delete: sql/opt_ft.cc BitKeeper/deleted/.del-opt_ft.h~24aac1d29304599a: Delete: sql/opt_ft.h
-
unknown authored
into gw.mysql.r18.ru:/usr/home/ram/work/4.1.b2419
-
- 02 Feb, 2004 8 commits
-
-
unknown authored
into eagle.mysql.r18.ru:/home/vva/work/BUG_2438/mysql-4.1
-
unknown authored
into eagle.mysql.r18.ru:/home/vva/work/BUG_2438/mysql-4.1
-
unknown authored
from table->mem_root to thd->mem_root (fixed bug #2438 "Runaway memory consumption")
-
unknown authored
client/sql_string.cc: skipp -> skip dbug/dbug.c: skipp -> skip myisam/mi_create.c: skipp -> skip myisam/mi_dynrec.c: skipp -> skip myisam/mi_packrec.c: skipp -> skip myisam/mi_rrnd.c: skipp -> skip myisam/mi_test1.c: skipp -> skip myisam/myisampack.c: skipp -> skip myisam/rt_test.c: skipp -> skip myisam/sp_test.c: skipp -> skip mysys/default.c: skipp -> skip mysys/mf_iocache.c: skipp -> skip mysys/mf_pack.c: skipp -> skip mysys/mf_wcomp.c: skipp -> skip mysys/typelib.c: skipp -> skip sql/filesort.cc: skipp -> skip sql/item_strfunc.cc: skipp -> skip sql/mysqld.cc: skipp -> skip sql/opt_range.h: skipp -> skip sql/sql_delete.cc: skipp -> skip sql/sql_select.cc: skipp -> skip sql/sql_string.cc: skipp -> skip sql/sql_update.cc: skipp -> skip strings/ctype-bin.c: skipp -> skip strings/ctype-simple.c: skipp -> skip strings/r_strinstr.c: skipp -> skip strings/strinstr.c: skipp -> skip strings/strstr.c: skipp -> skip
-
unknown authored
into gw.mysql.r18.ru:/usr/home/ram/work/4.1.b2419 sql/opt_range.cc: Auto merged sql/sql_select.cc: Auto merged
-
unknown authored
-
unknown authored
collation is the same with the index collation.
-
unknown authored
Fixed bug #2602 in CACHE INDEX, LOAD INDEX sql/sql_yacc.yy: Fixed bug #2602 in CACHE INDEX, LOAD INDEX mysql-test/t/key_cache.test: Fixed bug #2602 in CACHE INDEX, LOAD INDEX mysql-test/t/preload.test: Fixed bug #2602 in CACHE INDEX, LOAD INDEX mysql-test/r/key_cache.result: Fixed bug #2602 in CACHE INDEX, LOAD INDEX mysql-test/r/preload.result: Fixed bug #2602 in CACHE INDEX, LOAD INDEX
-
- 31 Jan, 2004 1 commit
-
-
unknown authored
null_ref_key moved to TABLE_REF. new null range created if necessary. mysql-test/r/order_by.result: fix for the bug #2419: order by ignores rows mysql-test/t/order_by.test: fix for the bug #2419: order by ignores rows sql/item_subselect.cc: fix for the bug #2419: order by ignores rows sql/opt_range.cc: fix for the bug #2419: order by ignores rows sql/sql_select.cc: fix for the bug #2419: order by ignores rows sql/sql_select.h: fix for the bug #2419: order by ignores rows
-
- 30 Jan, 2004 5 commits
-
-
unknown authored
-
unknown authored
-
unknown authored
double delete bug fixed sql/sql_list.h: catch accesses to deleted objects sql/sql_union.cc: double delete fixed
-
unknown authored
db name is printed with append_identifier for a proper quoting
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
-
- 29 Jan, 2004 2 commits
- 28 Jan, 2004 4 commits
-
-
unknown authored
The problem was that memory was free'd, but it was referenced later. This free was unneccessary anyway, because join_free() / JOIN::cleanup takes care of this later on. Added test case into t/subselect.test for it. Regards, Jani mysql-test/r/subselect.result: Added a test case for Bug#2479. mysql-test/t/subselect.test: Added a test case for Bug#2479. sql/sql_select.cc: Fixed Bug#2479, "dependant subquery with limit crash". The problem was that memory was free'd, but it was referenced later. This free was unneccessary anyway, because join_free() / JOIN::cleanup takes care of this later on.
-
unknown authored
-
unknown authored
dump when result was NULL. mysql-test/r/func_test.result: Added a test for GREATEST() and LEAST() core dump bug. mysql-test/t/func_test.test: Added a test for GREATEST() and LEAST() core dump bug.
-
unknown authored
We signed error instead of returning the result sql/sql_show.cc: we need this assignement in libmysqld to not to issue error
-
- 27 Jan, 2004 4 commits
-
-
unknown authored
mysql->server_status wasn't set after the query libmysqld/lib_sql.cc: Server status assignement added
-
unknown authored
into deer.(none):/home/hf/work/mysql-4.1.1224
-
unknown authored
code slightly modified with Monty's suggestions libmysqld/lib_sql.cc: copying of pointers replaced with my_strdup()-s sql/sql_class.cc: this code should work anyway now
-
unknown authored
libmysqld/Makefile.am: superfluous line deleted
-
- 26 Jan, 2004 4 commits