- 08 Nov, 2005 1 commit
-
-
unknown authored
Two handler objects were present, one was used for an insert and the other for a select The state of the statistics was local to the handler object and thus the other handler object didn't notice the insert. Fix included: 1) Add a new variable key_stat_version added to whenever statistics was considered in need of update (previously key_stats_ok= FALSE in those places) 2) Add a new handler variable key_stat_version assigned whenever key_stats_ok= TRUE was set previously 3) Fix records_in_range to return records if records <= 1 4) Fix records_in_range to add 2 to rec_per_key to ensure we don't specify 0 or 1 when it isn't and thus invoking incorrect optimisations. 5) Fix unique key handling for HEAP table in records_in_range
-
- 05 Nov, 2005 1 commit
-
-
unknown authored
Always use bundled zlib support-files/mysql.spec.sh: Always use bundled zlib
-
- 04 Nov, 2005 1 commit
-
-
unknown authored
-
- 03 Nov, 2005 5 commits
- 01 Nov, 2005 6 commits
-
-
unknown authored
into mysql.com:/home/jimw/my/mysql-4.1-clean
-
unknown authored
into mysql.com:/data0/mysqldev/lenz/mysql-4.1
-
unknown authored
into moonbone.local:/work/14186-bug-4.1-mysql sql/sql_select.cc: Auto merged sql/sql_select.h: Auto merged
-
unknown authored
Removed wrong fix for bug #14009 (use of abs() on null value causes problems with filesort) Mark that add_time(), time_diff() and str_to_date() can return null values myisam/mi_check.c: keyoffset is not a position (no %lx here) mysql-test/r/func_sapdb.result: Fixed test after marking that timediff() can return NULL sql/item_func.cc: Removed wrong fix for bug #14009 (use of abs() on null value causes problems with filesort) sql/item_timefunc.cc: Mark that add_time and str_to_date() can return null values sql/item_timefunc.h: Mark that time_diff can return 0 sql/spatial.cc: Simple cleanups during review of new code
-
unknown authored
mysql-test/r/ctype_cp932.result: result fixed mysql-test/t/ctype_cp932.test: these lines don't work in embedded-server
-
unknown authored
into mysql.com:/usr/home/ram/work/mysql-4.1
-
- 31 Oct, 2005 5 commits
-
-
unknown authored
even when --ledir option is specified. (Bug #13774) scripts/mysqld_safe.sh: Figure out whether to use mysqld or mysqld-max after we have handled the command-line options and .cnf files.
-
unknown authored
-
unknown authored
get real results after all checks. (see bug #14254: func_crypt.test fails on FreeBSD with --ps-protocol). client/mysqltest.c: Check for NULLs only if we don't replace column results, get real results after all checks.
-
unknown authored
into deer.(none):/home/hf/work/mysql-4.1.12839 sql/field.cc: Auto merged
-
unknown authored
sql/field.cc: This code still could work for VERY out-of-dated databases sql/spatial.cc: small syntax fixes
-
- 29 Oct, 2005 4 commits
- 28 Oct, 2005 8 commits
-
-
unknown authored
into mysql.com:/home/psergey/mysql-4.1-bug14139
-
unknown authored
into a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.1
-
unknown authored
into mysql.com:/home/alexi/dev/mysql-4.1-10511
-
unknown authored
ON UPDATE CASCADE innobase/row/row0ins.c: Patch from Marko is applied
-
unknown authored
Procedure analyse() redefines select's fields_list. setup_copy_fields() assumes that fields_list is a part of all_fields_list. Because select have only 3 columns and analyse() redefines it to have 10 columns, int overrun in setup_copy_fields() occurs and server goes to almost infinite loop. Because fields_list used not only to send data ad fields types, it's wrong to allow procedure redefine it. This patch separates select's fileds_list and procedure's one. Now if procedure is present, copy of fields_list is created in procedure_fields_list and it is used for sending data and fields. mysql-test/t/analyse.test: Test case for bug #14138 ROLLUP and PROCEDURE ANALYSE() hang server mysql-test/r/analyse.result: Test case for bug #14138 ROLLUP and PROCEDURE ANALYSE() hang server sql/sql_select.h: Fix bug #14138 ROLLUP and PROCEDURE ANALYSE() hang server To JOIN Added separate fields_list for procedure. sql/sql_select.cc: Fix bug #14138 ROLLUP and PROCEDURE ANALYSE() hang server SELECT's fields_list and procedure's fields_list made split. If procedure is defined then procedure's fields_list is used to send fields and data.
-
unknown authored
into a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.1 include/config-netware.h: Auto merged
-
unknown authored
kernel function to prevent CPU hogs.
-
unknown authored
support-files/mysql.spec.sh: - fixed file list after merge, removed dupes
-
- 27 Oct, 2005 9 commits
-
-
unknown authored
Date field was declared as not null, thus expression 'datefield is null' was always false. For SELECT special handling of such cases is used. There 'datefield is null' converted to 'datefield eq "0000-00-00"'. In mysql_update() before creation of select added remove_eq_conds() call. It makes some optimization of conds and in particular performs conversion from 'is null' to 'eq'. Also remove_eq_conds() makes some evaluation of conds and if it founds that conds is always false then update statement is not processed further. All this allows to perform some update statements process faster due to optimized conds, and not wasting resources if conds known to be false. sql/sql_select.cc: Fix bug#14186 select datefield is null not updated Remove static from remove_eq_conds() sql/sql_select.h: Fix bug#14186 select datefield is null not updated Added remove_eq_conds() prototype. mysql-test/r/update.result: Test case for bug#14186 select datefield is null not updated mysql-test/t/update.test: Test case for bug#14186 select datefield is null not updated sql/sql_update.cc: Fix bug#14186 select datefield is null not updated To mysql_update() added call to remove_eq_conds() to optimize conds and convert 'datefield is null' to 'datefield eq 0000-00-00'
-
unknown authored
into mysql.com:/home/jimw/my/mysql-4.1-clean sql/item_func.cc: Auto merged
-
unknown authored
into mysql.com:/data0/mysqldev/lenz/mysql-4.1 netware/BUILD/compile-linux-tools: Auto merged
-
unknown authored
- cleanup: removed obsolete support-files/MacOSX/make_mysql_pkg.pl script (we now use Do-pkg for building OS X packages) BitKeeper/deleted/.del-.cvsignore~4c7a1f88a5a62a24: Delete: NEW-RPMS/.cvsignore BitKeeper/deleted/.del-make_mysql_pkg.pl~caac82eb901cc206: Delete: support-files/MacOSX/make_mysql_pkg.pl netware/BUILD/compile-linux-tools: - removed reference to the NEW-RPMS directory netware/BUILD/compile-netware-END: - removed reference to the NEW-RPMS directory netware/BUILD/compile-netware-src: - removed reference to the NEW-RPMS directory
-
unknown authored
configure.in: Auto merged support-files/mysql.spec.sh: - after-merge fix
-
unknown authored
into moonbone.local:/work/13855-bug-4.1-mysql
-
unknown authored
After merge fix mysql-test/r/select.result: After merge fix
-
unknown authored
include/config-netware.h: Auto merged sql/sql_select.cc: Auto merged mysql-test/r/select.result: Manually merged fix for bug#13855 mysql-test/t/select.test: Manuall merged fix for bug#13855
-
unknown authored
into mysql.com:/home/alexi/dev/mysql-4.1-innobase
-