- 20 Sep, 2005 1 commit
-
-
unknown authored
The problem was in the way table references are pre-filtered when resolving a qualified field. When resolving qualified table references we search recursively in the operands of the join. If there is natural/using join with a merge view, the first call to find_field_in_table_ref makes a recursive call to itself with the view as the new table reference to search for the column. However the view has both nested_join and join_columns != NULL so it skipped the test whether the view name matches the field qualifier. As a result the field was found in the view since the view already has a field with the same name. Thus the field was incorrectly resolved as the view field. mysql-test/r/select.result: Test for BUG#13127. mysql-test/t/select.test: Test for BUG#13127. sql/sql_base.cc: The patch contains two independent changes: - When searching for qualified fields, include merge views and information schema tables used with SHOW (both using TABLE_LIST::field_translation to represent result fields) in the test that compares the qualifying table with the name of the table reference being searched. This change fixes the bug. - Do not search the materialized list of columns of a NATURAL/USING join if 'table_list' is a stored table or merge view. Instead search directly in the table or view as if it is not under a natural join. This is a performance improvement since if 'table_list' is a stored table, then the search can utilize the name hash for table names.
-
- 19 Sep, 2005 13 commits
-
-
unknown authored
into mysql.com:/home/cps/mysql/trees/mysql-5.0-virgin
-
unknown authored
server-tools/instance-manager/buffer.cc: perform initialization of static consts in .cc file to respect VC6 server-tools/instance-manager/buffer.h: fix compiler warning server-tools/instance-manager/commands.cc: fix compiler warning server-tools/instance-manager/user_map.cc: fix compiler warning
-
unknown authored
into a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.0 client/mysqltest.c: Merged from 4.1.
-
unknown authored
into a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.1 client/mysqltest.c: Merged from 4.0.
-
unknown authored
-
unknown authored
Bug #13152 bit fields and fields that follow become corrupted when dumped from NDB tables
-
unknown authored
into mysql.com:/Users/kent/mysql/bk/mysql-5.0 mysql-test/mysql-test-run.pl: Auto merged ndb/src/ndbapi/Ndbinit.cpp: Auto merged
-
unknown authored
Added flag --valgrind-mysqltest mysql-test/mysql-test-run.pl: Added flag --valgrind-mysqltest
-
unknown authored
big delete from causing NdbObjectIdMap::expand at same time as receiver thread perform getObjectId ndb/src/ndbapi/Ndbinit.cpp: Protect NdbObjectIdMap::expand from getObjectId ndb/src/ndbapi/ObjectMap.hpp: Protect NdbObjectIdMap::expand from getObjectId
-
unknown authored
into mysql.com:/Users/kent/mysql/bk/mysql-5.0 mysql-test/mysql-test-run.pl: Auto merged
-
unknown authored
Bug#10504: additional test mysql-test/t/ctype_utf8.test: Bug#10504: additional test mysql-test/r/ctype_utf8.result: Bug#10504: additional test
-
unknown authored
into mysql.com:/usr/home/bar/mysql-5.0.b10504
-
unknown authored
into lmy002.wdf.sap.corp:/home/georg/work/mysql/bugs/mysql-5.0-master mysql-test/r/view.result: Auto merged mysql-test/t/view.test: Auto merged sql/sql_view.cc: Auto merged
-
- 18 Sep, 2005 5 commits
-
-
unknown authored
sql/parse_file.cc: Fix after discussion/review with Sanja: removed rename_view from sql_view to general function rename_in_schema_file (so it can be used for other .frm types like triggers too) sql/parse_file.h: added prototype for rename_in_schema_file sql/sql_rename.cc: simplified code (thanks to Sanja) sql/sql_view.cc: moved rename_view_files to rename_in_schema_file (parse_file.cc) corrected MYF parameter from MY_WME to 0.
-
unknown authored
into snake-hub.snake.net:/src/extern/MySQL/bk/merge-4.1
-
unknown authored
into snake-hub.snake.net:/src/extern/MySQL/bk/mysql-5.0
-
unknown authored
into snake-hub.snake.net:/src/extern/MySQL/bk/merge-4.1
-
unknown authored
Delete: man/which.2 BitKeeper/deleted/.del-which.2~463417adb2e37122: Delete: man/which.2
-
- 17 Sep, 2005 1 commit
-
-
unknown authored
Brian's "he is too lazy to commit this so Eric is going to have to do it" environmental variable hack for prefix. This allows you to just set a prefix in your profile which will be used in all of your builds. AKA you can be even lazier(!) about calling BUILD scripts. Don't blame Eric, Brian borrowed his keyboard. BUILD/SETUP.sh: Added option to set environmental variable in case you are lazy about setting prefix (ala Brian) BUILD/autorun.sh: Change of syntax
-
- 16 Sep, 2005 10 commits
-
-
unknown authored
-
unknown authored
Enabled --valgrind to work (bug#13280) mysql-test/mysql-test-run.pl: Enabled --valgrind to work (bug#13280)
-
unknown authored
into 127.(none):/home/osku/mysql/5.0/clean
-
unknown authored
mysql-test/r/view.result: test results for rename table view1 to view2 mysql-test/t/view.test: tests for rename table view1 to view2 sql/share/errmsg.txt: added new errormessage (schema change not allowed in rename table view) sql/sql_rename.cc: added support for renaming views sql/sql_view.cc: added new function mysql_rename_view sql/sql_view.h: added prototype mysql_rename_view
-
unknown authored
-
unknown authored
into moonbone.local:/work/12291-bug-5.0-mysql
-
unknown authored
into mysql.com:/M50/mysql-5.0
-
unknown authored
into sanja.is.com.ua:/home/bell/mysql/bk/work-owner2-5.0
-
unknown authored
sql/sql_show.cc: fixed typo fixed length detection
-
unknown authored
Character set does not support traditional mode ctype_utf8.result, ctype_utf8.test: adding test case. password.c, mysql_com.h Changeing octet2hex availability from static to public. item_strfunc.cc: Result string is now checked to be well-formed. Warning/error is generated, depending on sql_mode. include/mysql_com.h: Bug#10504 Character set does not support traditional mode Changeing octet2hex from static to public. sql/item_strfunc.cc: Result string is now checked to be well-formed. Warning/error is generated, depending on sql_mode. sql/password.c: Changeing octet2hex from static to public. mysql-test/t/ctype_utf8.test: adding test case. mysql-test/r/ctype_utf8.result: adding test case.
-
- 15 Sep, 2005 10 commits
-
-
unknown authored
Optimizer did choose "Range checked for each record" for one of the tables. For first few loops over that table it choose sequential access, on later stage it choose to use index. Because table was previously initialized for sequential access, it skips intitialization for index access, and when server tries to retrieve data error occurs. QUICK_RANGE_SELECT::init() changes so if file already initialized for sequential access, it calls ha_rnd_end() and initializes file for index access. sql/opt_range.cc: Fix bug #12291 Table wasn't reinited for index scan after sequential scan mysql-test/t/select.test: Test case for bug #12291 Table wasn't reinited for index scan after sequential scan mysql-test/r/select.result: Test case for bug #12291 Table wasn't reinited for index scan after sequential scan
-
unknown authored
into moonbone.local:/work/12887-bug-5.0-mysql
-
unknown authored
into moonbone.local:/work/12887-bug-5.0-mysql BitKeeper/etc/ignore: auto-union BitKeeper/deleted/.del-isam.test~834fb0ee8196c445: Auto merged BitKeeper/deleted/.del-rpl_trunc_binlog.test~961b1f6ac73d37c8: Auto merged mysql-test/r/flush_block_commit.result: Auto merged mysql-test/r/flush_table.result: Auto merged mysql-test/r/lock_multi.result: Auto merged mysql-test/r/rpl_server_id1.result: Auto merged mysql-test/r/rpl_server_id2.result: Auto merged mysql-test/r/rpl_start_stop_slave.result: Auto merged mysql-test/t/bool.test: Auto merged mysql-test/t/cast.test: Auto merged mysql-test/t/create_select_tmp.test: Auto merged mysql-test/t/ctype_latin1_de.test: Auto merged mysql-test/t/flush_block_commit.test: Auto merged mysql-test/t/func_concat.test: Auto merged mysql-test/t/func_if.test: Auto merged mysql-test/t/grant.test: Auto merged mysql-test/t/grant_cache.test: Auto merged mysql-test/t/innodb-deadlock.test: Auto merged mysql-test/t/innodb-lock.test: Auto merged mysql-test/t/loaddata.test: Auto merged mysql-test/t/lock_multi.test: Auto merged mysql-test/t/lowercase_table.test: Auto merged mysql-test/t/lowercase_table3.test: Auto merged mysql-test/t/mix_innodb_myisam_binlog.test: Auto merged mysql-test/t/mysqlbinlog.test: Auto merged mysql-test/t/mysqldump.test: Auto merged mysql-test/t/query_cache.test: Auto merged mysql-test/t/rpl_EE_error.test: Auto merged mysql-test/t/rpl_change_master.test: Auto merged mysql-test/t/rpl_drop.test: Auto merged mysql-test/t/rpl_empty_master_crash.test: Auto merged mysql-test/t/rpl_error_ignored_table.test: Auto merged mysql-test/t/rpl_flush_log_loop.test: Auto merged mysql-test/t/rpl_get_lock.test: Auto merged mysql-test/t/rpl_heap.test: Auto merged mysql-test/t/rpl_insert_id.test: Auto merged mysql-test/t/rpl_loaddata.test: Auto merged mysql-test/t/rpl_loaddata_rule_m.test: Auto merged mysql-test/t/rpl_loaddata_rule_s.test: Auto merged mysql-test/t/rpl_loaddatalocal.test: Auto merged mysql-test/t/rpl_max_relay_size.test: Auto merged mysql-test/t/rpl_reset_slave.test: Auto merged mysql-test/t/rpl_server_id2.test: Auto merged mysql-test/t/system_mysql_db.test: Auto merged mysql-test/t/system_mysql_db_fix.test: Auto merged
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
-
unknown authored
mysql-test/r/insert_select.result: duplicated test removed mysql-test/t/insert_select.test: duplicated test removed
-
unknown authored
into moonbone.local:/work/12887-bug-5.0-mysql vio/viosocket.c: Auto merged
-
unknown authored
into mysql.com:/home/jimw/my/mysql-4.1-clean
-
unknown authored
-
unknown authored
BitKeeper/etc/ignore: auto-union mysql-test/t/bool.test: Auto merged mysql-test/t/cast.test: Auto merged mysql-test/t/func_concat.test: Auto merged mysql-test/t/grant.test: Auto merged mysql-test/t/grant_cache.test: Auto merged mysql-test/t/innodb-deadlock.test: Auto merged mysql-test/t/loaddata.test: Auto merged mysql-test/t/lowercase_table.test: Auto merged mysql-test/t/lowercase_table3.test: Auto merged mysql-test/t/mix_innodb_myisam_binlog.test: Auto merged mysql-test/t/mysqlbinlog.test: Auto merged mysql-test/t/mysqldump.test: Auto merged mysql-test/t/query_cache.test: Auto merged mysql-test/t/rpl_EE_error.test: Auto merged mysql-test/t/rpl_change_master.test: Auto merged mysql-test/t/rpl_empty_master_crash.test: Auto merged BitKeeper/deleted/.del-isam.test~834fb0ee8196c445: Auto merged BitKeeper/deleted/.del-rpl_trunc_binlog.test~961b1f6ac73d37c8: Auto merged mysql-test/r/flush_block_commit.result: Auto merged mysql-test/r/flush_table.result: Auto merged mysql-test/r/lock_multi.result: Auto merged mysql-test/r/rpl_server_id1.result: Auto merged mysql-test/r/rpl_server_id2.result: Auto merged mysql-test/r/rpl_start_stop_slave.result: Auto merged mysql-test/t/create_select_tmp.test: Auto merged mysql-test/t/ctype_latin1_de.test: Auto merged mysql-test/t/flush_block_commit.test: Auto merged mysql-test/t/func_if.test: Auto merged mysql-test/t/innodb-lock.test: Auto merged mysql-test/t/lock_multi.test: Auto merged mysql-test/t/rpl_drop.test: Auto merged mysql-test/t/rpl_error_ignored_table.test: Auto merged mysql-test/t/rpl_flush_log_loop.test: Auto merged mysql-test/t/rpl_get_lock.test: Auto merged mysql-test/t/rpl_heap.test: Auto merged mysql-test/t/rpl_insert_id.test: Auto merged mysql-test/t/rpl_loaddata.test: Auto merged mysql-test/t/rpl_loaddata_rule_m.test: Auto merged mysql-test/t/rpl_loaddata_rule_s.test: Auto merged mysql-test/t/rpl_loaddatalocal.test: Auto merged mysql-test/t/rpl_max_relay_size.test: Auto merged mysql-test/t/rpl_reset_slave.test: Auto merged mysql-test/t/system_mysql_db.test: Auto merged mysql-test/t/system_mysql_db_fix.test: Auto merged sql/sql_select.cc: Auto merged mysql-test/t/rpl_server_id2.test: Auto merged
-
unknown authored
into selena.:H:/MYSQL/src/fin-mysql-5.0
-