summaryrefslogtreecommitdiff
path: root/unittest
Commit message (Collapse)AuthorAgeFilesLines
* MDEV-27670 Assertion `(cs->state & 0x20000) == 0' failed in ↵Alexander Barkov2022-11-221-0/+1
| | | | | | | | | | | | | | my_strnncollsp_nchars_generic_8bit Also fixes: MDEV-27768 MDEV-25440: Assertion `(cs->state & 0x20000) == 0' failed in my_strnncollsp_nchars_generic_8bit The "strnncollsp_nchars" virtual function pointer for tis620_thai_nopad_ci was incorrectly initialized to a generic function my_strnncollsp_nchars_generic_8bit(), which crashed on assert. Implementing a tis620 specific function version.
* MDEV-25904 New collation functions to compare InnoDB style trimmed NO PAD ↵bb-10.4-bar-MDEV-25904Alexander Barkov2022-01-211-3/+505
| | | | strings
* Merge branch '10.3' into 10.4Sergei Golubchik2021-12-071-1/+1
|\
| * Merge branch '10.2' into 10.3Sergei Golubchik2021-12-061-1/+1
| |\
| | * MDEV-27088: lf unit tests - cycles insufficientMartin Beck2021-11-301-1/+1
| | | | | | | | | | | | | | | Per bug report, cycles was woefully insufficient to detect any implementation error.
* | | MDEV-23766: Re-add Json_writer unit test.Sergei Petrunia2021-11-092-2/+4
| | |
* | | improve build, allow sql library to be built in parallel with builtinsVladislav Vaintroub2021-11-092-3/+31
| | |
* | | Revert "improve build, allow sql library to be built in parallel with builtins"Sergei Krivonos2021-11-092-31/+3
| | | | | | | | | | | | This reverts commit 1a3570dec35733e725cc6000a06ec666facf4235.
* | | MDEV-23766: buildfix: postpone new unittest until its dependency resolutionSergei Krivonos2021-11-091-4/+0
| | |
* | | MDEV-23766: fix by my_json_writer testSergei Krivonos2021-11-091-2/+2
| | |
* | | MDEV-23766: Make Json_writer assert when one tries to author invalid JSONSergei Petrunia2021-11-092-0/+135
| | | | | | | | | | | | - Add unit test.
* | | improve build, allow sql library to be built in parallel with builtinsVladislav Vaintroub2021-11-092-3/+31
| | |
* | | Merge branch 'bb-10.3-release' into bb-10.4-releaseSergei Golubchik2021-02-121-0/+2
|\ \ \ | |/ / | | | | | | | | | Note, the fix for "MDEV-23328 Server hang due to Galera lock conflict resolution" was null-merged. 10.4 version of the fix is coming up separately
| * | Merge branch '10.2' into 10.3Sergei Golubchik2021-02-011-0/+2
| |\ \ | | |/
| | * MDEV-24131: unittest stacktrace-t fails to compile (OpenBSD)Mingli Yu2021-01-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was because OpenBSD (and others) can be missing HAVE_BACKTRACE / HAVE_BACKTRACE_FD which is the condition for my_safe_print_str to be defined. Fixes: /prj/tmp/work/cortexa57-poky-linux-musl/mariadb/10.5.8-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux-musl/../../libexec/aarch64-poky-linux-musl/gcc/aarch64-poky-linux-musl/10.2.0/ld.bfd: /usr/src/debug/mariadb/10.5.8-r0/mariadb-10.5.8/unittest/mysys/stacktrace-t.c:36: undefined reference to `my_safe_print_str' Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
* | | Merge branch '10.3' into 10.4Oleksandr Byelkin2020-11-141-1/+1
|\ \ \ | |/ /
| * | Merge branch '10.2' into 10.3Oleksandr Byelkin2020-11-141-1/+1
| |\ \ | | |/
| | * Fix to make it compiling on new ubuntu.Oleksandr Byelkin2020-11-141-1/+1
| | |
* | | Merge 10.3 into 10.4Marko Mäkelä2020-08-202-1/+68
|\ \ \ | |/ /
| * | Merge 10.2 into 10.3Marko Mäkelä2020-08-202-1/+68
| |\ \ | | |/
| | * Merge 10.1 into 10.2Marko Mäkelä2020-08-202-1/+68
| | |\
| | | * MDEV-23491: __bss_start breaks compilation of various platformsOleksandr Byelkin2020-08-182-1/+68
| | | | | | | | | | | | | | | | Remove __bss_start & Co, because systen call "write" check buffer address and return EFAULT if it is wrong.
* | | | Merge 10.3 into 10.4Marko Mäkelä2020-07-021-1/+1
|\ \ \ \ | |/ / /
| * | | Merge 10.2 into 10.3Marko Mäkelä2020-07-021-1/+1
| |\ \ \ | | |/ /
| | * | Merge 10.1 into 10.2bb-10.2-mergeMarko Mäkelä2020-07-011-1/+1
| | |\ \ | | | |/
| | | * mtr: use env for perlDaniel Black2020-06-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On FreeBSD, perl isn't in /usr/bin, its in /usr/local/bin or elsewhere in the path. Like storage/{maria/unittest/,}ma_test_* , we use /usr/bin/env to find perl and run it.
* | | | Merge 10.3 into 10.4Marko Mäkelä2020-05-261-9/+21
|\ \ \ \ | |/ / /
| * | | Merge 10.2 into 10.3Marko Mäkelä2020-05-251-9/+21
| |\ \ \ | | |/ /
| | * | MDEV-22545: my_vsnprintf behaves not as in C standardOleksandr Byelkin2020-05-241-9/+21
| | | | | | | | | | | | | | | | Added parameter %T for string which should be visibly truncated.
* | | | Merge 10.3 into 10.4Marko Mäkelä2020-05-052-1/+140
|\ \ \ \ | |/ / /
| * | | Merge branch '10.2' into 10.3Oleksandr Byelkin2020-05-042-1/+140
| |\ \ \ | | |/ /
| | * | Merge branch '10.1' into 10.2Oleksandr Byelkin2020-05-022-1/+140
| | |\ \ | | | |/
| | | * Merge branch '5.5' into 10.1Oleksandr Byelkin2020-04-302-1/+140
| | | |\
| | | | * BUG#30301356 - SOME EVENTS ARE DELAYED AFTER DROPPING EVENTSergei Golubchik2020-04-302-1/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | queues.c cleanup and refactoring. Restore old version of _downhead() (from before cd483c55209) that works well in an average case. Use it for queue_fix(). Move existing specialized version of _downhead() to queue_replace() where it'll be handling the case it was specifically optimized for (moving the element to the end of the queue). And correct it to fix the heap not only down, but also up (this fixes BUG#30301356). Add unit tests. Collateral cosmetic fixes.
* | | | | Merge 10.3 into 10.4Marko Mäkelä2020-04-161-11/+27
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | In main.index_merge_myisam we remove the test that was added in commit a2d24def8cc42d27c72d833abfb39ef24a2b96ba because it duplicates the test case that was added in commit 5af12e463549e4bbc2ce6ab720d78937d5e5db4e.
| * | | | Merge 10.2 into 10.3Marko Mäkelä2020-04-151-11/+27
| |\ \ \ \ | | |/ / /
| | * | | MDEV-20604: Duplicate key value is silently truncated to 64 characters in ↵Oleksandr Byelkin2020-04-011-11/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | print_keydup_error Added indication of truncated string for "s" and "M" formats
* | | | | Shrink my_atomic.h and my_cpu.h scopeSergey Vojtovich2020-04-151-0/+1
| | | | |
* | | | | Cleanup my_atomic.h includesSergey Vojtovich2020-03-211-1/+0
| | | | | | | | | | | | | | | | | | | | my_atomic.h is included indirectly anyways.
* | | | | Fixed compiler warnings from gcc 7.4.1Monty2020-01-291-1/+1
| | | | | | | | | | | | | | | | | | | | - Fixed possible error in rocksdb/rdb_datadic.cc
* | | | | Merge 10.3 into 10.4Marko Mäkelä2019-08-141-2/+2
|\ \ \ \ \ | |/ / / /
| * | | | Merge 10.2 to 10.3Marko Mäkelä2019-08-131-2/+2
| |\ \ \ \ | | |/ / /
| | * | | Fixed some errors & warnings found by clangMonty2019-08-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - pcretest.c could use macro with side effect - maria_chk could access freed memory - Initialized some variables that could be accessed uninitalized - Fixed compiler warning in my_atomic-t.c
* | | | | Merge 10.3 into 10.4Marko Mäkelä2019-06-122-3/+3
|\ \ \ \ \ | |/ / / /
| * | | | Merge 10.2 into 10.3Marko Mäkelä2019-06-112-3/+3
| |\ \ \ \ | | |/ / /
| | * | | Only link mysys_ssl when required.Vladislav Vaintroub2019-06-032-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Do not use TARGET_LINK_LIBRARIES(mysys mysys_ssl), this means that mysys_ssl is linked to practically everything.
* | | | | MDEV-18531 : Use WolfSSL instead of YaSSL as "bundled" SSL/encryption libraryVladislav Vaintroub2019-05-222-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add new submodule for WolfSSL - Build and use wolfssl and wolfcrypt instead of yassl/taocrypt - Use HAVE_WOLFSSL instead of HAVE_YASSL - Increase MY_AES_CTX_SIZE, to avoid compile time asserts in my_crypt.cc (sizeof(EVP_CIPHER_CTX) is larger on WolfSSL)
* | | | | Merge branch '10.3' into 10.4Oleksandr Byelkin2019-05-1933-33/+33
|\ \ \ \ \ | |/ / / /
| * | | | Merge 10.2 into 10.3Marko Mäkelä2019-05-1433-33/+33
| |\ \ \ \ | | |/ / /
| | * | | Merge 10.1 into 10.2Marko Mäkelä2019-05-1333-33/+33
| | |\ \ \ | | | |/ /