summaryrefslogtreecommitdiff
path: root/unittest
Commit message (Collapse)AuthorAgeFilesLines
* Revert "MDEV-9293 Connector/C integration"Vladislav Vaintroub2016-08-191-1/+2
| | | | This reverts commit 7b89b9f5108c80f4f270da922d7e6c182a663719.
* MDEV-9293 Connector/C integrationVladislav Vaintroub2016-08-191-2/+1
|
* Fixed compiler warnings and test failures found by buildbotMonty2016-06-241-1/+1
| | | | Fixed ccfilter to detect errors where the column is included in the error message
* Added new range of MariaDB error messages, starting from 3000Monty2016-04-051-7/+8
| | | | | | | | | This is done by splitting variables.errmsg and locale.errmsg to variables.errmsg_extra and locale.errmsg_extra The ER() macros in unireg.h now looks more complex than before, but this isn't critical as most usage of them are with constants and the compiler will remove most of the test code.
* MDEV-8360 Clean-up CHARSET_INFO: strnncollsp: diff_if_only_endspace_differenceAlexander Barkov2016-03-311-2/+2
| | | | | | | | | | | | | | | | | | | - 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
* Merge branch '10.0' into 10.1Oleksandr Byelkin2016-03-241-1/+43
|\
| * MDEV-9773: Memory corruption in mariadb_dyncol_unpackOleksandr Byelkin2016-03-241-1/+43
| | | | | | | | Fixed calculating pointer to memory allocated for names in numeric format in unpacking procedure.
* | Merge branch '10.0' into 10.1Sergei Golubchik2016-02-233-3/+78
|\ \ | |/
| * Merge branch '5.5' into 10.0Sergei Golubchik2016-02-153-3/+77
| |\
| | * compilation errors on sparc sun studio 10Sergei Golubchik2016-02-152-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. unused static inline functions are only removed at -xO4, otherwise test binaries will depend on various mysys symbols that they don't use. Link test with libmysys. 2. Sphinx - don't instantiate (explicitly) templates before they're defined. Or, rather, don't instantiate them explicitly at all. 3. GIS - don't use anonymous unions and structs.
| | * MDEV-4664 mysql_upgrade crashes if root's password contains an ↵Sergei Golubchik2016-02-061-5/+5
| | | | | | | | | | | | | | | | | | | | | apostrophe/single quotation mark fix dynstr_append_os_quoted() to escape single quotes correctly for a POSIX shell
| | * unit test for dynstr_append_os_quoted()Sergei Golubchik2016-02-062-1/+75
| | | | | | | | | | | | and a trivial cleanup to avoid manually-specified lengths
| | * my_decimal didn't compile properly with debugMonty2016-01-291-1/+1
| | |
* | | Merge branch '10.0' into 10.1Sergei Golubchik2015-12-212-3/+76
|\ \ \ | |/ /
| * | Merge branch '5.5' into 10.0Sergei Golubchik2015-12-133-2/+104
| |\ \ | | |/
| | * MDEV-8407 Numeric errors, server crash with COLUMN_JSON() on DECIMAL with ↵Oleksandr Byelkin2015-12-101-2/+32
| | | | | | | | | | | | | | | | | | 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.
| | * unit tests for my_getoptSergei Golubchik2015-12-092-0/+72
| | |
* | | MDEV-9044 Binlog corruption in GaleraSergei Golubchik2015-12-181-5/+47
| | | | | | | | | | | | unit test for the IO_CACHE bug
* | | make encrypt-binlog and encrypt-tmp-files to fail if no encryptionSergei Golubchik2015-09-091-2/+6
| | | | | | | | | | | | | | | | | | --encrypt-binlog and --encrypt-tmp-files used to mean "encrypt XXX if encryption is available, otherwise don't encrypt", now they mean "encrypt or fail with an error".
* | | MDEV-6066: Merge new defaults from 5.6 and 5.7Sergei Golubchik2015-09-041-2/+5
| | | | | | | | | | | | cosmetic fixes. test fixes.
* | | MDEV-6066: Merge new defaults from 5.6 and 5.7 (autoset)Oleksandr Byelkin2015-09-042-0/+354
| | | | | | | | | | | | --autoset- command line prefix added
* | | New encryption API. Piece-wise encryption.Sergei Golubchik2015-09-042-71/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of encrypt(src, dst, key, iv) that encrypts all data in one go, now we have encrypt_init(key,iv), encrypt_update(src,dst), and encrypt_finish(dst). This also causes collateral changes in the internal my_crypt.cc encryption functions and in the encryption service. There are wrappers to provide the old all-at-once encryption functionality. But binlog events are often written piecewise, they'll need the new api.
* | | my_crypt unittestSergei Golubchik2015-09-042-1/+123
| | |
* | | MDEV-8419 utf32: compare broken bytes as "greater than any non-broken character"Alexander Barkov2015-07-071-0/+54
| | |
* | | Fixing a bug in MDEV-8418 (utf16, utf16le) and MDEV-8417 (utf8mb4).Alexander Barkov2015-07-061-2/+39
| | | | | | | | | | | | | | | 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 Barkov2015-07-061-8/+124
| | | | | | | | | | | | 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 Barkov2015-07-061-0/+49
| | | | | | | | | | | | character"
* | | MDEV-8415 utf8: compare broken bytes as "greater than any non-broken character"Alexander Barkov2015-07-031-0/+27
| | |
* | | MDEV-8215 Asian MB3 charsets: compare broken bytes as "greater than any ↵Alexander Barkov2015-07-031-0/+30
| | | | | | | | | | | | non-broken character"
* | | unittest: encrypted temporary IO_CACHESergei Golubchik2015-06-272-1/+152
| | |
* | | MDEV-8214 Asian MB2 charsets: compare broken bytes as "greater than any ↵Alexander Barkov2015-06-261-1/+356
| | | | | | | | | | | | non-broken character"
* | | MDEV-7437 remove suport for "atomics" with rwlocksSergei Golubchik2015-01-132-42/+0
| | |
* | | lf_hash_iterate() functionSergei Golubchik2014-12-281-5/+18
|/ /
* | 5.5.40+ mergeSergei Golubchik2014-10-091-1/+2
|\ \ | |/
* | 5.5 mergeSergei Golubchik2014-05-094-13/+30
|\ \ | |/
| * fix broken -DWITHOUT_SERVER build: move sql-dependent unit test from mysys/ ↵Sergei Golubchik2014-05-053-13/+29
| | | | | | | | to sql/
| * mysql-5.5.37 selective mergeSergei Golubchik2014-03-271-0/+1
| |\
| | * Updated/added copyright header. Added line "use is subject to license terms" Murthy Narkedimilli2014-02-171-0/+1
| | | | | | | | | | | | | | | to copyright header.
* | | MDEV-5620 CMake option to compile against an external PCRE librarySergei Golubchik2014-03-041-2/+1
| | |
* | | 10.0-base mergeSergei Golubchik2014-02-261-0/+1
|\ \ \
* | | | Fixes to get valgrind to work with jemallocMichael Widenius2014-01-021-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added MALLOC_LIBRARY variable to hold name of malloc library - Back ported valgrind related fixes from jemalloc 3.4.1 to the included jemalloc 3.3.1 - Renamed bitmap_init() and bitmap_free() to my_bitmap_init() and my_bitmap_free() to avoid clash with jemalloc 3.4.1 - Use option --soname-synonyms=somalloc=NON to valgrind when using jemalloc - Show version related variables in mysqld --help -- Added SHOW_VALUE_IN_HELP marker Increased back_log to 150 as the original value was a bit too small CMakeLists.txt: Added MALLOC_LIBRARY variable to hold name of malloc library cmake/jemalloc.cmake: Added MALLOC_LIBRARY variable to hold name of malloc library config.h.cmake: Added MALLOC_LIBRARY variable to hold name of malloc library extra/jemalloc/ChangeLog: Updates changelog extra/jemalloc/include/jemalloc/internal/arena.h: Backported valgrind fixes from jemalloc 3.4.1 extra/jemalloc/include/jemalloc/internal/jemalloc_internal.h.in: Backported valgrind fixes from jemalloc 3.4.1 extra/jemalloc/include/jemalloc/internal/private_namespace.h: Backported valgrind fixes from jemalloc 3.4.1 extra/jemalloc/include/jemalloc/internal/tcache.h: Backported valgrind fixes from jemalloc 3.4.1 extra/jemalloc/src/arena.c: Backported valgrind fixes from jemalloc 3.4.1 include/my_bitmap.h: Renamed bitmap_init() and bitmap_free() to my_bitmap_init() and my_bitmap_free() to avoid clash with jemalloc 3.4.1 mysql-test/mysql-test-run.pl: Use option --soname-synonyms=somalloc=NON to valgrind when using jemalloc mysql-test/valgrind.supp: Supression of memory leak in OpenSuse 12.3 mysys/my_bitmap.c: Renamed bitmap_init() and bitmap_free() to my_bitmap_init() and my_bitmap_free() sql/ha_ndbcluster_binlog.cc: Renames sql/ha_ndbcluster_cond.h: Renames sql/ha_partition.cc: Renames sql/handler.cc: Renames sql/item_subselect.cc: Renames sql/log_event.cc: Renames sql/log_event_old.cc: Renames sql/mysqld.cc: Renames Show version related variables in mysqld --help sql/opt_range.cc: Renames sql/opt_table_elimination.cc: Renames sql/partition_info.cc: Renames sql/rpl_injector.h: Renames sql/set_var.h: Renames sql/slave.cc: Renames sql/sql_bitmap.h: Renames sql/sql_insert.cc: Renames sql/sql_lex.h: Renames sql/sql_parse.cc: Renames sql/sql_partition.cc: Renames sql/sql_select.cc: Renames sql/sql_show.cc: Renames sql/sql_update.cc: Renames sql/sys_vars.cc: Show version related variables in mysqld --help sql/sys_vars.h: Added SHOW_VALUE_IN_HELP marker for variables that should be shown in --help sql/table.cc: Renames sql/table.h: Removed not used bitmap_init_value storage/connect/ha_connect.cc: Removed compiler warning storage/maria/ma_open.c: Renames unittest/mysys/bitmap-t.c: Renames
* | | | MDEV-5085: Dynamic columns require inclusion of my_sys.h and my_global.hunknown2013-10-071-1/+0
| | | |
* | | | Merge 10.0-base -> 10.0Alexander Barkov2013-10-151-1/+2
|\ \ \ \ | |/ / /
| * | | A follow-up for the previous commit:Alexander Barkov2013-10-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MDEV-4425 Regexp enhancements Adding ${CMAKE_BINARY_DIR}/pcre into search path for *.h files. Needed for find pcre.h (which is generated from pcre.h.in) when build directory != source directory.
| * | | MDEV-4425 REGEXP enhancementsAlexander Barkov2013-09-261-1/+1
| | | |
* | | | Merging TO_BASE64() and FROM_BASE64() from MySQL-5.6Alexander Barkov2013-09-231-1/+1
| | | |
* | | | 10.0-base merge.Sergei Golubchik2013-09-214-3/+98
|\ \ \ \ | |/ / / | | | | | | | | | | | | Partitioning/InnoDB changes are *not* merged (they'll come from 5.6) TokuDB does not compile (not updated to 10.0 SE API)
| * | | 5.5 merge and fixes for compiler/test errorsSergei Golubchik2013-09-183-2/+97
| |\ \ \ | | |/ /
| | * | mysql-5.5.33 mergeSergei Golubchik2013-09-063-2/+97
| | |\ \ | | | |/
| | | * Bug #16994338 PARSING TAP OUTPUT OF UNIT TEST EXPLAIN_FILENAME-T FAILSAnnamalai Gurusami2013-06-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The problem is that explain_filename-t is not printing a test plan as required by the TAP protocol. The test invokes plan(NO_PLAN) but does not invoke exit_status() at the end, where the plan would be printed. Solution: Invoke exit_status() at the end.