summaryrefslogtreecommitdiff
path: root/mysql-test
Commit message (Collapse)AuthorAgeFilesLines
* Merge dl145s.mysql.com:/data0/bk/team_tree_merge/MERGE2/mysql-5.0gkodinov@dl145s.mysql.com2006-12-042-0/+2
|\ | | | | | | into dl145s.mysql.com:/data0/bk/team_tree_merge/MERGE2/mysql-5.1
| * Merge dl145s.mysql.com:/data0/bk/team_tree_merge/mysql-5.0-optgkodinov@dl145s.mysql.com2006-12-042-0/+2
| |\ | | | | | | | | | into dl145s.mysql.com:/data0/bk/team_tree_merge/MERGE2/mysql-5.0
| | * type_varchar.result:gkodinov/kgeorge@macbook.gmz2006-12-041-0/+1
| | | | | | | | | | | | fixed a valgrind problem
| | * item_func.cc:gkodinov/kgeorge@macbook.gmz2006-12-041-0/+1
| | | | | | | | | | | | | | | | | | fixed a valgrind warning type_varchar.test: fixed a valgrind warning
| * | Merge dfischer@bk-internal.mysql.com:/home/bk/mysql-5.0-marveldf@kahlann.erinye.com2006-12-013-1/+20
| |\ \ | | | | | | | | | | | | into kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-build
| * \ \ Merge dfischer@bk-internal.mysql.com:/home/bk/mysql-5.0df@kahlann.erinye.com2006-12-012-2/+8
| |\ \ \ | | |_|/ | |/| | | | | | into kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-build
* | | | Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.1mskold/marty@linux.site2006-12-0120-201/+370
|\ \ \ \ | | | | | | | | | | | | | | | into mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
| * \ \ \ Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1mskold/marty@linux.site2006-12-013-1/+27
| |\ \ \ \ | | | | | | | | | | | | | | | | | | into mysql.com:/windows/Linux_space/MySQL/mysql-5.1
| * \ \ \ \ Merge dfischer@bk-internal.mysql.com:/home/bk/mysql-5.1df@kahlann.erinye.com2006-12-018-201/+28
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | into kahlann.erinye.com:/home/df/mysql/build/mysql-5.1-build
| | * \ \ \ \ Merge dfischer@bk-internal.mysql.com:/home/bk/mysql-5.1-marveldf@kahlann.erinye.com2006-12-012-1/+7
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | into kahlann.erinye.com:/home/df/mysql/build/mysql-5.1-build
| | | * \ \ \ \ Merge dfischer@bk-internal.mysql.com:/home/bk/mysql-5.1df@kahlann.erinye.com2006-12-012-1/+7
| | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | into kahlann.erinye.com:/home/df/mysql/build/mysql-5.1-build
| | | | * \ \ \ \ Merge kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-build-workdf@kahlann.erinye.com2006-11-301-0/+6
| | | | |\ \ \ \ \ | | | | | | |_|/ / | | | | | |/| | | | | | | | | | | | into kahlann.erinye.com:/home/df/mysql/build/mysql-5.1-build
| | | | | * | | | late after-merge fixdf@kahlann.erinye.com2006-11-301-1/+7
| | | | | | | | |
| | | | * | | | | Merge kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-build-workdf@kahlann.erinye.com2006-11-301-1/+1
| | | | |\ \ \ \ \ | | | | | |/ / / / | | | | | | | | | | | | | | | | | | into kahlann.erinye.com:/home/df/mysql/build/mysql-5.1-build
| | | | | * | | | Merge kahlann.erinye.com:/home/df/mysql/build/mysql-4.1-build-workdf@kahlann.erinye.com2006-11-301-1/+1
| | | | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-build-work
| | | | | | * | | | minor fix to mtr_process.pldf@kahlann.erinye.com2006-11-301-1/+1
| | | | | | | | | |
| | * | | | | | | | Merge bk-internal.mysql.com:/home/bk/mysql-5.1monty@narttu.mysql.fi2006-11-306-200/+21
| | |\ \ \ \ \ \ \ \ | | | |/ / / / / / / | | |/| | | | | | | | | | | | | | | | | into mysql.com:/home/my/mysql-5.1
| | | * | | | | | | Don't abort if we call my_thread_end() multiple timesmonty@mysql.com/narttu.mysql.fi2006-11-301-189/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed new introduced bug in my_time.c
| | | * | | | | | | Merge mysql.com:/home/my/mysql-5.0monty@narttu.mysql.fi2006-11-293-1/+20
| | | |\ \ \ \ \ \ \ | | | | | |_|_|_|_|/ | | | | |/| | | | | | | | | | | | | | | into mysql.com:/home/my/mysql-5.1
| | | | * | | | | | Merge bk-internal.mysql.com:/home/bk/mysql-5.0monty@mysql.com/narttu.mysql.fi2006-11-293-1/+20
| | | | |\ \ \ \ \ \ | | | | | |_|/ / / / | | | | |/| | | | | | | | | | | | | | | into mysql.com:/home/my/mysql-5.0
| | | | | * | | | | Increased heap max length to > 4G for 64 bit machines monty@mysql.com/nosik.monty.fi2006-11-283-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialize key_part->type on open. This caused key_copy() to fail for bit_fields. (key_copy is used in HANDLER and opt_range)
| | | * | | | | | | Merge bk-internal.mysql.com:/home/bk/mysql-5.1monty@narttu.mysql.fi2006-11-292-10/+1
| | | |\ \ \ \ \ \ \ | | | | |_|_|/ / / / | | | |/| | | | | | | | | | | | | | | | into mysql.com:/home/my/mysql-5.1
| | | | * | | | | | Added back sql-bench directory, so that one can more easily run benchmarks ↵monty@mysql.com/narttu.mysql.fi2006-11-292-10/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on a server and add new benchmarks for new optimizations Fixed memory leak in _db_set() (Bug#24497 Valgrind warning: get_one_option) Don't call net_clear() on COM_QUIT. This avoids a warning from net_clear() after shutdown: "skipped ## bytes from file" BUG#21428: skipped 9 bytes from file: socket (3)" on "mysqladmin shutdown"
| * | | | | | | | | Merge dl145s.mysql.com:/data0/bk/team_tree_merge/MERGE/mysql-5.0-optgkodinov@dl145s.mysql.com2006-11-304-27/+3
| |\ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | into dl145s.mysql.com:/data0/bk/team_tree_merge/MERGE/mysql-5.1-opt
| | * | | | | | | | Merge bk-internal:/home/bk/mysql-5.0-optgkodinov/kgeorge@macbook.gmz2006-11-304-27/+3
| | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into macbook.gmz:/Users/kgeorge/mysql/work/B11927-5.0-opt
| | | * | | | | | | | func_group.test, func_group.result, func_gconcat.result, func_gconcat.test:gkodinov/kgeorge@macbook.gmz2006-11-304-27/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | merge fix : removed undeterministic warnings
| * | | | | | | | | | Merge dl145s.mysql.com:/data0/bk/team_tree_merge/MERGE/mysql-5.0-optgkodinov@dl145s.mysql.com2006-11-302-19/+2
| |\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | into dl145s.mysql.com:/data0/bk/team_tree_merge/MERGE/mysql-5.1-opt
| | * | | | | | | | | Merge dl145s.mysql.com:/data0/bk/team_tree_merge/mysql-5.0gkodinov@dl145s.mysql.com2006-11-3012-0/+357
| | |\ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | into dl145s.mysql.com:/data0/bk/team_tree_merge/MERGE/mysql-5.0-opt
| | | * | | | | | | | func_gconcat.result, func_gconcat.test:gkodinov/kgeorge@macbook.gmz2006-11-302-19/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | disabled warnings because their order is undeterministic
| * | | | | | | | | | Merge dl145s.mysql.com:/data0/bk/team_tree_merge/mysql-5.1gkodinov@dl145s.mysql.com2006-11-3012-0/+383
| |\ \ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | into dl145s.mysql.com:/data0/bk/team_tree_merge/MERGE/mysql-5.1-opt
| | * | | | | | | | | Merge dl145s.mysql.com:/data0/bk/team_tree_merge/MERGE2/mysql-5.0-optgkodinov@dl145s.mysql.com2006-11-291-2/+1
| | |\ \ \ \ \ \ \ \ \ | | | | |/ / / / / / / | | | |/| | | | | | | | | | | | | | | | | | into dl145s.mysql.com:/data0/bk/team_tree_merge/MERGE2/mysql-5.1-opt
| | | * | | | | | | | Merge dl145s.mysql.com:/data0/bk/team_tree_merge/mysql-5.0-optgkodinov@dl145s.mysql.com2006-11-291-2/+1
| | | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into dl145s.mysql.com:/data0/bk/team_tree_merge/MERGE2/mysql-5.0-opt
| | | | * | | | | | | | view_grant.result:evgen@moonbone.local2006-11-291-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Small fix for a test case
| | * | | | | | | | | | Merge dl145s.mysql.com:/data0/bk/team_tree_merge/MERGE2/mysql-5.0-optgkodinov@dl145s.mysql.com2006-11-294-0/+98
| | |\ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | into dl145s.mysql.com:/data0/bk/team_tree_merge/MERGE2/mysql-5.1-opt
| | | * | | | | | | | | Merge dl145s.mysql.com:/data0/bk/team_tree_merge/mysql-5.0-optgkodinov@dl145s.mysql.com2006-11-2928-276/+479
| | | |\ \ \ \ \ \ \ \ \ | | | | |/ / / / / / / / | | | |/| | | | | | | | | | | | | | | | | | | | into dl145s.mysql.com:/data0/bk/team_tree_merge/MERGE2/mysql-5.0-opt
| | | | * | | | | | | | Merge dl145s.mysql.com:/data0/bk/team_tree_merge/MERGE2/mysql-4.1-optgkodinov@dl145s.mysql.com2006-11-291-1/+0
| | | | |\ \ \ \ \ \ \ \ | | | | | | |_|_|_|_|/ / | | | | | |/| | | | | | | | | | | | | | | | | | into dl145s.mysql.com:/data0/bk/team_tree_merge/MERGE2/mysql-5.0-opt
| | | | | * | | | | | | Merge kahlann.erinye.com:/home/df/mysql/build/mysql-4.1-builddf@kahlann.erinye.com2006-11-291-1/+0
| | | | | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into kahlann.erinye.com:/home/df/mysql/build/mysql-4.1-build-work
| | | | | * \ \ \ \ \ \ \ Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1kent@mysql.com/kent-amd64.(none)2006-11-272-0/+166
| | | | | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/home/kent/bk/mysql-4.1-merge
| | | | * | \ \ \ \ \ \ \ \ Merge dl145s.mysql.com:/data0/bk/team_tree_merge/mysql-5.0gkodinov@dl145s.mysql.com2006-11-297-0/+277
| | | | |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into dl145s.mysql.com:/data0/bk/team_tree_merge/MERGE2/mysql-5.0-opt
| | | * | \ \ \ \ \ \ \ \ \ \ Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0-optevgen@moonbone.local2006-11-292-0/+41
| | | |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into moonbone.local:/work/20327-bug-5.0-opt-mysql
| | | | * | | | | | | | | | | | Bug#20327: Marking of a wrong field leads to a wrong result on select with view,evgen@moonbone.local2006-11-292-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prepared statement and subquery. When a field of a view from an outer select is resolved the find_field_in_view function creates an Item_direct_view_ref object that references the corresponding view underlying field. After that the view_ref is marked as a dependent one. While resolving view underlying field it also get marked as a dependent one due to current_select still points to the subselect. Marking the view underlying field is wrong and lead to attaching conditions to a wrong table and thus to the wrong result of the whole statement. Now mark_select_range_as_dependent() function isn't called for fields from a view underlying table.
| | | * | | | | | | | | | | | | Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0-optevgen@moonbone.local2006-11-297-0/+277
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | |_|/ / / / / / / / / / | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | into moonbone.local:/work/17254-bug-5.0-opt-mysql
| | | * | | | | | | | | | | | | Bug#17254: Error for DEFINER security on VIEW provides too much infoevgen@moonbone.local2006-11-272-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a view was created with the DEFINER security and later the definer user was dropped then a SELECT from the view throws the error message saying that there is no definer user is registered. This is ok for a root but too much for a mere user. Now the st_table_list::prepare_view_securety_context() function reveals the absence of the definer only to a superuser and throws the 'access denied' error to others.
| | * | | | | | | | | | | | | | Merge dl145s.mysql.com:/data0/bk/team_tree_merge/mysql-5.1gkodinov@dl145s.mysql.com2006-11-293-4/+162
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | |_|_|_|_|_|_|_|/ / / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | into dl145s.mysql.com:/data0/bk/team_tree_merge/MERGE2/mysql-5.1-opt
| | * | | | | | | | | | | | | | func_in.result, group_min_max.result:gkodinov@dl145s.mysql.com2006-11-292-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | merged 5.0 testcases
| | * | | | | | | | | | | | | | Merge dl145s.mysql.com:/data0/bk/team_tree_merge/mysql-5.0-optgkodinov@dl145s.mysql.com2006-11-297-0/+277
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | |_|/ / / / / / / / / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | into dl145s.mysql.com:/data0/bk/team_tree_merge/MERGE2/mysql-5.1-opt
| | | * | | | | | | | | | | | | Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.0-optgkodinov/kgeorge@rakia.gmz2006-11-282-0/+184
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into rakia.gmz:/home/kgeorge/mysql/autopush/B24156-5.0-opt
| | | | * | | | | | | | | | | | | Bug#24156: Loose index scan not used with CREATE TABLE ...SELECT and similargkodinov/kgeorge@macbook.gmz2006-11-282-0/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | statements Currently the optimizer evaluates loose index scan only for top-level SELECT statements Extend loose index scan applicability by : - Test the applicability of loose scan for each sub-select, instead of the whole query. This change enables loose index scan for sub-queries. - allow non-select statements with SELECT parts (like, e.g. CREATE TABLE .. SELECT ...) to use loose index scan.
| | | * | | | | | | | | | | | | | Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.0-optgkodinov/kgeorge@rakia.gmz2006-11-285-0/+93
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | |_|_|/ / / / / / / / / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into rakia.gmz:/home/kgeorge/mysql/autopush/B11927-5.0-opt
| | | | * | | | | | | | | | | | | BUG#11927: Warnings shown for CAST( chr as signed) but not (chr + 0)gkodinov/kgeorge@macbook.gmz2006-11-285-0/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When implicitly converting string fields to numbers the string-to-number conversion error was not sent to the client. Added code to send the conversion error as warning. We also need to prevent generation of warnings from the places where val_xxx() methods are called for the sole purpose of updating the Item::null_value flag. To achieve that a special function is added (and called) : update_null_value(). This function will set the no_errors flag and will call val_xxx(). The warning generation in Field_string::val_xxx() will use the flag when generating the conversion warnings.