- 23 Jun, 2005 6 commits
-
-
timour@mysql.com authored
into mysql.com:/home/timka/mysql/src/4.1-virgin
-
lenz@mysql.com authored
into mysql.com:/space/my/mysql-4.1
-
lenz@mysql.com authored
-
lenz@mysql.com authored
-
timour@mysql.com authored
into mysql.com:/home/timka/mysql/src/4.1-bug-11185
-
timour@mysql.com authored
The source of the problem is in Field_longlong::cmp. If 'this' is an unsigned number, the method casts both the current value, and the constant that we compare with to an unsigned number. As a result if the constant we compare with is a negative number, it wraps to some unsigned number, and the comparison is incorrect. When the optimizer chooses the "range" access method, this problem causes handler::read_range_next to reject the current key when the upper bound key is a negative number because handler::compare_key incorrectly considers the positive and negative keys to be equal. The current patch does not correct the source of the problem in Field_longlong::cmp because it is not easy to propagate sign information about the constant at query execution time. Instead the patch changes the range optimizer so that it never compares unsiged fields with negative constants. As an added benefit, queries that do such comparisons will execute faster because the range optimizer replaces conditions like: (a) (unsigned_int [< | <=] negative_constant) == FALSE (b) (unsigned_int [> | >=] negative_constant) == TRUE with the corresponding constants. In some cases this may even result in constant time execution.
-
- 22 Jun, 2005 10 commits
-
-
lars@mysql.com authored
-
reggie@mdk10.(none) authored
into mdk10.(none):/home/reggie/bk/bug9148
-
evgen@moonbone.local authored
into moonbone.local:/work/mysql-4.1-bug-8147
-
evgen@moonbone.local authored
Fix for fix for bug#9728 decreased functionality in "on duplicate key update" Have to return false to set flag for whole expression.
-
lars@mysql.com authored
-
lenz@mysql.com authored
into mysql.com:/space/my/mysql-4.1
-
mskold@mysql.com authored
into mysql.com:/usr/local/home/marty/MySQL/mysql-4.1
-
mskold@mysql.com authored
-
petr@mysql.com authored
-
evgen@moonbone.local authored
Remove changes made by bug fix #8147. They strips list of insert_table_list to only insert table, which results in error reported in bug #9728. Added flag to Item to resolve ambigous fields reported in bug #8147.
-
- 21 Jun, 2005 12 commits
-
-
elliot@mysql.com authored
-
reggie@mdk10.(none) authored
my_access.c: Fixed problem where in some cases check_if_legal_filename was returning 0 for illegal names
-
elliot@mysql.com authored
into mysql.com:/Users/emurphy/src/work/mysql-4.1-bug10442
-
kent@mysql.com authored
Added optional paths for finding mysqld on Windows Added language/charset options to embedded mysql_client_test
-
evgen@moonbone.local authored
into moonbone.local:/work/mysql-4.1-bug-10886
-
evgen@moonbone.local authored
Temporary field wasn't restored to default values after ON DUPLICATE KEY UPDATE event, which results in wrong data being inserted in new record.
-
igor@rurik.mysql.com authored
into rurik.mysql.com:/home/igor/mysql-4.1
-
igor@rurik.mysql.com authored
into rurik.mysql.com:/home/igor/dev/mysql-4.1-1
-
igor@rurik.mysql.com authored
Added a test case for bug #11295. item_buff.cc: Fixed bug #11295. This a correction for the patch of bug #11088 that takes into account a possible NULL values of the BLOB column.
-
lenz@mysql.com authored
into mysql.com:/space/my/mysql-4.1
-
mskold@mysql.com authored
into mysql.com:/usr/local/home/marty/MySQL/mysql-4.1
-
kent@mysql.com authored
More compact and safe handling of path names. Support for running in Windows source tree. Use libtool wrapper, instead of messing with library path names, and objects in .libs dir. mtr_misc.pl: Utility function that search aand check path names mtr_report.pl: Patch by Carsten, set correct reject/result/eval if not main suite
-
- 20 Jun, 2005 12 commits
-
-
jimw@mysql.com authored
into mysql.com:/home/jimw/my/mysql-4.1-clean
-
kent@mysql.com authored
Bug#11466: Script can now get test case name from test case file path on command line mysql-test-run.pl: Bug#11466: Added --skip-ndbcluster/--skip-ndb option mtr_cases.pl: Don't set --default-time-zone if opt file sets it Restart the server if time zone is given in opt file mysql-test-run.pl: Don't remove symlink to "var" directory in cleanup Removed duplicate/unessesary options to mysqld
-
kent@mysql.com authored
into mysql.com:/Users/kent/mysql/bk/mysql-4.1
-
jimw@mysql.com authored
into mysql.com:/home/jimw/my/mysql-4.1-clean
-
jimw@mysql.com authored
into mysql.com:/home/jimw/my/mysql-4.1-clean
-
jimw@mysql.com authored
into mysql.com:/home/jimw/my/mysql-4.1-clean
-
igor@rurik.mysql.com authored
into rurik.mysql.com:/home/igor/mysql-4.1
-
igor@rurik.mysql.com authored
Added a test case for bug #11385. group_by.test: Added a test case for bug #11385. field.h: Fixed bug #11385. The bug was due to not defined method decimals for the class Field_datetime.
-
jimw@mysql.com authored
commit. (Bug #10840)
-
kent@mysql.com authored
Corrected dependency for "lex_hash.h", to avoid occasional make failure
-
mskold@mysql.com authored
Added CR for readability
-
mskold@mysql.com authored
-