- 31 Jan, 2007 4 commits
-
-
unknown authored
into mysql.com:/home/ram/work/b19690/b19690.5.1 mysql-test/r/type_float.result: Auto merged mysql-test/t/type_float.test: Auto merged sql/field.cc: Auto merged sql/init.cc: Auto merged sql/item_cmpfunc.cc: Auto merged sql/item_cmpfunc.h: Auto merged sql/mysql_priv.h: Auto merged sql/mysqld.cc: Auto merged sql/field.h: merging sql/item_sum.cc: merging sql/sql_select.cc: merging
-
unknown authored
-
unknown authored
into mysql.com:/home/ram/work/b19690/b19690.5.0 mysql-test/r/type_float.result: Auto merged mysql-test/t/type_float.test: Auto merged sql/field.cc: Auto merged sql/item_cmpfunc.h: Auto merged sql/mysqld.cc: Auto merged sql/field.h: merging sql/init.cc: merging sql/item_cmpfunc.cc: merging sql/mysql_priv.h: merging sql/sql_select.cc: merging
-
unknown authored
Depending on the queries we use different data processing methods and can lose some data in case of double (and decimal in 4.1) fields. The fix consists of two parts: 1. double comparison changed, now double a is equal to double b if (a-b) is less than 5*0.1^(1 + max(a->decimals, b->decimals)). For example, if a->decimals==1, b->decimals==2, a==b if (a-b)<0.005 2. if we use a temporary table, store double values there as is to avoid any data conversion (rounding). mysql-test/r/type_float.result: fix for bug #19690: ORDER BY eliminates rows from the result - test result mysql-test/t/type_float.test: fix for bug #19690: ORDER BY eliminates rows from the result - test case sql/field.cc: fix for bug #19690: ORDER BY eliminates rows from the result - use not_fixed flag instead of dec to check bounds. sql/field.h: fix for bug #19690: ORDER BY eliminates rows from the result - Field_Double::not_fixed flag introduced, which is set if dec == NOT_FIXED_DEC and is used in the ::store() to check bounds. - new constructor introduced (with not_fixed_arg parameter). sql/init.cc: fix for bug #19690: ORDER BY eliminates rows from the result - fill log_01[] array with 0.1 powers. sql/item_cmpfunc.cc: fix for bug #19690: ORDER BY eliminates rows from the result - compare_real_fixed() and compare_e_real_fixed() introduced, they consider double a == double b if a-b is less than 'precision', 'precision' is set to 5*0.1^(1 + max(a->decimals, b->decimals)), for example, if a->decimals==1, b->decimals==2, 'precision' is 0.005 - use the above functions if both arguments are fixed. sql/item_cmpfunc.h: fix for bug #19690: ORDER BY eliminates rows from the result - Arg_comparator::presision introduced. - Arg_comparator::compare_real_fixed(), Arg_comparator::compare_e_real_fixed() introduced. sql/mysql_priv.h: fix for bug #19690: ORDER BY eliminates rows from the result - log_01 array of 0.1 powers added. sql/mysqld.cc: fix for bug #19690: ORDER BY eliminates rows from the result - log_01 array of 0.1 powers added. sql/sql_select.cc: fix for bug #19690: ORDER BY eliminates rows from the result - if we create double field in a temporary table, set not_fixed flag (use proper constructor) to avoid data conversion in the Field_double::store(). Otherwise we can lose some data.
-
- 25 Jan, 2007 1 commit
-
-
unknown authored
into polly.local:/home/kaa/src/maint/mysql-5.1-maint
-
- 24 Jan, 2007 4 commits
-
-
unknown authored
into polly.local:/home/kaa/src/maint/mysql-5.1-maint
-
unknown authored
into recycle.(none):/src/mysql-5.1-maint
-
unknown authored
into polly.local:/tmp/maint/bug6774/my51-bug6774 mysql-test/r/grant.result: Manual merge mysql-test/t/grant.test: Manual merge
-
unknown authored
Added a test case for bug #6774 "Replication fails with Wrong usage of DB GRANT and GLOBAL PRIVILEGES"
-
- 23 Jan, 2007 3 commits
-
-
unknown authored
into recycle.(none):/src/bug24496/my51-bug24496 scripts/mysql_create_system_tables.sh: Manual Merge
-
unknown authored
- Add anonymous user with no rights.
-
bk://localhost:5556unknown authored
into quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/51 mysql-test/r/range.result: Auto merged mysys/string.c: Auto merged sql/item.cc: Auto merged
-
- 22 Jan, 2007 19 commits
-
-
unknown authored
into qualinost.(none):/home/mtaylor/src/mysql-5.1-new-maint
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.1-maint extra/yassl/include/openssl/ssl.h: Auto merged extra/yassl/src/ssl.cpp: Auto merged mysql-test/mysql-test-run.pl: Auto merged mysql-test/r/mysqltest.result: Auto merged mysql-test/t/mysqltest.test: Auto merged BitKeeper/deleted/.del-CMakeLists.txt~10: Auto merged
-
unknown authored
- Includes patch for Bug#25189 extra/yassl/README: Import patch yassl.diff extra/yassl/include/openssl/ssl.h: Import patch yassl.diff extra/yassl/src/make.bat: Import patch yassl.diff extra/yassl/src/ssl.cpp: Import patch yassl.diff extra/yassl/src/yassl_error.cpp: Import patch yassl.diff extra/yassl/taocrypt/benchmark/make.bat: Import patch yassl.diff extra/yassl/taocrypt/include/asn.hpp: Import patch yassl.diff extra/yassl/taocrypt/include/error.hpp: Import patch yassl.diff extra/yassl/taocrypt/include/file.hpp: Import patch yassl.diff extra/yassl/taocrypt/src/asn.cpp: Import patch yassl.diff extra/yassl/taocrypt/src/coding.cpp: Import patch yassl.diff extra/yassl/taocrypt/src/integer.cpp: Import patch yassl.diff extra/yassl/taocrypt/src/make.bat: Import patch yassl.diff extra/yassl/taocrypt/test/make.bat: Import patch yassl.diff extra/yassl/taocrypt/test/test.cpp: Import patch yassl.diff extra/yassl/testsuite/make.bat: Import patch yassl.diff extra/yassl/testsuite/testsuite.cpp: Import patch yassl.diff
-
unknown authored
-
unknown authored
mysql-test/r/select.result: results adjusted.
-
unknown authored
into mysql.com:/home/ram/work/b22026/b22026.5.1 mysql-test/r/select.result: Auto merged mysql-test/t/select.test: Auto merged sql/item_cmpfunc.cc: Auto merged
-
unknown authored
We use INT_RESULT type if all arguments are of type INT for 'if', 'case', 'coalesce' functions regardless of arguments' unsigned flag, so sometimes we can exceed the INT bounds. mysql-test/r/select.result: Fix for bug #22026: Warning when using IF statement and large unsigned bigint - test result. mysql-test/t/select.test: Fix for bug #22026: Warning when using IF statement and large unsigned bigint - test case. sql/item_cmpfunc.cc: Fix for bug #22026: Warning when using IF statement and large unsigned bigint - take into account unsigned flags aggregating result types: return INT_RESULT only if two items with INT_RESULT type have equal unsigned_flags, otherwise return REAL_RESULT.
-
unknown authored
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
-
unknown authored
into ymer.(none):/usr/local/mysql/x/mysql-5.1-new-maint mysql-test/mysql-test-run.pl: Auto merged
-
unknown authored
into ymer.(none):/usr/local/mysql/x/mysql-5.0-maint mysql-test/mysql-test-run.pl: Auto merged
-
unknown authored
into siva.hindu.god:/home/tsmith/m/inno/jan20/51 mysql-test/r/range.result: SCCS merged sql/item.cc: SCCS merged storage/innobase/dict/dict0dict.c: Use local storage/innobase/handler/ha_innodb.h: Use local
-
unknown authored
into siva.hindu.god:/home/tsmith/m/inno/jan20/51 mysql-test/r/range.result: Auto merged sql/item.cc: Auto merged
-
unknown authored
into siva.hindu.god:/home/tsmith/m/inno/jan20/51 mysys/string.c: Auto merged
-
unknown authored
into siva.hindu.god:/home/tsmith/m/inno/jan20/50 innobase/dict/dict0dict.c: Use local
-
unknown authored
into siva.hindu.god:/home/tsmith/m/inno/jan20/50 mysql-test/r/range.result: Auto merged sql/item.cc: Auto merged
-
unknown authored
Fixes: - Bug #24299: - Bug #25596: innobase/dict/dict0dict.c: Applied innodb-4.1-ss36 and innodb-4.1-ss38 snapshots Revision r36: innodb-4.1: Port r1030 from innodb/branches/5.0: Replace isspace() with a wrapper ib_isspace(), because on Win32 isspace(0xa0) appears to hold. (Bug #24299) Revision r38: ib_isspace(c): Check for c being the null character. (Bug #25596)
-
unknown authored
Fixes bugs: - Bug #20877: InnoDB data dictionary memory footprint is too big - Bug #24741: existing cascade clauses disappear when adding foreign keys mysql-test/r/innodb.result: Applied innodb-5.1-ss1186 Revision r1186: dict_load_foreign(): Use a local variable instead of the 10-bit field foreign->n_fields in order to preserve ON UPDATE CASCADE and ON DELETE CASCADE flags. For some reason, gcc does not warn about shifting a 10-bit field to right by 24 bits. (Bug #24741) This bug was introduced while reducing the memory footprint of the InnoDB data dictionary (Bug #20877). innodb.test, innodb.result: Add a test case. mysql-test/t/innodb.test: Applied innodb-5.1-ss1186 Revision r1186: dict_load_foreign(): Use a local variable instead of the 10-bit field foreign->n_fields in order to preserve ON UPDATE CASCADE and ON DELETE CASCADE flags. For some reason, gcc does not warn about shifting a 10-bit field to right by 24 bits. (Bug #24741) This bug was introduced while reducing the memory footprint of the InnoDB data dictionary (Bug #20877). innodb.test, innodb.result: Add a test case. storage/innobase/buf/buf0flu.c: Applied innodb-5.1-ss1186 Revision r1168: buf_flush_batch(): Remove the test page_count != ULINT_UNDEFINED. The variable is initialized to zero, and after that it is only added to. Maybe the one who introduced the variable srv_buf_pool_flushed overlooked that there is a separate return statement for returning ULINT_UNDEFINED? storage/innobase/dict/dict0load.c: Applied innodb-5.1-ss1186 Revision r1186: dict_load_foreign(): Use a local variable instead of the 10-bit field foreign->n_fields in order to preserve ON UPDATE CASCADE and ON DELETE CASCADE flags. For some reason, gcc does not warn about shifting a 10-bit field to right by 24 bits. (Bug #24741) This bug was introduced while reducing the memory footprint of the InnoDB data dictionary (Bug #20877). innodb.test, innodb.result: Add a test case. storage/innobase/include/ut0ut.h: Applied innodb-5.1-ss1186 Revision r1165: ut_2_power_up(): Add __attribute__((const)), because otherwise this function is repeatedly called in buf_flush_free_margin() due to the definitions of BUF_READ_AHEAD_AREA and other macros starting with BUF_READ_AHEAD_. storage/innobase/que/que0que.c: Applied innodb-5.1-ss1186 Revision r1158: Modify que_fork_start_command() to do only one pass over the thread list instead of three.
-
unknown authored
Fixes: - Bug #25596: innobase/dict/dict0dict.c: Applied innodb-5.0-ss1230 snapshot. r1230 branches/5.0: ib_isspace(c): Check for c being the null character. (Bug #25596) sql/ha_innodb.h: Applied innodb-5.0-ss1230 Trivial indent SPACES -> TAB change.
-
- 21 Jan, 2007 1 commit
-
-
unknown authored
into qualinost.(none):/home/mtaylor/src/mysql-5.1-new-maint configure.in: Auto merged mysql-test/r/range.result: Auto merged sql/item.cc: Auto merged
-
- 20 Jan, 2007 6 commits
-
-
unknown authored
into qualinost.(none):/home/mtaylor/src/mysql-5.0-maint mysql-test/r/range.result: Auto merged sql/item.cc: Auto merged BitKeeper/deleted/.del-acinclude.m4~f4ab416bac5003: Auto merged configure.in: SCCS merged
-
unknown authored
-
unknown authored
-
unknown authored
configure.in: Moving these to ha_ndbcluster.m4
-
unknown authored
into qualinost.(none):/home/mtaylor/src/mysql-5.1-new-maint storage/ndb/src/Makefile.am: Auto merged config/ac-macros/ha_ndbcluster.m4: Will add the new code by hand. configure.in: Moving this code to ha_ndbcluster.
-
unknown authored
config/ac-macros/ha_ndbcluster.m4: We only need to create this file if we are building Ndb in the first place. Moving the code to ha_ndbcluster.m4 configure.in: We only need to create this file if we are building Ndb in the first place. Moving the code to ha_ndbcluster.m4 ndb/src/Makefile.am: BUILT_SOURCES is uneccesary. Removing it. The real problem was related to building or not building Ndb.
-
- 19 Jan, 2007 2 commits
-
-
unknown authored
configure.in: I cut and pasted in the wrong direction I think. We don't have storage until 5.1... --- missed storage in one more place --- added storage back to patch after merge from 5.0-maint
-
unknown authored
into qualinost.(none):/home/mtaylor/src/mysql-5.1-new-maint BitKeeper/etc/ignore: auto-union configure.in: Auto merged mysys/string.c: Auto merged storage/ndb/src/Makefile.am: Auto merged
-