summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Cleanups & safety fixesunknown2004-03-2513-112/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | include/mysql.h: cleanup of load data infile patch libmysql/libmysql.c: cleanup of load data infile patch myisam/mi_search.c: Added missing assert.h mysql-test/r/func_time.result: Make test more secure mysql-test/t/func_time.test: Make test more secure sql/item.cc: restore to use str_value in item::save_in_field sql/item.h: Simple cleanup sql/item_cmpfunc.cc: Safety fix sql/item_cmpfunc.h: Simple optimization sql/item_func.cc: Updated comment sql/sql_base.cc: Simple optimization sql/sql_select.cc: Simple optimization sql/sql_union.cc: safey fixes
* Merge bk-internal.mysql.com:/home/bk/mysql-4.1unknown2004-03-2535-463/+1096
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/home/my/mysql-4.1 myisam/mi_check.c: Auto merged sql/field.cc: Auto merged strings/ctype-sjis.c: Auto merged strings/ctype-ucs2.c: Auto merged
| * BTREE-indexes in HEAP tables can now be used to optimize ORDER BYunknown2004-03-2535-463/+1096
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't read character set files if we are using only the default charset. In most cases the user will not anymore get a warning about missing character set files Compare strings with space extend instead of space strip. Now the following comparisons holds: "a" == "a " and "a\t" < "a". (Bug #3152). Note: Because of the above fix, one has to do a REPAIR on any table that has an ascii character < 32 last in a CHAR/VARCHAR/TEXT columns. heap/hp_hash.c: Comments and DBUG information include/my_handler.h: Updated prototype for mi_compare_text myisam/ft_boolean_search.c: Updated calls to mi_compare_text myisam/ft_nlq_search.c: Updated calls to mi_compare_text myisam/ft_parser.c: Updated calls to mi_compare_text myisam/ft_stopwords.c: Updated calls to mi_compare_text myisam/ft_update.c: Updated calls to mi_compare_text myisam/mi_check.c: Updated calls to mi_compare_text myisam/mi_search.c: Changed all string comparisons that removed end space to instead extend the shorter string with space myisam/mi_unique.c: Updated calls to mi_compare_text myisam/mi_write.c: Updated calls to mi_compare_text myisam/myisam_ftdump.c: Removed compiler warning mysql-test/r/ctype_collate.result: Fixed wrong result mysql-test/r/heap_btree.result: More tests mysql-test/t/heap_btree.test: more tests mysys/charset.c: Don't read charsets if we are only using default charset Don't require 'init_available_charsets' to succeed. mysys/my_handler.c: Compare strings with space extend instead of space strip mysys/tree.c: Fixed code to get better results for range optimzier sql/field.cc: Compare strings with space extend instead of space strip sql/filesort.cc: Compare strings with space extend instead of space strip sql/ha_heap.cc: Created bit map for keys that are using BTREE. This allows the optimzer to use BTREE's for sorting sql/ha_heap.h: Created bit map for keys that are using BTREE. This allows the optimzer to use BTREE's for sorting strings/ctype-big5.c: Compare strings with space extend instead of space strip strings/ctype-czech.c: Indentation cleanup. Should be fixed to use space extend strings/ctype-gbk.c: Compare strings with space extend instead of space strip strings/ctype-latin1.c: Compare strings with space extend instead of space strip Added missing my_hash_sort_latin1_de function strings/ctype-mb.c: For binary strings, don't remove end space when comparing strings/ctype-simple.c: Compare strings with space extend instead of space strip strings/ctype-sjis.c: Compare strings with space extend instead of space strip strings/ctype-tis620.c: Added comments that we should fix end space handling strings/ctype-ucs2.c: indentation fixes strings/ctype-utf8.c: Added comments that we should fix end space handling strings/ctype-win1250ch.c: Added comments that we should fix end space handling
* | Bug #3290 [Ver]: Can't convert sjis&ujis half-width katakana correctlyunknown2004-03-253-17/+60
| | | | | | | | | | | | | | UJIS part fix
* | #3290: Can't convert sjis&ujis half-width katakana correctlyunknown2004-03-255-1/+96
| |
* | Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2004-03-253-2/+27
|\ \ | | | | | | | | | | | | | | | | | | into deer.(none):/home/hf/work/mysql-4.1.3266
| * \ Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2004-03-253-2/+27
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | into deer.(none):/home/hf/work/mysql-4.1.3266
| | * \ Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2004-03-233-2/+27
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into deer.(none):/home/hf/work/mysql-4.1.3266 sql/item.cc: Auto merged
| | | * | Fix for #3266 (garbled TEXT fields as a result of CREATE TABLE SELECT)unknown2004-03-233-2/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem is that Item::save_in_field modifies str_value member before it calls val_str but Item_copy_string::val_str just returns this str_value as the result. I added local String variable to the Item::save_in_field mysql-test/r/create.result: appropriate test result mysql-test/t/create.test: test case sql/item.cc: local variable added to keep the result
* | | | | Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2004-03-253-0/+17
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | into deer.(none):/home/hf/work/mysql-4.1.3264
| * | | | Fix for #3264 (FROM_DAYS doesn't work properly in range comparison)unknown2004-03-233-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Item_func_from_days::get_date didn't change 'hr', 'min' and some other fields of incoming ltime, so they got random values. bzeroing of the ltime added mysql-test/r/func_time.result: appropriate test result mysql-test/t/func_time.test: test case sql/item_timefunc.cc: cleaning ltime added
* | | | | I didn't get a couple of system variables alphabetized correctly.unknown2004-03-241-3/+3
| | | | |
* | | | | Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2004-03-2411-32/+7103
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into ice.snake.net:/Volumes/ice2/MySQL/bk/mysql-4.1
| * \ \ \ \ Merge bk-internal:/home/bk/mysql-4.1/unknown2004-03-244-21/+29
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into serg.mylan:/usr/home/serg/Abk/mysql-4.1
| | * | | | | accorting to the manual, when neither GLOBAL or SESSION in SETunknown2004-03-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is specified, the default is SESSION.
| | * | | | | SHOW PRIVILEGES updated (Bug#3227)unknown2004-03-243-20/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Docs/README.1st: Change mode to -rw-rw-r--
| * | | | | | ctype-uca.c:unknown2004-03-241-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conditional compilation strings/ctype-uca.c: Conditional compilation
| * | | | | | Unicode Collation Algorithm subset implementationunknown2004-03-247-11/+7069
| |/ / / / /
* | | | | | Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2004-03-2322-59/+294
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into ice.snake.net:/Volumes/ice2/MySQL/bk/mysql-4.1
| * | | | | uca-dump.c:unknown2004-03-231-12/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't dump default implicit weights strings/uca-dump.c: Don't dump default implicit weights
| * | | | | Merge bk-internal:/home/bk/mysql-4.1/unknown2004-03-238-20/+26
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into serg.mylan:/usr/home/serg/Abk/mysql-4.1
| | * | | | | correct support for a mix of UNION/UNION ALL in the same query.unknown2004-03-238-20/+26
| | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug#1428
| * | | | | small addition to the fix for #3188unknown2004-03-232-0/+2
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dropping of tables added to the testcase mysql-test/r/subselect.result: result fixed mysql-test/t/subselect.test: dropping added
| * | | | Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2004-03-2318-43/+254
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | into deer.(none):/home/hf/work/mysql-4.1.3188 sql/item.cc: Auto merged
| | * | | Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2004-03-233-3/+31
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into deer.(none):/home/hf/work/mysql-4.1.3067
| | | * \ \ Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2004-03-223-3/+31
| | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into deer.(none):/home/hf/work/mysql-4.1.3067
| | | | * | | Fix for #3067 (REPAIR TABLE reenables disabled keys)unknown2004-03-223-3/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | myisam/mi_check.c: we only restore key_map if it's required mysql-test/r/repair_part1.result: appropriate test result mysql-test/t/repair_part1.test: test case
| | * | | | | Added LOCAL INFILE callback function support.unknown2004-03-225-20/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
| | * | | | | Merge gweir@build.mysql.com:/home/bk/mysql-4.1unknown2004-03-222-4/+8
| | |\ \ \ \ \ | | | |_|_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into greg-laptop.:C:/cygwin/bk/mysql-4.1 sql/item.h: Auto merged
| | | * | | | Changes in Windows project files instituted after latest 4.1 test build.unknown2004-03-212-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VC++Files/mysys/mysys.dsp: Add my_gethwaddr, my_getsystime VC++Files/sql/mysqld.dsp: Remove opt_ft.cpp (no longer exists)
| | | * | | | Merge gweir@build.mysql.com:/home/bk/mysql-4.1unknown2004-03-013-2/+17
| | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into greg-laptop.:C:/cygwin/bk/mysql-4.1
| | | * \ \ \ \ Merge gweir@build.mysql.com:/home/bk/mysql-4.1unknown2004-03-0136-113/+128
| | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into greg-laptop.:C:/cygwin/bk/mysql-4.1
| | | * \ \ \ \ \ Merge gweir@build.mysql.com:/home/bk/mysql-4.1unknown2004-02-282-4/+4
| | | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into greg-laptop.:C:/cygwin/bk/mysql-4.1
| | | * \ \ \ \ \ \ Merge gweir@build.mysql.com:/home/bk/mysql-4.1unknown2004-02-280-0/+0
| | | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into greg-laptop.:C:/cygwin/bk/mysql-4.1
| | | | * \ \ \ \ \ \ Merge gweir@build.mysql.com:/home/bk/mysql-4.1unknown2004-02-270-0/+0
| | | | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into greg-laptop.:C:/cygwin/bk/mysql-4.1 sql/item.h: Auto merged
| | | | * | | | | | | | Remove extraneous class delimiter to fix compile errors on HP-UX.unknown2004-02-271-1/+1
| | | | | | | | | | | |
| * | | | | | | | | | | Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2004-03-223-0/+16
| |\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into deer.(none):/home/hf/work/mysql-4.1.clean sql/item.cc: Auto merged mysql-test/r/subselect.result: Auto merged mysql-test/t/subselect.test: Auto merged
| | * | | | | | | | | | Fix for #3188unknown2004-03-183-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysql-test/r/subselect.result: appropriate test result mysql-test/t/subselect.test: test case sql/item.cc: we can get NULL here if the field isn't unique
* | | | | | | | | | | | Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2004-03-229-16/+34
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into ice.snake.net:/Volumes/ice2/MySQL/bk/mysql-4.1
| * | | | | | | | | | | Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1unknown2004-03-228-16/+34
| |\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into sanja.is.com.ua:/home/bell/mysql/bk/work-alias-4.1
| | * | | | | | | | | | aliases should be compared with my_strcasecmp (BUG#3251)unknown2004-03-228-16/+34
| | | |_|_|_|_|_|_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | some db comparison code cleupup removed compiler warnings mysql-test/r/lowercase_table.result: test for BUG#3251 mysql-test/t/lowercase_table.test: test for BUG#3251 sql/item.cc: simple strcmp can be used for db name comparison sql/set_var.h: changed initialisation order to satisfy compiler sql/sql_cache.cc: simple strcmp can be used for db name comparison sql/sql_db.cc: better use special cherset for files sql/sql_parse.cc: simple strcmp can be used for db name comparison aliases should be compared with my_strcasecmp sql/sql_select.cc: aliases should be compared with my_strcasecmp
| * | | | | | | | | | uca-dump.c:unknown2004-03-221-0/+258
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | new file
| * | | | | | | | | | .del-uca-dump.c~da786d5a909db27a:unknown2004-03-221-258/+0
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Delete: mysys/uca-dump.c BitKeeper/deleted/.del-uca-dump.c~da786d5a909db27a: Delete: mysys/uca-dump.c
* | | | | | | | | | Some SHOW STATUS lines were in non-alphabetic order.unknown2004-03-211-26/+26
|/ / / / / / / / /
* | | | | | | | | Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1unknown2004-03-219-26/+52
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into sanja.is.com.ua:/home/bell/mysql/bk/work-select_list-4.1 sql/sql_parse.cc: Auto merged
| * | | | | | | | | Be picky.unknown2004-03-201-4/+4
| | | | | | | | | |
| * | | | | | | | | more sys_var_str fixesunknown2004-03-203-9/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysql-test/r/variables.result: more tests mysql-test/t/variables.test: more tests sql/set_var.cc: don't crash on NULL
| * | | | | | | | | sys_var_str.value is never NULLunknown2004-03-202-2/+2
| | | | | | | | | |
| * | | | | | | | | Merge bk-internal:/home/bk/mysql-4.1/unknown2004-03-206-11/+23
| |\ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into serg.mylan:/usr/home/serg/Abk/mysql-4.1 sql/set_var.cc: Auto merged mysql-test/t/ctype_utf8.test: Auto merged
| | * | | | | | | | select @@smth=@@sys_str_var crash fixedunknown2004-03-206-11/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysql-test/r/variables.result: new test mysql-test/t/ctype_utf8.test: typos fixed mysql-test/t/variables.test: new test sql/mysqld.cc: sys_str_var->value must be not NULL sql/set_var.cc: initialize sys_str_var->value from a constructor sql/set_var.h: initialize sys_str_var->value from a constructor