summaryrefslogtreecommitdiff
path: root/libmariadb
Commit message (Collapse)AuthorAgeFilesLines
* update libmariadbVladislav Vaintroub2021-03-151-0/+0
| | | | CONC-534 memory leak in ps_bugs.c
* update libmariadbVladislav Vaintroub2021-03-151-0/+0
|
* Merge 10.5 into 10.6Marko Mäkelä2021-02-171-0/+0
|\
| * last CC 3.1Oleksandr Byelkin2021-01-281-0/+0
| |
* | MDEV-19237 Skip sending metadata when possible for binary protocol.Vladislav Vaintroub2020-11-231-0/+0
|/ | | | | | | | | | | | Do not resend metadata, if metadata does not change between prepare and execute of prepared statement, or between executes. Currently, metadata of *every* prepared statement will be checksummed, and change is detected once checksum changes. This is not from ideal, performance-wise. The code for better/faster detection of unchanged metadata, is already in place, but currently disabled due to PS bugs, such as MDEV-23913.
* MDEV-22387: Do not violate __attribute__((nonnull))Marko Mäkelä2020-11-021-0/+0
| | | | | | | | | | | This follows up commit commit 94a520ddbe39ae97de1135d98699cf2674e6b77e and commit 7c5519c12d46ead947d341cbdcbb6fbbe4d4fe1b. After these changes, the default test suites on a cmake -DWITH_UBSAN=ON build no longer fail due to passing null pointers as parameters that are declared to never be null, but plenty of other runtime errors remain.
* Update Connector/CMarko Mäkelä2020-10-301-0/+0
|
* new CCOleksandr Byelkin2020-10-291-0/+0
|
* Do not leak memory in the skipped MDEV-23768 unit testMarko Mäkelä2020-10-241-0/+0
|
* MDEV-23564: CMAKE failing due to deprecated Apple GSS methodDmitry Shulga2020-10-231-0/+0
| | | | | | | | | | | Some GSS-API functions like gss_import_name(), gss_release_buffer() used in plugin/auth_gssapi and libmariadb/plugins/auth are marked as deprecated in MacOS starting from version 10.14+. It results in extra warnings output on server building. To eliminate extra warnings the flag '-Wno-deprecated-declarations' has been added to compiler invocation string for those source files that invoke deprecated GSS-API functions.
* C/C v3.1.9Oleksandr Byelkin2020-08-021-0/+0
|
* update C/CSergei Golubchik2020-05-271-0/+0
|
* Fix GCC -Wstringop-truncationMarko Mäkelä2020-05-141-0/+0
|
* update C/CSergei Golubchik2020-05-081-0/+0
|
* New Connector COleksandr Byelkin2020-05-041-0/+0
|
* new (fixed) version of CC.Oleksandr Byelkin2020-03-181-0/+0
|
* Update libmariadbMarko Mäkelä2020-03-131-0/+0
| | | | This fixes GCC 10.0.1 -Wstringop-truncation and some typos.
* new C/C and --ssl-verify-server-cert testsSergei Golubchik2020-01-231-0/+0
| | | | | tests for --ssl-verify-server-cert with system CA and with incorrect hostname
* new version CC 3.1Oleksandr Byelkin2020-01-201-0/+0
|
* Merge branch '10.1' into 10.2Oleksandr Byelkin2020-01-201-0/+0
|\
* | CONC-447 ERROR 2026 (HY000): SSL connection error: Certificate signature ↵Vladislav Vaintroub2019-12-081-0/+0
| | | | | | | | | | | | | | check failed Enable CRL checking on Windows. Enable certificate verification testing in client testing.
* | vew CC v 3.1Oleksandr Byelkin2019-12-031-0/+0
| |
* | Update libmariadbVladislav Vaintroub2019-11-281-0/+0
| |
* | new CC 3.1 due to typo in itOleksandr Byelkin2019-10-311-0/+0
| |
* | new CC 3.1Oleksandr Byelkin2019-10-301-0/+0
| |
* | Fix problem with warnings of new compilers.Oleksandr Byelkin2019-10-041-0/+0
| |
* | C/CSergei Golubchik2019-09-031-0/+0
| |
* | C/CSergei Golubchik2019-09-011-0/+0
| |
* | MDEV-20377: Introduce cmake -DWITH_MSAN:BOOL=ONMarko Mäkelä2019-08-191-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MemorySanitizer is a compile-time instrumentation layer in clang and GCC. Together with AddressSanitizer mostly makes the run-time instrumentation of Valgrind redundant. It is a little more tricky to set up, because running with uninstrumented libraries will lead into false positives. You will need an instrumented libc++, and you should use -stdlib=libc++ instead of the default libstdc++. To build the instrumented library, you can refer to https://github.com/google/sanitizers/wiki/MemorySanitizerLibcxxHowTo or you can adapt these steps that worked for me, for clang-8 version 8.0.1: cd /mariadb sudo apt source libc++-8-dev cd llvm-toolchain-8-8.0.1 mkdir libc++msan; cd libc++msan cmake ../libcxx -DCMAKE_BUILD_TYPE=Release -DLLVM_USE_SANITIZER=Memory \ -DCMAKE_C_COMPILER=clang-8 -DCMAKE_CXX_COMPILER=clang++-8 Then, in your MariaDB build directory, you have to compile with libc++ and bundled libraries, such as WITH_SSL=bundled, WITH_ZLIB=bundled. For uninstrumented system libraries, you will get false positives for uninitialized values. Like this: cmake -DWITH_MSAN=ON -DWITH_SSL=bundled -DWITH_ZLIB=bundled \ -DCMAKE_CXX_FLAGS='-stdlib=libc++' .. Note: you should also add -O2 to the compiler options, or you may get crashes due to stack overflow. Finally, to run tests, you must replace libc++ with the instrumented one: LD_LIBRARY_PATH=/mariadb/llvm-toolchain-8-8.0.1/libc++msan/lib \ MSAN_OPTIONS=abort_on_error=1 \ ./mtr --big-test --parallel=auto --force --retry=0 Failure to do so will report numerous false positives related to operations on std::string and the like. This is work in progress. Some issues will still have to be fixed for WITH_MSAN to be usable. See MDEV-20377 for details.
* | revert accidental libmariadb changeEugene Kosov2019-08-081-0/+0
| |
* | fix build (-Werror + -Wignored-qualifiers)Eugene Kosov2019-08-061-0/+0
| |
* | Merge branch '10.1' into 10.2Oleksandr Byelkin2019-07-261-0/+0
|\ \ | |/
* | switch to CC 3.1Oleksandr Byelkin2019-07-201-0/+0
| |
* | update Connector COleksandr Byelkin2019-05-041-0/+0
| |
* | MDEV-18131 : Update C/C to fix IP address SAN verification in 10.2+Vladislav Vaintroub2019-04-291-0/+0
| |
* | C/C againSergei Golubchik2019-02-081-0/+0
| | | | | | | | fixes memory leaks in restart_mysqld.inc tests
* | C/C againSergei Golubchik2019-02-071-0/+0
| |
* | update C/C to get latest PS fixesSergei Golubchik2019-02-071-0/+0
| |
* | C/C 3.0.9Sergei Golubchik2019-02-061-0/+0
| |
* | update C/C to v3.0.8Sergei Golubchik2018-12-201-0/+0
| |
* | C/C 3.0.7Sergei Golubchik2018-11-121-0/+0
| |
* | Update libmariadbVladislav Vaintroub2018-10-031-0/+0
| |
* | update libmariadbSergei Golubchik2018-09-241-0/+0
| |
* | SLES11 OpenSSL 0.9.8 supportSergei Golubchik2018-08-091-0/+0
| |
* | update C/C up to v3.0.6 tagSergei Golubchik2018-08-091-0/+0
| | | | | | | | update the test to the new (correct) result
* | update C/CSergei Golubchik2018-06-241-0/+0
| |
* | update C/CSergei Golubchik2018-05-151-0/+0
| |
* | Update Connector/CVicențiu Ciorbaru2018-03-181-0/+0
| |
* | Update C/CVladislav Vaintroub2018-02-141-0/+0
| |
* | Update Connector/CVicențiu Ciorbaru2018-02-071-0/+0
| |