summaryrefslogtreecommitdiff
path: root/unittest/mysys
Commit message (Collapse)AuthorAgeFilesLines
* 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-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.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.2 into 10.3Marko Mäkelä2019-06-111-2/+2
|\ \ \ \ | |/ / /
| * | | Only link mysys_ssl when required.Vladislav Vaintroub2019-06-031-2/+2
| | | | | | | | | | | | | | | | | | | | Do not use TARGET_LINK_LIBRARIES(mysys mysys_ssl), this means that mysys_ssl is linked to practically everything.
* | | | Merge 10.2 into 10.3Marko Mäkelä2019-05-1413-13/+13
|\ \ \ \ | |/ / /
| * | | Merge 10.1 into 10.2Marko Mäkelä2019-05-1313-13/+13
| |\ \ \ | | |/ /
| | * | Merge branch '5.5' into 10.1Vicențiu Ciorbaru2019-05-1112-12/+12
| | |\ \ | | | |/
| | | * Update FSF AddressVicențiu Ciorbaru2019-05-1112-12/+12
| | | | | | | | | | | | | | | | * Update wrong zip-code
| | * | Merge branch '5.5' into 10.1Vicențiu Ciorbaru2019-05-111-1/+1
| | |\ \ | | | |/
| | | * Update FSF addressMichal Schorm2019-05-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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' {} \;
* | | | Merge 10.2 into 10.3Marko Mäkelä2019-05-032-1/+103
|\ \ \ \ | |/ / /
| * | | MDEV-17702 fix unaligned access UB in sint4korr() and similar functionsEugene Kosov2019-05-032-1/+103
| | | | | | | | | | | | | | | | | | | | Disable (hopefully temprorary) this check. Also add tests for some serialized functions.
* | | | dirty mergeOleksandr Byelkin2019-02-071-2/+2
|\ \ \ \ | |/ / /
| * | | Merge 10.1 into 10.2Marko Mäkelä2019-02-031-2/+2
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | Temporarily disable a test for commit 2175bfce3e9da8332f10ab0e0286dc93915533a2 because fixing it in 10.2 requires updating libmariadb.
| | * | Merge 10.1 into 10.1Marko Mäkelä2019-02-021-2/+2
| | |\ \ | | | | | | | | | | | | | | | This is joint work with Oleksandr Byelkin.
| | | * \ 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 '10.2' into 10.3Sergei Golubchik2019-01-034-46/+11
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch '10.1' into 10.2mariadb-10.2.21Sergei Golubchik2018-12-304-46/+11
| |\ \ \ \ | | |/ / /
| | * | | Merge branch '10.0' into 10.1Sergei Golubchik2018-12-294-46/+11
| | |\ \ \ | | | |/ /
| | | * | 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 bb-10.2-ext into 10.3Marko Mäkelä2018-02-151-0/+3
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch 'github/10.1' into 10.2Sergei Golubchik2018-02-061-0/+3
| |\ \ \ \ | | |/ / /
| | * | | Merge branch 'github/10.0' into 10.1Sergei Golubchik2018-02-021-0/+3
| | |\ \ \ | | | |/ /
| | | * | 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-15091 : Windows, 64bit: reenable and fix warning C4267 (conversion from ↵Vladislav Vaintroub2018-02-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'size_t' to 'type', possible loss of data) Handle string length as size_t, consistently (almost always:)) Change function prototypes to accept size_t, where in the past ulong or uint were used. change local/member variables to size_t when appropriate. This fix excludes rocksdb, spider,spider, sphinx and connect for now.
* | | | | MDEV-13728 - Import MySQL 5.7 atomic operations for MSVC and SolarisSergey Vojtovich2017-11-271-1/+1
| | | | | | | | | | | | | | | | | | | | gcc_sync.h, solaris.h, generic-msvc.h copied verbatim.
* | | | | Merge remote-tracking branch 'origin/bb-10.2-ext' into 10.3Alexander Barkov2017-10-302-2/+2
|\ \ \ \ \ | |/ / / / | | | | | | | | | | TODO: enable MDEV-13049 optimization for 10.3
| * | | | Fix warnings in Win64Vladislav Vaintroub2017-10-112-2/+2
| | | | |
* | | | | Enusure that my_global.h is included firstMichael Widenius2017-08-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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