summaryrefslogtreecommitdiff
path: root/strings
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/bb-10.2-ext' into 10.3Alexander Barkov2018-01-298-27/+27
|\
| * Fix and reenable Windows compiler warning C4800 (size_t conversion).Vladislav Vaintroub2018-01-268-27/+27
| |
* | Minor spelling fixes in code comments, docs and outputOtto Kekäläinen2018-01-122-4/+4
| | | | | | | | | | This commit does not touch any variable names or any other actual code, and thus should not in any way affect how the code works.
* | Merge bb-10.2-ext into 10.3Marko Mäkelä2018-01-111-1/+2
|\ \ | |/
| * Merge remote-tracking branch 'origin/10.1' into 10.2Vladislav Vaintroub2018-01-061-1/+2
| |\
| | * Fix conf_to_src build.Vladislav Vaintroub2018-01-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2cd316911309e3db4007aa224f7874bfbeb14032 broke conf_to_src, because strings library is now dependend on mysys (my_alloc etc are used now directly in string lib) Fix by adding appropriate dependency. Also exclude conf_to_src from VS IDE builds. EXCLUDE_FROM_ALL is not enough for that.
* | | Fix warningsVladislav Vaintroub2018-01-061-1/+1
| | |
* | | Merge bb-10.2-ext into 10.3Marko Mäkelä2018-01-045-53/+13
|\ \ \ | |/ /
| * | Merge remote-tracking branch 'origin/10.1' into 10.2Vicențiu Ciorbaru2017-12-225-53/+13
| |\ \ | | |/
| | * MDEV-14265 - RPMLint warning: shared-lib-calls-exitSergey Vojtovich2017-12-195-53/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | find_type_or_exit() client helper did exit(1) on error, exit(1) moved to clients. mysql_read_default_options() did exit(1) on error, error is passed through and handled now. my_str_malloc_default() did exit(1) on error, replaced my_str_ allocator functions with normal my_malloc()/my_realloc()/my_free(). sql_connect.cc did many exit(1) on hash initialisation failure. Removed error check since my_hash_init() never fails. my_malloc() did exit(1) on error. Replaced with abort(). my_load_defaults() did exit(1) on error, replaced with return 2. my_load_defaults() still does exit(0) when invoked with --print-defaults.
* | | Fix double floating point error in dtoa.cVicențiu Ciorbaru2017-12-301-1/+1
| | | | | | | | | | | | | | | When running an optimized build, compiler optimizations cause loss of precision unless we force the expression to use a double type.
* | | Merge bb-10.2-ext into 10.3Marko Mäkelä2017-12-122-7/+7
|\ \ \ | |/ /
| * | MDEV-14350 Index use with collation utf8mb4_unicode_nopad_ci on LIKE pattern ↵Alexander Barkov2017-12-082-7/+7
| | | | | | | | | | | | with wrong results
* | | Remove compiler warningsMonty2017-12-031-2/+2
| | |
* | | Merge bb-10.2-ext into 10.3Marko Mäkelä2017-11-301-1/+1
|\ \ \ | |/ /
| * | MDEV-13971 crash in skip_num_constant.Alexey Botchkov2017-11-111-1/+1
| | | | | | | | | | | | | | | Character bigger than 0x60 wasn't handled properly inside a numeric constant.
* | | Merge remote-tracking branch 'origin/bb-10.2-ext' into 10.3Alexander Barkov2017-10-303-9/+4
|\ \ \ | |/ / | | | | | | TODO: enable MDEV-13049 optimization for 10.3
| * | Merge branch '10.1' into 10.2Sergei Golubchik2017-10-242-8/+3
| |\ \ | | |/
| | * Merge branch '10.0' into 10.1Sergei Golubchik2017-10-222-8/+3
| | |\
| | | * Merge branch '5.5' into 10.0Sergei Golubchik2017-10-182-8/+3
| | | |\
| | | | * MDEV-13459 Warnings, when compiling with gcc-7.xSergei Golubchik2017-10-172-11/+19
| | | | | | | | | | | | | | | | | | | | mostly caused by -Wimplicit-fallthrough
| * | | | MDEV-12312 JSON_CONTAINS_PATH does not detect invalid path and returnsAlexey Botchkov2017-10-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TRUE. Let's make empty brackets to be the syntax error in the JSON paths.
* | | | | Merge bb-10.2-ext into 10.3Marko Mäkelä2017-10-045-15/+15
|\ \ \ \ \ | |/ / / /
| * | | | MDEV-13384 - misc Windows warnings fixedVladislav Vaintroub2017-09-285-15/+15
| | | | |
* | | | | Merge bb-10.2-ext into 10.3Marko Mäkelä2017-09-211-4/+0
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch '10.1' into 10.2Vicențiu Ciorbaru2017-09-191-4/+0
| |\ \ \ \ | | |/ / /
| | * | | Merge branch '10.0' into 10.1Vicențiu Ciorbaru2017-09-191-4/+0
| | |\ \ \ | | | |/ /
| | | * | Build improvements and cleanups.Vladislav Vaintroub2017-09-081-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - the probably ultimate fix for dependencies on VS - remove some GET_TARGET_PROPERTY(LOCATION ...), they are deprecated in cmake 3.9 - simplify signing targets on Windows. - remove INSTALL_DEBUG_TARGET, we do not mix binaries from different builds in the same package
* | | | | Merge bb-10.2-ext into 10.3Marko Mäkelä2017-09-181-4/+5
|\ \ \ \ \ | |/ / / /
| * | | | Make compiler happy with the 'fall through' comments.Alexey Botchkov2017-09-141-3/+4
| | | | |
| * | | | Compiler warning avoided.Alexey Botchkov2017-09-141-1/+1
| | | | |
* | | | | Merge bb-10.2-ext into 10.3Marko Mäkelä2017-09-141-1/+1
|\ \ \ \ \ | |/ / / /
| * | | | MDEV-13138 JSON_OBJECT returns null with strings containing backticks.Alexey Botchkov2017-09-121-1/+1
| | | | | | | | | | | | | | | | | | | | Condition was fixed.
* | | | | Added DBUG_ASSERT_AS_PRINTF compile flagMonty2017-08-242-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If compiling a non DBUG binary with -DDBUG_ASSERT_AS_PRINTF asserts will be changed to printf + stack trace (of stack trace are enabled). - Changed #ifndef DBUG_OFF to #ifdef DBUG_ASSERT_EXISTS for those DBUG_OFF that was just used to enable assert - Assert checking that could greatly impact performance where changed to DBUG_ASSERT_SLOW which is not affected by DBUG_ASSERT_AS_PRINTF - Added one extra option to my_print_stacktrace() to get more silent in case of stack trace printing as part of assert.
* | | | | Enusure that my_global.h is included firstMichael Widenius2017-08-241-2/+0
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added sql/mariadb.h file that should be included first by files in sql directory, if sql_plugin.h is not used (sql_plugin.h adds SHOW variables that must be done before my_global.h is included) - Removed a lot of include my_global.h from include files - Removed include's of some files that my_global.h automatically includes - Removed duplicated include's of my_sys.h - Replaced include my_config.h with my_global.h
* | | | MDEV-12604 Comparison of JSON_EXTRACT result differs with Mysql.Alexey Botchkov2017-08-081-1/+1
| | | | | | | | | | | | | | | | | | | | Comparison fixed to take the actual type of JSON value into account. Bug in escaping handling fixed.
* | | | MDEV-12324 Wrong result (phantom array value) on JSON_EXTRACT.Alexey Botchkov2017-08-071-1/+1
| | | | | | | | | | | | | | | | Fixed the path comparison.
* | | | Merge 10.1 into 10.2Marko Mäkelä2017-05-231-1/+1
|\ \ \ \ | |/ / /
| * | | Merge 10.0 into 10.1Marko Mäkelä2017-05-231-1/+1
| |\ \ \ | | |/ /
| | * | MDEV-6262 analyze the coverity report on mariadbSergei Golubchik2017-05-191-1/+1
| | | | | | | | | | | | | | | | | | | | uploaded 10.0, analyzed everything with the Impact=High (and a couple of Medium)
| | * | Silence bogus GCC 7 warnings -Wimplicit-fallthroughMarko Mäkelä2017-05-172-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not silence uncertain cases, or fix any bugs. The only functional change should be that ha_federated::extra() is not calling DBUG_PRINT to report an unhandled case for HA_EXTRA_PREPARE_FOR_DROP.
* | | | Merge 10.1 into 10.2Marko Mäkelä2017-05-222-4/+14
|\ \ \ \ | |/ / /
| * | | Silence bogus GCC 7 warnings -Wimplicit-fallthroughMarko Mäkelä2017-05-172-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not silence uncertain cases, or fix any bugs. The only functional change should be that ha_federated::extra() is not calling DBUG_PRINT to report an unhandled case for HA_EXTRA_PREPARE_FOR_DROP.
* | | | MDEV-12351 Assertion `cur_step->type & JSON_PATH_KEY' failed inAlexey Botchkov2017-05-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | json_find_path. The ..[0] path can be treated wrong on second json_find_path call.
* | | | Merge branch '10.1' into 10.2Sergei Golubchik2017-03-303-2/+3
|\ \ \ \ | |/ / /
| * | | Correct FSF addressiangilfillan2017-03-102-2/+2
| | | |
| * | | MDEV-11752 Unsafe strmov - function definition in include/m_string.hSergei Golubchik2017-03-101-0/+1
| | | | | | | | | | | | | | | | | | | | assert that strmov() cannot be used on overlapping strings. (because strpcpy cannot)
* | | | MDEV-11856 json_search doesn't search for values with double quotesAlexey Botchkov2017-03-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | character ("). The my_wildcmp function doesn't expect the string parameter to have escapements, only the template. So the string should be unescaped if necessary.
* | | | Fix several compile warnings on WindowsVladislav Vaintroub2017-03-102-3/+1
| | | |
* | | | MDEV-11858 json_merge() concatenates instead of merging.Alexey Botchkov2017-02-101-7/+0
| | | | | | | | | | | | | | | | Fix json_merge implementation.