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

16 Commits

Author SHA1 Message Date
a7ad25b01b Fix memory leack in the test 2025-02-27 13:50:01 +01:00
992c7f26dd Travis fix: Skip maxscale for test_mdev35935 2025-02-12 07:12:14 +01:00
4877093937 Workaround for MDEV-35935
If the server returns an error packet without error number
(and message) we set errno=CR_ERR_MISSING_ERROR_INFO (5026)
2025-02-11 11:28:56 +01:00
ed083576af [misc] correct declaration-after-statement issue 2022-04-14 09:47:21 +02:00
fb85d99d13 Adding xpand to test suite 2022-03-23 11:46:40 +01:00
e21d21d71f Fix ASAN issues in the tests 2021-01-27 20:25:13 +01:00
b503e52288 fix problems found by 10.0 2021-01-27 13:13:31 +01:00
29fc3bc7bd [misc] test improvement
* adding SkySQL HA to test suite
* test server build 10.6
* test maxscale 2.5.3
2021-01-19 10:23:14 +01:00
0acf529e34 Fix for MDEV-18634:
Even if this test is intended to fail we need to pass valid memory buffer
to simulate overflow (length > length of sql statement).
2019-02-19 08:44:19 +01:00
83eef02ec8 Test fixes:
for api functions which require string with length parameter (e.g.
  mysql_real_connect() or mysql_stmt_prepare() we now use the macro
  SL(string) which substitutes string and string length.
2018-02-16 13:05:35 +01:00
929614903e Travis and Appveyor integration:
- added travis support
  - fixed appveyor settings
  - fixed some warnings (gcc 4.8)
  - removed sleep commands
  - disabled failing tests when running against MySQL server,
    mostly related to stored procedures and binary protocol
  - reverted fix for MDEV_10361

Still open: TLS/SSL appveyor tests, since .msi installation on appveyor doesn't provide certificates.
2018-02-16 12:14:01 +01:00
058fc080b4 Fixed 2 buffer overflows in unittests 2018-01-26 13:04:37 +01:00
935c33b690 Fix Windows size_t warnings. 2018-01-12 18:19:19 +00:00
4ab155cf39 Unit test fixes for server integration
- SSL tests require CERT_PATH. Subdirectory certs was removed. If Connector/C is build outside of the server tree, certification path has to be specified manually (-DCERT_PATH=/path/to/certs).
- All tables and users will removed, if the test passed (otherwise mtr will complain).
2017-03-04 17:37:39 +01:00
9f88e25fd6 Compiler warning fixes 2016-09-03 12:46:50 +02:00
2968f5dc19 - Fix for mysql_stmt_next_result:
obtain number of fields from mysql structure
  added test case (ps_new.c)
- Added additional parameter cipher for mysql_ssl_set
- some cosmetics for test cases
2012-11-29 17:27:56 +01:00