- 22 Jan, 2007 1 commit
-
-
unknown authored
st_table::const_key_parts member is used in determining if certain key has a prefix that is compared to constant(s) in the query predicates. If there's such prefix the index can be used to get the data from the remaining suffix columns in sorted order. However if a field is compared to another field from a "const" table the const_key_parts is not amended. This makes the optimizer unable to detect that the key can be used for sorting and adds an extra filesort. Fixed by updating const_key_parts after reading in the "const" table. mysql-test/r/order_by.result: BUG#16590: Optimized does not do right "const" table pre-read - test case mysql-test/t/order_by.test: BUG#16590: Optimized does not do right "const" table pre-read - test case sql/sql_select.cc: BUG#16590: Optimized does not do right "const" table pre-read - fill up the const_key_parts structure
-
- 10 Jan, 2007 3 commits
- 09 Jan, 2007 2 commits
-
-
unknown authored
Unencode internal db & table name mysql-test/r/information_schema_inno.result: test result mysql-test/t/information_schema_inno.test: test case storage/innobase/handler/ha_innodb.cc: Unencode internal db & table name
-
unknown authored
into mysql.com:/d2/hf/opt/my51-opt mysql-test/t/csv.test: Auto merged
-
- 08 Jan, 2007 2 commits
-
-
unknown authored
added a missing DBUG_RETURN storage/myisam/mi_check.c: added a missing DBUG_RETURN
-
unknown authored
into macbook.local:/Users/kgeorge/mysql/work/merge-5.1-opt mysql-test/r/distinct.result: Auto merged mysql-test/r/gis-rtree.result: Auto merged mysql-test/r/ps.result: Auto merged mysql-test/r/subselect.result: Auto merged mysql-test/r/udf.result: Auto merged mysql-test/t/gis-rtree.test: Auto merged mysql-test/t/ps.test: Auto merged mysql-test/t/subselect.test: Auto merged mysql-test/t/udf.test: Auto merged sql/item_subselect.cc: Auto merged sql/item_subselect.h: Auto merged sql/sql_lex.cc: Auto merged sql/sql_select.cc: Auto merged storage/myisam/mi_check.c: Auto merged sql/sql_udf.cc: SCCS merged
-
- 06 Jan, 2007 2 commits
-
-
unknown authored
mysql-test/t/warnings-master.opt: Added skip-innodb option (which was what it once was...) mysql-test/t/warnings.test: Removed un-needed variable setting. Bug only had to do with unterimated string.
-
unknown authored
Cleaning up warning for windows. Innodb is compiled but disable on Windows, so it should be fine. NDB wasn't compiled in, which is what caused the issue. mysql-test/r/warnings.result: Modified warning to work with Windows mysql-test/t/warnings.test: Moved warning to use Innodb.
-
- 05 Jan, 2007 1 commit
-
-
unknown authored
The optimizer removes expressions from GROUP BY/DISTINCT if they happen to participate in a <expression> = <const> predicates of the WHERE clause (the idea being that if it's always equal to a constant it can't have multiple values). However for predicates where the expression and the constant item are of different result type this is not valid (e.g. a string column compared to 0). Fixed by additional check of the result types of the expression and the constant and if they differ the expression don't get removed from the group by list. mysql-test/r/distinct.result: Bug #15881: cast problems - test case mysql-test/t/distinct.test: Bug #15881: cast problems - test case sql/sql_select.cc: Bug #15881: cast problems - can't use <expr>=<const> to remove GROUP BY/DISTINCT cols if they're not of the same type.
-
- 04 Jan, 2007 4 commits
-
-
unknown authored
into zim.(none):/home/brian/mysql/merge-5.1
-
unknown authored
The CSV format has always relied on numbers being quoted, which doesn't always happen. This fixes that so that numbers can now be unquoted (and the output does this as well so that the log takes up less space). mysql-test/r/csv.result: Fixed test case for format change. Added new test for floating point numbers. mysql-test/t/csv.test: Fixed test for format change. Added test case for floating point numbers. storage/csv/ha_tina.cc: Updated code to handle numbers as raw unquotes types in CSV
-
unknown authored
into bk-internal.mysql.com:/data0/bk/mysql-5.1-arch storage/csv/CMakeLists.txt: Auto merged storage/csv/Makefile.am: Auto merged
-
unknown authored
Split out the hidden class from the ha_tina file (probably should have just deleted it...) but this is a bit better. storage/csv/transparent_file.cc: BitKeeper file /home/brian/mysql/merge-5.1/storage/csv/transparent_file.cc storage/csv/transparent_file.h: BitKeeper file /home/brian/mysql/merge-5.1/storage/csv/transparent_file.h storage/csv/CMakeLists.txt: Updated for windows storage/csv/Makefile.am: Updated to add new class storage/csv/ha_tina.cc: Removed hidden class storage/csv/ha_tina.h: Remove hidden class
-
- 03 Jan, 2007 3 commits
-
-
unknown authored
into rakia.gmz:/home/kgeorge/mysql/work/B15439-5.0-opt sql/sql_udf.cc: Auto merged
-
unknown authored
Addendum to the fix for bug#15439 : valgrind pb failed sql/sql_udf.cc: Addendum to the fix for bug#15439 : valgrind pb failed
-
unknown authored
into mysql.com:/d2/hf/opt/my50-opt myisam/mi_check.c: Auto merged sql/item_subselect.cc: Auto merged sql/item_subselect.h: Auto merged sql/sql_lex.cc: Auto merged sql/sql_udf.cc: Auto merged
-
- 02 Jan, 2007 19 commits
-
-
unknown authored
into mysql.com:/d2/hf/common/my51-common mysql-test/r/flush_block_commit_notembedded.result: merging
-
unknown authored
mysql-test/r/flush_block_commit_notembedded.result: result fixed
-
unknown authored
mysql-test/t/mysql_upgrade.test: test disabled in embedded server
-
unknown authored
mysql-test/t/ps_not_windows.test: disabled in embedded-server
-
unknown authored
into mysql.com:/d2/hf/common/my51-common libmysqld/lib_sql.cc: Auto merged
-
unknown authored
into mysql.com:/d2/hf/common/my50-common libmysqld/lib_sql.cc: merging
-
unknown authored
libmysqld/lib_sql.cc: reading warning count added
-
unknown authored
into trift2.:/MySQL/M51/mysql-5.1
-
unknown authored
Delete compiler-specific flag setting - it makes builds break. server-tools/instance-manager/Makefile.am: Delete compiler-specific flag setting - it makes builds break. If this is really wanted, it must be done through "configure", caring about the compiler differences.
-
unknown authored
into mysql.com:/d2/hf/common/my51-common
-
unknown authored
into mysql.com:/d2/hf/common/my50-common
-
unknown authored
into mysql.com:/d2/hf/common/my51-common libmysqld/lib_sql.cc: Auto merged mysql-test/mysql-test-run.pl: Auto merged sql/item_func.cc: Auto merged sql/item_strfunc.cc: Auto merged sql/sql_prepare.cc: Auto merged
-
unknown authored
into mysql.com:/d2/hf/common/my50-common libmysqld/lib_sql.cc: merging
-
unknown authored
-
unknown authored
-
unknown authored
into mysql.com:/d2/hf/common/my50-common mysql-test/t/mysqladmin.test: Auto merged sql/item_func.cc: Auto merged libmysqld/lib_sql.cc: merging mysql-test/t/distinct.test: merging sql/sql_prepare.cc: SCCS merged
-
unknown authored
libmysqld/lib_sql.cc: error message moved to 'stmt' mysql-test/t/distinct.test: temporary disabled in embedded server mysql-test/t/mysqladmin.test: disabled in embedded server sql/sql_prepare.cc: superfluous #ifndef removed
-
unknown authored
into mysql.com:/home/kent/bk/main/mysql-5.1 mysql-test/r/view.result: Auto merged
-
unknown authored
Temporary work around for bug#25359 mysql-test/r/view.result: Temporary work around for bug#25359
-
- 31 Dec, 2006 3 commits
-
-
unknown authored
into mysql.com:/d2/hf/common/my51-common libmysqld/Makefile.am: Auto merged libmysqld/lib_sql.cc: Auto merged mysql-test/mysql-test-run.pl: Auto merged mysql-test/t/ps.test: Auto merged sql/item_func.cc: Auto merged sql/item_strfunc.cc: Auto merged sql/share/errmsg.txt: Auto merged sql/sql_insert.cc: Auto merged BitKeeper/deleted/.del-ps_not_windows.test: Auto merged storage/myisam/ha_myisam.cc: Auto merged
-
unknown authored
into mysql.com:/d2/hf/common/my50-common mysql-test/mysql-test-run.pl: Auto merged sql/item_func.cc: Auto merged sql/item_strfunc.cc: Auto merged
-
unknown authored
into mysql.com:/d2/hf/common/my41-common sql/item_func.cc: Auto merged
-