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

673 Commits

Author SHA1 Message Date
189c2318b5 Add diagnostic output for ci test 2025-06-24 10:53:01 +02:00
1bf3571146 [TODO-5373] add github action 2025-06-16 19:43:16 +02:00
b5a2c9f3c2 Merge branch '3.3' into 3.4 2025-04-20 10:49:16 +02:00
55abb32038 Merge branch '3.1' into 3.3-merge 2025-04-20 10:16:30 +02:00
28a1e4b599 Fix for CONC-762: Always set is_null and length in bind structure to avoid
msan errors
2025-03-31 11:02:35 +02:00
5d34e4820f Merge 3.3 into 3.4 2025-03-28 11:40:08 +02:00
b38e872003 Text fixes:
Fixed windows test (missing parameter)
Check if we need to connect via SSL port (Travis)
2025-03-05 13:39:22 +01:00
a7ad25b01b Fix memory leack in the test 2025-02-27 13:50:01 +01:00
605f30f754 Merge branch '3.3' into 3.4 2025-02-27 11:09:55 +01:00
0ff64ca045 Merge branch '3.1' into 3.3 2025-02-27 09:35:33 +01:00
f7633e9d68 Test fix: pipe name
Instead of relying on default (MySQL), we check @@socket and
pass the correct pipe name.
2025-02-27 09:33:35 +01:00
13c693f28b Merge branch '3.3' into 3.4 2025-02-27 07:56:47 +01:00
4c9bc2b0f6 Merge branch '3.1' into 3.3 2025-02-27 07:52:35 +01:00
aa240cd181 CONC-760: valid named pipe connection is closed
Fixed different behavior of pvio_is_alive (which was first used
with fix of CONC-589). Both for sockets and named pipe the function
now returns true if the connection is alive, otherwise false.
2025-02-27 07:48:58 +01:00
eda920ec0f Merge branch '3.3' into 3.4 2025-02-18 16:35:55 +01:00
fe8f48c6c3 Build fix: fix warning in ps_bugs.c 2025-02-12 08:34:10 +01:00
992c7f26dd Travis fix: Skip maxscale for test_mdev35935 2025-02-12 07:12:14 +01:00
1e4e47347d test fix: use my_ulonglong instead of ulong
Use 64-bit long instead of 32-bit value to avoid
overflow
2025-02-11 19:38:55 +01:00
3780dc432c Merge branch '3.3' into 3.4 2025-02-11 11:45:53 +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
28ae227e80 CONC-755: Fix MSAN failure
Fixed uninitialized variable warning by initializing MYSQL_BIND
structure.
2025-02-11 10:50:40 +01:00
93e420621a CONC-746 parsec plugin not unloaded during mtr test run
* check for client's parsec.so before installing server's auth_parsec.so
* find the plugin using the default connection (that has MYSQL_PLUGIN_DIR set)
* copy is_mariadb check from ed25519 tests, just in case
2025-01-25 19:57:46 +01:00
a99205eb36 Merge branch '3.3' into 3.4 2025-01-25 18:06:27 +01:00
2d56f340c4 Merge branch '3.1' into 3.3 2025-01-24 14:52:35 +01:00
7d930974c0 CONC-751 unit.conc_connection fails with CYPHER missmatch on some builds
disable the test for old gnutls
2025-01-24 14:42:37 +01:00
18233bc349 Remove unused variables
To make it compiled with clang-19 without warning unused vareables
removed.
2025-01-21 19:19:01 +01:00
5f4b9b6e8c Travis fix: Skip reconnect test (MaxScale) 2025-01-21 14:21:33 +01:00
ba64123b45 Merge branch '3.3' into 3.4 2025-01-20 09:58:34 +01:00
362be9e919 Travis fixes:
- run reconnect test without server certificate verification
- moved conc336 to manual tests (should run with valgrind).
2025-01-15 13:16:32 +01:00
53b7169315 Merge branch '3.1' into 3.3 2025-01-15 10:46:29 +01:00
36d1c3ac77 Travis fix: Skip reconnect test (MaxScale) 2025-01-15 10:41:32 +01:00
57ce0ce3c7 Merge branch '3.1' into 3.3 2025-01-15 08:00:19 +01:00
e09e24e890 CONC-589: First query fails after reconnect
If automatic reconnect is enabled (MYSQL_OPT_RECONNECT) it is
mandatory to check if the connection/socket is still alive before
sending a command to the server (unless the command is COM_QUIT).
2025-01-15 07:26:18 +01:00
fa9f5f66be Travis and test fixes:
- Build server build with latest C/C: Instead of copying the C/C directory
  into server, we now fetch the actual commit or PR into server repository
- Fix travis environment variables (Windows)
- Skip character set tests if the server doesn't support charset/collation
- Don't use CREATE OR REPLACE SQL syntax to make MySQL happy
- Disable TLS connection test for MaxScale
- Don't set TEST environment variables if they are empty
2025-01-07 16:57:53 +01:00
52d0a38ed1 Merge branch '3.3' into 3.4 2024-12-21 08:42:03 +01:00
486a07c824 Test fix:
use mysql_real_connect instead of my_test_connect for unix_socket
test to reduce diagnostic output from my_test_connect function.
2024-12-21 08:33:15 +01:00
4039e5c18c Merge branch '3.3' into 3.4 2024-12-21 08:10:04 +01:00
80a7fa5cee Test fix for charsets
Skipped 2 tests if running against MariaDB 11.4 or newer version.
2024-12-20 14:35:37 +01:00
5485acd470 Test case fix:
Don't connect with anonymous user, since mtr doesn't run with
unix_sockets by default.
2024-12-20 12:02:35 +01:00
0d2d49eb26 Fix for connection test:
Test failed under mtr, since mtr doesn't run by default using
unix socket.
2024-12-20 11:59:53 +01:00
32addee3fc Test case fix:
Don't connect with anonymous user, since mtr doesn't run with
unix_sockets by default.
2024-12-20 06:14:02 +01:00
fd8bac4b78 Merge branch '3.3' into 3.4 2024-12-17 19:05:07 +01:00
13c8815604 Fix test CONC-702
Drop procedure p2 to avoid failing mtr test
2024-12-17 19:04:08 +01:00
5eea40fecf Merge branch '3.3' into 3.4 2024-12-16 15:25:50 +01:00
dc8bc987d4 Test fix for character test conc223:
Show the missing collation IDs instead
of the total number of missing collations.

Patch submitted by Michael "Monty" Widenius.
2024-12-16 13:50:00 +01:00
3794a86544 CONC-691: Obtain sql statement from statement handle
Added an option STMT_ATTR_SQL_STATEMENT in API function
mariadb_stmt_attr_get which returns a MARIADB_CONST_STRING
structure which contains SQL statement from last
mysql_stmt_prepare() call.
2024-12-12 12:07:34 +01:00
29c0f5d317 Merge branch '3.3' into 3.4 2024-12-10 05:50:11 +01:00
16e5b88bab MYSQL_OPT_ZSTD_COMPRESSION_LEVEL fixes:
Follow up for commit e633858c9e:
- Fixed ASAN bug (int to char conversion)
- Allow to retrieve zstd compression level via mysql_get_optionv()
2024-12-10 05:18:08 +01:00
d64461c742 Test fixes:
- fixed tls callback function declarations
- fixed memory leaks
2024-12-09 18:49:52 +01:00
1329a50e79 Added test for CONC-589 2024-12-09 14:01:34 +01:00