summaryrefslogtreecommitdiff
path: root/strings
Commit message (Collapse)AuthorAgeFilesLines
* Merge 10.3 into 10.4Marko Mäkelä2019-09-121-1/+3
|\
| * MDEV-19670 json escaped unicode parse error.Alexey Botchkov2019-09-121-1/+3
| | | | | | | | Fixed 4-byte length characters handled incorrectly.
* | Merge branch '10.3' into 10.4Oleksandr Byelkin2019-05-1937-38/+38
|\ \ | |/
| * Merge 10.2 into 10.3Marko Mäkelä2019-05-1437-38/+38
| |\
| | * Merge 10.1 into 10.2Marko Mäkelä2019-05-1337-38/+38
| | |\
| | | * Merge branch '5.5' into 10.1Vicențiu Ciorbaru2019-05-1135-36/+36
| | | |\
| | | | * Update FSF AddressVicențiu Ciorbaru2019-05-1134-35/+35
| | | | | | | | | | | | | | | | | | | | * Update wrong zip-code
| | | * | Merge branch '5.5' into 10.1Vicențiu Ciorbaru2019-05-112-2/+2
| | | |\ \ | | | | |/
| | | | * Update FSF addressMichal Schorm2019-05-102-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit is based on the work of Michal Schorm, rebased on the earliest MariaDB version. Th command line used to generate this diff was: find ./ -type f \ -exec sed -i -e 's/Foundation, Inc., 59 Temple Place, Suite 330, Boston, /Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, /g' {} \; \ -exec sed -i -e 's/Foundation, Inc. 59 Temple Place.* Suite 330, Boston, /Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, /g' {} \; \ -exec sed -i -e 's/MA.*.....-1307.*USA/MA 02110-1335 USA/g' {} \; \ -exec sed -i -e 's/Foundation, Inc., 59 Temple/Foundation, Inc., 51 Franklin/g' {} \; \ -exec sed -i -e 's/Place, Suite 330, Boston, MA.*02111-1307.*USA/Street, Fifth Floor, Boston, MA 02110-1335 USA/g' {} \; \ -exec sed -i -e 's/MA.*.....-1307/MA 02110-1335/g' {} \;
| | | * | Remove unused declarationsMarko Mäkelä2019-04-031-30/+1
| | | | |
* | | | | Merge 10.3 into 10.4Marko Mäkelä2019-04-021-4/+2
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch '10.2' into 10.3Sergei Golubchik2019-03-291-3/+2
| |\ \ \ \ | | |/ / /
| | * | | post-merge: -Werror fixes in 10.2Sergei Golubchik2019-03-291-2/+2
| | | | |
* | | | | MDEV-5313 Improving audit API.Alexey Botchkov2019-01-181-2/+92
| | | | | | | | | | | | | | | | | | | | | | | | | json_locate_key() implemented. get rid of 'key_len' argument in functions.
* | | | | MDEV-5313 Improving audit plugin API.Alexey Botchkov2019-01-171-1/+1
| | | | | | | | | | | | | | | | | | | | Type conversion bug fixed.
* | | | | MDEV-5313 Improving audit api.Alexey Botchkov2019-01-171-49/+96
| | | | | | | | | | | | | | | | | | | | | | | | | JSON api implementations and tests pushed. sql_acl.cc fixed with the new function names.
* | | | | json helpersSergei Golubchik2018-12-121-0/+81
| | | | |
* | | | | MDEV-5313 Improving audit api.Alexey Botchkov2018-12-121-0/+32
| | | | | | | | | | | | | | | | | | | | Service added to handle json.
* | | | | Merge 10.3 into 10.4Marko Mäkelä2018-11-191-1/+1
|\ \ \ \ \ | |/ / / /
| * | | | Merge 10.2 into 10.3Marko Mäkelä2018-11-191-1/+1
| |\ \ \ \ | | |/ / /
| | * | | MDEV-17454 JSON_VALID( '{"a":1]' ) evaluates to 1.Alexey Botchkov2018-11-121-1/+1
| | | | | | | | | | | | | | | | | | | | Produce syntax error when '{...]'.
* | | | | Merge 10.3 into 10.4Marko Mäkelä2018-11-064-100/+101
|\ \ \ \ \ | |/ / / /
| * | | | Merge 10.2 into 10.3Marko Mäkelä2018-11-064-100/+101
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | main.derived_cond_pushdown: Move all 10.3 tests to the end, trim trailing white space, and add an "End of 10.3 tests" marker. Add --sorted_result to tests where the ordering is not deterministic. main.win_percentile: Add --sorted_result to tests where the ordering is no longer deterministic.
| | * | | Merge 10.1 into 10.2Marko Mäkelä2018-11-064-100/+101
| | |\ \ \ | | | |/ /
| | | * | Merge 10.0 into 10.1Marko Mäkelä2018-11-051-2/+2
| | | |\ \
| | | | * | MDEV-17298 ASAN unknown-crash / READ of size 1 in my_strntoul_8bit upon ↵Alexander Barkov2018-10-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | INSERT .. SELECT
| | | * | | Merge branch '10.0' into 10.1Sergei Golubchik2018-10-311-16/+19
| | | |\ \ \ | | | | |/ /
| | | | * | Merge branch '5.5' into 10.0Sergei Golubchik2018-10-311-16/+19
| | | | |\ \ | | | | | |/
| | | | | * MDEV-17256 Decimal field multiplication bug.bb-5.5-hfAlexey Botchkov2018-10-301-16/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We should clear trailing zeroes in frac part. Otherwise that tail is growing quickly and forces unnecessary truncating of arguments.
| | | * | | Merge branch '10.0' into 10.1Sergei Golubchik2018-10-302-82/+80
| | | |\ \ \ | | | | |/ /
| | | | * | MDEV-17064 LIKE function has error behavior on the fields in which the ↵Alexander Barkov2018-10-152-82/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | collation is xxx_unicode_xx Synchronizing sources in: - my_wildcmp_uca_impl() handling utf8_unicode_ci - my_wildcmp_unicode_impl() handling utf8_general_ci The latter has already had a fix for a similar MySQL bug in utf8_general_ci: Bug#11754 SET NAMES utf8 followed by SELECT "A\\" LIKE "A\\" returns 0 So fix is now propagated to utf8_unicode_ci.
* | | | | | MDEV-17534 Implement fast path for ASCII range in strnxfrm_onelevel_internal()Alexander Barkov2018-10-241-0/+39
| | | | | |
* | | | | | A cleanup for MDEV-17511. Re-enabling ctype_ldml.test.Alexander Barkov2018-10-211-4/+4
| | | | | |
* | | | | | MDEV-17511 Improve performance for ORDER BY with a CHAR(N) CHARACTER SET ↵Alexander Barkov2018-10-211-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | utf8_unicode_ci
* | | | | | MDEV-17502 MDEV-17474 Change Unicode xxx_general_ci and xxx_bin collation ↵Alexander Barkov2018-10-194-148/+430
| | | | | | | | | | | | | | | | | | | | | | | | implementation to "inline" style
* | | | | | MDEV-17474 Change Unicode collation implementation from "handler" to ↵Alexander Barkov2018-10-182-32/+239
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "inline" style (part#2) Additional changes: 1. Adding a fast path for ASCII characters 2. Adding dedicated MY_COLLATION_HANDLERs for collations with no contractions (for utf8 and for utf8mb4 character sets). The choice between the full-featured handler and the "no contraction" handler is made at the collation initialization time.
* | | | | | MDEV-17474 Change Unicode collation implementation from "handler" to ↵Alexander Barkov2018-10-178-1267/+1323
|/ / / / / | | | | | | | | | | | | | | | "inline" style
* | | | | Merge branch '10.2' into 10.3Sergei Golubchik2018-09-281-0/+21
|\ \ \ \ \ | |/ / / /
| * | | | MDEV-17001 JSON_MERGE returns nullwhen merging empty array.Alexey Botchkov2018-09-131-4/+0
| | | | | | | | | | | | | | | | | | | | Don't add the comma if nothing appended to the array.
| * | | | MDEV-17121 JSON_ARRAY_APPEND.Alexey Botchkov2018-09-111-0/+25
| | | | | | | | | | | | | | | | | | | | Extra comma added to the result when an json array is empty.
* | | | | Merge 10.2 into 10.3Marko Mäkelä2018-08-038-152/+90
|\ \ \ \ \ | |/ / / /
| * | | | Merge 10.1 into 10.2Marko Mäkelä2018-08-027-152/+88
| |\ \ \ \ | | |/ / /
| | * | | Merge branch '10.0' into bb-10.1-merge-sanjaOleksandr Byelkin2018-07-257-152/+88
| | |\ \ \ | | | |/ /
| | | * | Simplify caseup() and casedn() in charsetsAlexander Barkov2018-07-197-152/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After the MDEV-13118 fix there's no code in the server that wants caseup/casedn to change the argument in place for simple charsets. Let's remove this logic and always return the result in a new string for all charsets, both simple and complex. 1. Removing the optimization that *some* character sets used in casedn() and caseup(), which allowed (and required) to change the case in-place, overwriting the string passed as the "src" argument. Now all CHARSET_INFO's work in the same way: non of them change the source string in-place, all of them now convert case from the source string to the destination string, leaving the source string untouched. 2. Adding "const" qualifier to the "char *src" parameter to caseup() and casedn(). 3. Removing duplicate implementations in ctype-mb.c. Now both caseup() and casedn() implementations for all CJK character sets use internally the same function my_casefold_mb() (the former my_casefold_mb_varlen()). 4. Removing the "unused" attribute from parameters of some my_case{up|dn}_xxx() implementations, as the affected parameters are now *used* in the code. Previously these parameters were used only in DBUG_ASSERT().
| * | | | MDEV-16054 simple json functions flatline cpu on garbage input.Alexey Botchkov2018-07-311-0/+2
| | | | | | | | | | | | | | | | | | | | Incorrect char sentence should be handled properly.
| * | | | MDEV-15561 json_extract returns NULL with numbers in scientific notation.Alexey Botchkov2018-03-251-2/+2
| | | | | | | | | | | | | | | | | | | | Scientific notation handling fixed.
* | | | | Add likely/unlikely to speed up executionMonty2018-05-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added to: - if (error) - Lex - sql_yacc.yy and sql_yacc_ora.yy - In header files to alloc() calls - Added thd argument to thd_net_is_killed()
* | | | | Misc. typosluz.paz2018-04-0519-25/+25
| | | | | | | | | | | | | | | | | | | | Found via `codespell -i 3 -w --skip="./debian/po" -I ../mariadb-server-word-whitelist.txt ./cmake/ ./debian/ ./Docs/ ./include/ ./man/ ./plugin/ ./strings/`
* | | | | MDEV-15561 json_extract returns NULL with numbers in scientific notation.Alexey Botchkov2018-03-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Scientific notation handling fixed. Conflicts: mysql-test/r/func_json.result mysql-test/t/func_json.test
* | | | | Merge bb-10.2-ext into 10.3Marko Mäkelä2018-03-131-0/+6
|\ \ \ \ \ | |/ / / /