Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MDEV-6353 my_ismbchar() and my_mbcharlen() refactoring | Alexander Barkov | 2016-05-17 | 17 | -186/+17 |
| | |||||
* | MDEV-9823 LOAD DATA INFILE silently truncates incomplete byte sequences | Alexander Barkov | 2016-04-06 | 3 | -0/+8 |
| | |||||
* | Updating conf_to_src.c according to the current CHARSET_INFO structure. | Alexander Barkov | 2016-04-05 | 1 | -4/+4 |
| | |||||
* | MDEV-8360 Clean-up CHARSET_INFO: strnncollsp: diff_if_only_endspace_difference | Alexander Barkov | 2016-03-31 | 9 | -183/+68 |
| | | | | | | | | | | | | | | | | | | | - Removing the "diff_if_only_endspace_difference" argument from MY_COLLATION_HANDLER::strnncollsp(), my_strnncollsp_simple(), as well as in the function template MY_FUNCTION_NAME(strnncollsp) in strcoll.ic - Removing the "diff_if_only_space_different" from ha_compare_text(), hp_rec_key_cmp(). - Adding a new function my_strnncollsp_padspace_bin() and reusing it instead of duplicate code pieces in my_strnncollsp_8bit_bin(), my_strnncollsp_latin1_de(), my_strnncollsp_tis620(), my_strnncollsp_utf8_cs(). - Adding more tests for better coverage of the trailing space handling. - Removing the unused definition of HA_END_SPACE_ARE_EQUAL | ||||
* | Removing my_strnncoll_mb_bin() and my_strnncollsp_mb_bin(), | Alexander Barkov | 2016-03-25 | 1 | -87/+0 |
| | | | | | as they are not used any more. We now use function templates from strcoll.ic instead. | ||||
* | Merge branch '10.1' into 10.2 | Sergei Golubchik | 2016-03-23 | 1 | -1/+1 |
|\ | |||||
| * | Merge branch '10.0' into 10.1 | Sergei Golubchik | 2016-03-21 | 1 | -1/+1 |
| |\ | |||||
| | * | Fix spelling: occurred, execute, which etc | Otto Kekäläinen | 2016-03-04 | 1 | -1/+1 |
| | | | |||||
* | | | Removing duplicate code: sharing implementation of "strnxfrm" | Alexander Barkov | 2016-03-23 | 3 | -68/+46 |
| | | | | | | | | | | | | between gbk_chinese_ci and big5_chinese_ci. | ||||
* | | | Removing unused code in ctype-bin5.c | Alexander Barkov | 2016-03-23 | 1 | -48/+0 |
| | | | |||||
* | | | Fixing compilation warnings introduced in: | Alexander Barkov | 2016-03-23 | 3 | -4/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | > commit e09299511e83f11f7476f7ea6c81ee12b00d7050 > Author: Alexander Barkov <bar@mariadb.org> > Date: Wed Mar 16 10:55:12 2016 +0400 > > MDEV-9665 Remove cs->cset->ismbchar() > Using a more powerfull cs->cset->charlen() instead. | ||||
* | | | MDEV-9665 Remove cs->cset->ismbchar() | Alexander Barkov | 2016-03-16 | 15 | -137/+9 |
| | | | | | | | | | | | | Using a more powerfull cs->cset->charlen() instead. | ||||
* | | | Merge branch '10.1' into 10.2 | Sergei Golubchik | 2016-02-25 | 2 | -13/+17 |
|\ \ \ | |/ / | |||||
| * | | MDEV-7231 Field ROUTINE_DEFINITION in INFORMATION_SCHEMA.`ROUTINES` | Alexander Barkov | 2016-02-24 | 1 | -12/+16 |
| | | | | | | | | | | | | contains broken procedure body when used shielding quotes inside. | ||||
| * | | Fixes needed to compile with musl C library | Monty | 2016-02-07 | 1 | -1/+1 |
| | | | | | | | | | | | | Patch originally by Codarren Velvindron | ||||
* | | | Adding "const" qualifier to the argument of decimal_actual_fraction(). | Alexander Barkov | 2016-01-14 | 1 | -1/+1 |
|/ / | |||||
* | | Merge branch '10.0' into 10.1 | Sergei Golubchik | 2015-12-21 | 2 | -1/+2 |
|\ \ | |/ | |||||
| * | MDEV-9265 SuSE patches: Suspicious implicit sign extension | Alexander Barkov | 2015-12-15 | 1 | -1/+1 |
| | | |||||
| * | Merge branch '5.5' into 10.0 | Sergei Golubchik | 2015-12-13 | 2 | -1/+2 |
| |\ | |||||
| | * | MDEV-8407 Numeric errors, server crash with COLUMN_JSON() on DECIMAL with ↵ | Oleksandr Byelkin | 2015-12-10 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | precision > 40 In fact it was error in decimal library (incorrect processing of buffer overflow) invisible from other server parts because of buffer allocation and precision tests. | ||||
| | * | Correct length check in my_wc_mb_filename() | Jan Lindström | 2015-12-07 | 1 | -1/+1 |
| | | | |||||
* | | | MDEV-9265 SuSE patches: Suspicious implicit sign extension | Alexander Barkov | 2015-12-15 | 1 | -1/+2 |
| | | | |||||
* | | | MDEV-9178 Wrong result for CAST(CONVERT('1IJ3' USING ucs2) AS SIGNED) | Alexander Barkov | 2015-11-24 | 2 | -5/+20 |
| | | | | | | | | | | | | Also, fixing compilation warnings in ctype-mb.ic (Windows). | ||||
* | | | Merge branch '10.0' into 10.1 | Sergei Golubchik | 2015-10-12 | 2 | -2/+2 |
|\ \ \ | |/ / | |||||
| * | | MDEV-8450: PATCH] Wrong macro expansion in Query_cache::send_result_to_client() | Oleksandr Byelkin | 2015-09-06 | 2 | -2/+2 |
| | | | | | | | | | | | | Expression in macro protected by () | ||||
* | | | MDEV-8466 CAST works differently for DECIMAL/INT vs DOUBLE for empty strings | Alexander Barkov | 2015-09-17 | 1 | -0/+5 |
| | | | | | | | | | | | | MDEV-8468 CAST and INSERT work differently for DECIMAL/INT vs DOUBLE for a string with trailing spaces | ||||
* | | | MDEV-8694 Wrong result for SELECT..WHERE a NOT LIKE 'a ' AND a='a' | Alexander Barkov | 2015-08-28 | 6 | -36/+42 |
| | | | | | | | | | | | | | | | | | | Note, the patch for MDEV-8661 unintentionally fixed MDEV-8694 as well, as a side effect. Adding a real clear fix: implementing Item_func_like::propagate_equal_fields() with comments. | ||||
* | | | Adding MY_CHARSET_HANDLER::native_to_mb(). | Alexander Barkov | 2015-08-14 | 16 | -23/+87 |
| | | | | | | | | | | | | | | | | | | | | | This is a pre-requisite patch for: - MDEV-8433 Make field<'broken-string' use indexes - MDEV-8625 Bad result set with ignorable characters when using a prefix key - MDEV-8626 Bad result set with contractions when using a prefix key | ||||
* | | | MDEV-8362 dash '-' is not recognized in charset armscii8 on select where query | Alexander Barkov | 2015-07-14 | 1 | -1/+22 |
| | | | |||||
* | | | MDEV-8419 utf32: compare broken bytes as "greater than any non-broken character" | Alexander Barkov | 2015-07-07 | 1 | -232/+31 |
| | | | |||||
* | | | Fixing a bug in MDEV-8418 (utf16, utf16le) and MDEV-8417 (utf8mb4). | Alexander Barkov | 2015-07-06 | 2 | -5/+4 |
| | | | | | | | | | | | | | | | Fixing non-BMP characters to have the same weight, as it was before MDEV-8418 and MDEV-8417. | ||||
* | | | MDEV-8416 ucs2: compare broken bytes as "greater than any non-broken character" | Alexander Barkov | 2015-07-06 | 2 | -454/+125 |
| | | | | | | | | | | | | MDEV-8418 utf16: compare broken bytes as "greater than any non-broken character" | ||||
* | | | MDEV-8417 utf8mb4: compare broken bytes as "greater than any non-broken ↵ | Alexander Barkov | 2015-07-06 | 2 | -145/+43 |
| | | | | | | | | | | | | character" | ||||
* | | | Fixing a typo in the previous commit. | Alexander Barkov | 2015-07-03 | 1 | -1/+1 |
| | | | |||||
* | | | Adding UTF8 related macros to reduce duplicate code. | Alexander Barkov | 2015-07-03 | 1 | -81/+73 |
| | | | |||||
* | | | Removing unused code in ctype-utf8.c | Alexander Barkov | 2015-07-03 | 1 | -112/+0 |
| | | | |||||
* | | | MDEV-8415 utf8: compare broken bytes as "greater than any non-broken character" | Alexander Barkov | 2015-07-03 | 2 | -170/+136 |
| | | | |||||
* | | | MDEV-8215 Asian MB3 charsets: compare broken bytes as "greater than any ↵ | Alexander Barkov | 2015-07-03 | 4 | -26/+92 |
| | | | | | | | | | | | | non-broken character" | ||||
* | | | Merge tag 'mariadb-10.0.20' into 10.1 | Sergei Golubchik | 2015-06-27 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | MDEV-8285 compile fails under Mac OS X 10.6.8 due to use of strnlen | Sergei Golubchik | 2015-06-14 | 1 | -1/+1 |
| | | | | | | | | | | | | #include <m_string.h> where strnlen() is used | ||||
* | | | MDEV-8214 Asian MB2 charsets: compare broken bytes as "greater than any ↵ | Alexander Barkov | 2015-06-26 | 8 | -372/+474 |
| | | | | | | | | | | | | non-broken character" | ||||
* | | | Merge tag 'mariadb-10.0.19' into 10.1 | Sergei Golubchik | 2015-06-01 | 2 | -2/+24 |
|\ \ \ | |/ / | |||||
| * | | Merge branch '5.5' into 10.0 | Sergei Golubchik | 2015-05-04 | 1 | -2/+20 |
| |\ \ | | |/ | |||||
| | * | MDEV-7649 wrong result when comparing utf8 column with an invalid literal | Alexander Barkov | 2015-04-24 | 1 | -1/+19 |
| | | | |||||
| * | | MDEV-7973 bigint fail with gcc 5.0 | Sergei Golubchik | 2015-05-04 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -LONGLONG_MIN is the undefined behavior in C. longlong2decimal() used to do this: int longlong2decimal(longlong from, decimal_t *to) { if ((to->sign= from < 0)) return ull2dec(-from, to); return ull2dec(from, to); and later in ull2dec() (DIG_BASE is 1000000000): static int ull2dec(ulonglong from, decimal_t *to) { for (intg1=1; from >= DIG_BASE; intg1++, from/=DIG_BASE) {} this breaks in gcc-5 at -O3. Here ull2dec is inlined into longlong2decimal. And gcc-5 believes that 'from' in the inlined ull2dec is always a positive integer (indeed, if it was negative, then -from was used instead). So gcc-5 uses *signed* comparison with DIG_BASE. Fix: make a special case for LONGLONG_MIN, don't negate it | ||||
* | | | MDEV-7677 my_charset_handler_filename has a wrong "ismbchar" member | Alexander Barkov | 2015-03-23 | 1 | -2/+11 |
| | | | |||||
* | | | MDEV-6650 - LINT_INIT emits code in non-debug builds | Sergey Vojtovich | 2015-03-16 | 1 | -10/+4 |
| | | | | | | | | | | | | | | | Replaced all references to LINT_INIT with UNINIT_VAR and LINT_INIT_STRUCT. Removed LINT_INIT macro. | ||||
* | | | Moving the conversion code from String::well_formed_copy() | Alexander Barkov | 2015-03-16 | 1 | -0/+73 |
| | | | | | | | | | | | | to my_convert_fix() - a new function in /strings. | ||||
* | | | MDEV-6566 Different INSERT behaviour on bad bytes with and without character ↵ | Alexander Barkov | 2015-03-13 | 16 | -103/+569 |
| | | | | | | | | | | | | set conversion | ||||
* | | | Adding a shared include file ctype-mb.ic and removing a number | Alexander Barkov | 2015-03-04 | 9 | -353/+184 |
| | | | | | | | | | | | | | | | of very similar copies of my_well_formed_len_xxx(), implemented for big5, cp932, euckr, eucjpms, gb2312m gbk, sjis, ujis. |