1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-07 02:42:49 +03:00

14 Commits

Author SHA1 Message Date
Sergei Golubchik
c7ae385817 harmless memory leak in the dyncol unit test
to make ASAN happy
2020-05-26 14:09:51 +02:00
Sergei Golubchik
4ac8030b33 fix memory leaks to keep LeakSanitizer happy 2019-03-05 20:21:32 +01:00
Georg Richter
d3e06bc161 Added test for nested dynamic column 2018-07-13 14:48:42 +02:00
Georg Richter
c95f86e882 More coverity fixes 2018-07-13 12:30:13 +02:00
Georg Richter
058fc080b4 Fixed 2 buffer overflows in unittests 2018-01-26 13:04:37 +01:00
Georg Richter
9f88e25fd6 Compiler warning fixes 2016-09-03 12:46:50 +02:00
Georg Richter
4ca933bb81 Global cleanup:
removed global locks
  removed dead code and files
  removed dbug
2016-02-08 18:43:02 +01:00
Georg Richter
e138995b87 more fixes for 10.2 integration 2016-02-02 20:09:42 +01:00
Georg Richter
1b597e0e37 Merge remote-tracking branch 'origin/cio' 2015-10-18 13:53:09 +02:00
Eric Herman
f10aa72112 fix compiler cast warnings in unittests
size_t is not always an unsigned long on all platforms, but for diagnostic
message in a test, it should be fine to cast it this way

addresses these warnings:

unittest/libmariadb/connection.c:635:3: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'time_t' [-Wformat=]
   diag("elapsed: %u", elapsed);

unittest/libmariadb/dyncol.c:149:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat=]
     diag("%s %d", my_keys[i].str, my_keys[i].length);

unittest/libmariadb/dyncol.c:227:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat=]
     diag("Key: %s Len: %d", unpack_keys[i].str, unpack_keys[i].length);
2015-10-16 11:55:01 +02:00
Georg Richter
4597cd6a80 Various ssl and schannel fixes 2015-09-10 17:16:21 +02:00
Georg Richter
d5a772de56 Windows build fixes
- use /MT flag instead of /MD
 - add debug libraries to package
2013-10-04 19:09:08 +02:00
Georg Richter
7038dc9280 Removed all internal dependencies from ma_dyncol.
Fixed compiler warnings
2013-10-01 09:53:41 +02:00
holzboote@googlemail.com
73f30d2a83 Merge from 10.0 dynamic column implemenetation:
- functions which operate with numeric keys now have suffix _num
        - Fixes for MDEV 4993-4995
2013-09-20 14:48:20 +02:00