summaryrefslogtreecommitdiff
path: root/unittest
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '5.5' into 10.0Oleksandr Byelkin2019-01-281-2/+2
|\
| * MDEV-18269 - fix off-by-one bug in unittestNatanael Copa2019-01-161-2/+2
| | | | | | | | | | | | | | | | Fix the off-by-one overflow which was introduced with commit b0fd06a6f2721 (MDEV-15670 - unit.my_atomic failed in buildbot with Signal 11 thrown) Closes #1098.
* | Merge branch '5.5' into 10.0Sergei Golubchik2018-12-204-46/+11
|\ \ | |/
| * MDEV-15670 - unit.my_atomic failed in buildbot with Signal 11 thrownSergey Vojtovich2018-12-184-46/+11
| | | | | | | | | | Workaround glibc bug: https://sourceware.org/bugzilla/show_bug.cgi?id=20116 by making unittest threads joinable. It makes code better anyway.
* | Merge branch '5.5' into 10.0Sergei Golubchik2018-06-211-1/+1
|\ \ | |/
| * Revert "MDEV-16075: Workaround to run MTR test suite for make test"Sergei Golubchik2018-06-201-1/+1
| | | | | | | | | | | | | | | | | | This reverts commit d39629f01ebdd5b89186e6c8a4a8d3dd528bd26a. Because running mtr for many hours with no output whatsoever is not really what we should do. And in 5.5 `make test` just works anyway, nothing to fix here.
* | Merge branch '5.5' into 10.0Vicențiu Ciorbaru2018-06-101-2/+1
|\ \ | |/
| * MDEV-16075: Workaround to run MTR test suite for make testTeodor Mircea Ionita2018-06-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | Assign all tests added via MY_ADD_TEST to a bogus default_ignore target, so that they are not ran by default when doing bare make test. Add default test named MTR that calls mysql-test-run suite, which is now the single test run by make test. In consequence, modified unit/suite.pm to exclude the MTR test and run the real ctests flagged for default_ignore target, thus no circular loop.
* | Merge remote-tracking branch '5.5' into 10.0Vicențiu Ciorbaru2018-01-241-0/+3
|\ \ | |/
| * Free memory in unit tests. Makes ASAN happier.Sergei Golubchik2018-01-221-0/+3
| |
* | MDEV-6262 analyze the coverity report on mariadbSergei Golubchik2017-05-191-0/+3
| | | | | | | | | | uploaded 10.0, analyzed everything with the Impact=High (and a couple of Medium)
* | 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 '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 '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
| |
* | 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.
| | | * Bug#16729109: FIX COMPILATION WARNINGS WITH GCC 4.8Tor Didriksen2013-06-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport to 5.5 (external Bug#69407 Build warnings with mysql) support-files/build-tags: Run etags on sql_yacc.yy, ignore other .yy files unittest/mysys/explain_filename-t.cc: NO_PLAN seems to fail on some platforms, use the actual number instead.
| | | * BUG #13619394 - MAKE TEST FAILS ON MY_VSNPRINTF sayantan dutta2013-06-031-5/+0
| | | |
| | | * Merge from 5.5 to 5.6Chaithra Gopalareddy2013-05-232-0/+104
| | | |\
| | | | * Bug#11766191:INVALID MEMORY READ IN DO_DIV_MOD WITH DOUBLY ASSIGNED VARIABLESChaithra Gopalareddy2013-05-223-3/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug#12608543: CRASHES WITH DECIMALS AND STATEMENT NEEDS TO BE REPREPARED ERRORS Backporting these two fixes to 5.1 Added unittest to test my_decimal construtor and assignment operators sql/my_decimal.h: Added constructor and assignment operators for my_decimal unittest/my_decimal/my_decimal-t.cc: Added test to check constructor and assignment operators for my_decimal
| | | | * Bug 16395495 - OLD FSF ADDRESS IN GPL HEADERMurthy Narkedimilli2013-03-192-2/+2
| | | | |
| | | | * Updated/added copyright headers.Murthy Narkedimilli2013-02-252-2/+2
| | | | |
| | | * | BUG #16813006 - UNIT TEST FOR MY_VSNPRINTF FAIL FOR NON GNU COMPILERsayantan dutta2013-05-161-0/+3
| | | | |
* | | | | MDEV-4993:Impossible to free a dynamic columnunknown2013-09-171-54/+54
| | | | | | | | | | | | | | | | | | | | Fix of API of dynamic columns (it made uniform and real function used to free the string).
* | | | | MDEV-4995: mariadb_dyncol_column_count returns error when passing an empty ↵unknown2013-09-111-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dynamic column An empty string processing added to mariadb_dyncol_column_count().
* | | | | MDEV-4994: Crash in dynamic column APIunknown2013-09-112-75/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dynamic columns unittest fix. Correct processing of empty string added to creation dynamic string procedure List function of numeric format fixed when empty string passed. Unit test calls changed to new ones. Unit test added to cmake file.
* | | | | 10.0-base mergeSergei Golubchik2013-07-185-3/+239
|\ \ \ \ \ | |/ / / /
| * | | | 5.5 mergeSergei Golubchik2013-07-175-3/+239
| |\ \ \ \ | | |/ / /
| | * | | mysql-5.5.32 mergeSergei Golubchik2013-07-164-4/+177
| | |\ \ \ | | | |/ /