- 14 Jan, 2007 1 commit
-
-
unknown authored
into mysql.com:/home/hf/work/my51-24186
-
- 12 Jan, 2007 7 commits
-
-
unknown authored
Subselect's engine checks table->status field to determine if the record was properly found when we use keyread upon the table. Partition engine checks all the partitions for given key before return. So if matching record was found in the first partition and no matching records were found in the second, we have table->status == NOT_FOUND after the function, what makes subselects to skip matching records. The patch adds table->status= 0 if we actually found something. mysql-test/r/partition.result: result fixed mysql-test/t/partition.test: testcase sql/ha_partition.cc: table->status set to 0 if we found something in previous partitions
-
unknown authored
into mysql.com:/home/gluh/MySQL/Merge/5.1-opt sql/mysqld.cc: Auto merged
-
unknown authored
into mysql.com:/home/gluh/MySQL/Merge/5.1-opt mysql-test/r/order_by.result: Auto merged mysql-test/t/order_by.test: Auto merged sql/item.cc: Auto merged sql/mysqld.cc: Auto merged sql/sql_base.cc: Auto merged mysql-test/r/join.result: manual merge mysql-test/t/join.test: manual merge
-
unknown authored
into mysql.com:/home/gluh/MySQL/Merge/5.1-opt sql/mysqld.cc: Auto merged storage/innobase/handler/ha_innodb.cc: Auto merged
-
unknown authored
into mysql.com:/home/gluh/MySQL/Merge/5.0
-
unknown authored
into mysql.com:/home/gluh/MySQL/Merge/5.0 sql/mysqld.cc: Auto merged
-
unknown authored
fixed valgrind error fixed indentation
-
- 11 Jan, 2007 12 commits
-
-
unknown authored
into tiger.mmj.dk:/Users/mmj/bktrees/mysql-5.1-build configure.in: Auto merged mysql-test/install_test_db.sh: Auto merged BitKeeper/deleted/.del-CMakeLists.txt~3: Auto merged BitKeeper/deleted/.del-configure.js: Auto merged mysql-test/mysql-test-run.pl: Auto merged scripts/mysql_install_db.sh: Auto merged sql/mysqld.cc: Auto merged
-
unknown authored
into siva.hindu.god:/home/tsmith/m/bk/mysql-5.1-build BitKeeper/deleted/.del-CMakeLists.txt~3: Auto merged BitKeeper/deleted/.del-README~1: Auto merged BitKeeper/deleted/.del-configure.js: Auto merged BitKeeper/deleted/.del-mysql_test_run_new.c~a23ab2c4b28b25ad: Auto merged mysql-test/mysql-test-run.pl: Auto merged scripts/mysql_install_db.sh: Auto merged configure.in: Manual merge mysql-test/install_test_db.sh: Manual merge sql/mysqld.cc: Manual merge
-
unknown authored
into trift2.:/MySQL/M51/push-5.1 mysys/my_read.c: Auto merged BitKeeper/deleted/.del-mysqldmax.dsp~5d213fe1c204142e: Auto merged BitKeeper/deleted/.del-libmysqld.dsp~78dc6a589e5a4149: Null merge. BitKeeper/deleted/.del-mysql.dsw~7ea9e16395f139f4: Null merge. BitKeeper/deleted/.del-mysqld.dsp~ffdbf2d234e23e56: Null merge. BitKeeper/deleted/.del-mysqldemb.dsp~1baf8c0e59ee9f7e: Null merge. BitKeeper/deleted/.del-mysqlserver.dsp~d99cfb2d291e3785: Null merge. scripts/make_binary_distribution.sh: Null merge, this change is already suppressed in 4.1. support-files/MySQL-shared-compat.spec.sh: Null merge, this change is already suppressed in 4.1.
-
unknown authored
into trift2.:/MySQL/M51/push-5.1 configure.in: Auto merged
-
unknown authored
into trift2.:/MySQL/M51/push-5.1 mysql-test/mysql-test-run.pl: Auto merged
-
unknown authored
into rakia.gmz:/home/kgeorge/mysql/autopush/B25106-5.0-opt sql/sql_base.cc: Auto merged
-
unknown authored
aliases ignored When a column reference to a column in JOIN USING is resolved and a new Item is created for this column the user defined name was lost. This fix preserves the alias by setting the name of the new Item to the original alias. mysql-test/r/join.result: BUG#25106: A USING clause in combination with a VIEW results in column aliases ignored - test case mysql-test/t/join.test: BUG#25106: A USING clause in combination with a VIEW results in column aliases ignored - test case sql/sql_base.cc: BUG#25106: A USING clause in combination with a VIEW results in column aliases ignored - take the alias of the Item to be replaced and set it into the newly allocated Item.
-
unknown authored
into mysql.com:/home/gluh/MySQL/Merge/5.1-opt
-
unknown authored
-
unknown authored
into mysql.com:/d2/hf/mr10/my51-mr10 mysql-test/t/csv.test: Auto merged
-
unknown authored
into mysql.com:/d2/hf/mr10/my50-mr10 sql/mysqld.cc: Auto merged
-
unknown authored
into tiger.mmj.dk:/Users/mmj/bktrees/mysql-5.0 configure.in: Auto merged mysql-test/install_test_db.sh: Auto merged mysql-test/mysql-test-run.pl: Auto merged scripts/mysql_install_db.sh: Auto merged sql/CMakeLists.txt: Auto merged sql/mysqld.cc: Auto merged win/configure.js: Auto merged
-
- 10 Jan, 2007 17 commits
-
-
unknown authored
into olga.mysql.com:/home/igor/mysql-4.1-opt
-
unknown authored
Corrected default for --disable-grant-options configure.in: Corrected default for --disable-grant-options
-
unknown authored
into olga.mysql.com:/home/igor/mysql-5.0-opt sql/item.cc: Auto merged mysql-test/r/order_by.result: Manual merge mysql-test/t/order_by.test: Manual merge
-
unknown authored
into mysql.com:/d2/hf/mr10/my50-mr10
-
unknown authored
into mysql.com:/home/hf/work/mysql-5.1-mrg
-
unknown authored
Removed line accidently inserted when correcting bug#18526 configure.in: Removed line accidently inserted when correcting bug#18526
-
unknown authored
into mysql.com:/home/hf/work/mysql-5.1-mrg sql/sql_partition.cc: Auto merged
-
unknown authored
into mysql.com:/home/hf/work/mysql-5.1-mrg storage/federated/ha_federated.cc: Auto merged
-
unknown authored
into mysql.com:/d2/hf/mr10/my51-mr10 mysql-test/t/csv.test: Auto merged
-
unknown authored
into mysql.com:/d2/hf/mr10/my50-mr10
-
unknown authored
into mysql.com:/home/gluh/MySQL/Merge/5.1-opt libmysql/libmysql.c: Auto merged mysql-test/r/join_nested.result: Auto merged mysql-test/r/ps.result: Auto merged mysql-test/r/type_binary.result: Auto merged mysql-test/r/user_var.result: Auto merged mysql-test/t/ps.test: Auto merged mysql-test/t/subselect.test: Auto merged mysql-test/t/type_newdecimal.test: Auto merged mysql-test/t/user_var.test: Auto merged sql/field.h: Auto merged sql/filesort.cc: Auto merged sql/handler.cc: Auto merged sql/item_cmpfunc.cc: Auto merged sql/item_cmpfunc.h: Auto merged sql/item_func.cc: Auto merged sql/item_func.h: Auto merged sql/item_subselect.cc: Auto merged sql/item_timefunc.cc: Auto merged sql/mysql_priv.h: Auto merged sql/sql_class.h: Auto merged sql/sql_lex.cc: Auto merged sql/sql_parse.cc: Auto merged sql-common/client.c: Auto merged sql-common/my_time.c: Auto merged sql/sql_select.cc: Auto merged sql/table.cc: Auto merged strings/decimal.c: Auto merged sql/mysqld.cc: manual merge sql/sql_base.cc: manual merge
-
unknown authored
-
unknown authored
into mysql.com:/home/gluh/MySQL/Merge/5.0-opt sql/mysqld.cc: Auto merged sql/sql_base.cc: Auto merged sql/mysql_priv.h: manual merge
-
unknown authored
2nd version During tmp tables cleanup we get the handler for temporary table and delete table using handler method. sql/mysql_priv.h: added function prototype sql/mysqld.cc: added call of mysql_rm_tmp_tables() function sql/sql_base.cc: mysql_rm_tmp_tables() -removed from table_cache_init -During tmp tables cleanup we get the handler for temporary table and delete table using handler method. it allows to remove orphan records from data dictionary(InnoDB)
-
unknown authored
In the method Item_field::fix_fields we try to resolve the name of the field against the names of the aliases that occur in the select list. This is done by a call of the function find_item_in_list. When this function finds several occurrences of the field name it sends an error message to the error queue and returns 0. Yet the code did not take into account that find_item_in_list could return 0 and tried to dereference the returned value. mysql-test/r/order_by.result: Added a test case for bug #25427. mysql-test/t/order_by.test: Added a test case for bug #25427. sql/item.cc: Fixed bug #25427. In the method Item_field::fix_fields we try to resolve the name of the field against the names of the aliases that occur in the select list. This is done by a call of the function find_item_in_list. When this function finds several occurrences of the field name it sends an error message to the error queue and returns 0. Yet the code did not take into account that find_item_in_list could return 0 and tried to dereference the returned value.
-
unknown authored
- configure --disable-grant-options defines DISABLE_GRANT_OPTIONS - configure.js/cmake also updated - if DISABLE_GRANT_OPTIONS is defined, mysqld no longer recognizes: --bootstrap --init-file --skip-grant-tables Scripts which rely on those three options are modified to check the environment for MYSQLD_BOOTSTRAP; it should be set to the full path of a mysqld which does handle those options. For example: $ export MYSQLD_BOOTSTRAP $ MYSQLD_BOOTSTRAP=/path/to/full/MySQL/bin/mysqld $ mysql_install_db $ make test configure.in: WL#3670 Add --disable-grant-options mysql-test/install_test_db.sh: Add MYSQLD_BOOTSTRAP env variable, to enable test suite to work even if mysqld does not accept --bootstrap or --skip-grant-tables. mysql-test/mysql-test-run.pl: Add MYSQLD_BOOTSTRAP env variable, to enable test suite to work even if mysqld does not accept --bootstrap or --skip-grant-tables. mysql-test/mysql_test_run_new.c: Mention need for MYSQLD_BOOTSTRAP in a comment, in case this needs to be used with a mysqld which does not accept the --bootstrap option. scripts/mysql_install_db.sh: Add MYSQLD_BOOTSTRAP env variable, to enable mysqld_install_db to work even if mysqld does not accept --bootstrap or --skip-grant-tables. sql/CMakeLists.txt: Add DISABLE_GRANT_OPTIONS define sql/mysqld.cc: Add DISABLE_GRANT_OPTIONS define, which removes the --bootstrap, --init-file, and --skip-grant-tables options win/README: Document the DISABLE_GRANT_OPTIONS define win/configure.js: Handle DISABLE_GRANT_OPTIONS
-
unknown authored
into olga.mysql.com:/home/igor/mysql-5.0-opt
-
- 09 Jan, 2007 3 commits
-
-
unknown authored
support-files/MySQL-shared-compat.spec.sh : Dummy, irrelevant change - just trigger a new build. support-files/MySQL-shared-compat.spec.sh: Dummy, irrelevant change - just trigger a new build.
-
unknown authored
used. The Item::save_in_field() function is called from fill_record() to fill the new row with data while execution of the CREATE TABLE ... SELECT statement. Item::save_in_field() calls val_xxx() methods in order to get values. val_xxx() methods do not take into account the result field. Due to this Item_func_set_user_var::val_xxx() methods returns values from the original table, not from the temporary one. The save_in_field() member function is added to the Item_func_set_user_var class. It detects whether the result field should be used and properly updates the value of the user variable. sql/item_func.cc: Bug#16861: User defined variable can have a wrong value if a tmp table was used. Added the save_in_field() member function to the Item_func_set_user_var class. sql/item_func.h: Bug#16861: User defined variable can have a wrong value if a tmp table was used. Added the save_in_field() member function to the Item_func_set_user_var class. mysql-test/r/user_var.result: Extended the test case for bug#18681: User defined variable can have a wrong value if a tmp table was used. mysql-test/t/user_var.test: Extended the test case for bug#18681: User defined variable can have a wrong value if a tmp table was used.
-
unknown authored
into olga.mysql.com:/home/igor/mysql-5.0-opt sql/item_cmpfunc.cc: Auto merged
-