Pavol Sloboda
056f09bb06
fix: added frees for any allocated memory if the allocation of other
...
memory fails and the FAIL_UNLESS calls needed the stop the test if this
happens
2025-07-17 09:14:53 +02:00
Pavol Sloboda
9fb319a7e7
fix: added the necessary frees for the bind var before any of the
...
check_stmt_rc() and check_mysql_rc() macros potentialy return from the
fuction
2025-07-17 09:14:53 +02:00
Pavol Sloboda
06e041cfa2
Added the FAIL_UNLESS call for the bind variable that is being allocated
...
to handle the possibility of the calloc failing and ensure we are not
working with NULL in the rest of the tests
2025-07-17 09:14:53 +02:00
Pavol Sloboda
0fc940259a
Added the call to FAIL_UNLESS to handle the possibility of the
...
allocation of buffer failing to ensure we don't work with NULL further
in the test, also added a free to bind in this case to avoid a memory
leak
2025-07-17 09:14:53 +02:00
Vasilii Lakhin
40be423f08
Fix miscellaneous typos
2025-07-13 18:42:30 +03:00
Oleksandr Byelkin
55abb32038
Merge branch '3.1' into 3.3-merge
2025-04-20 10:16:30 +02:00
Georg Richter
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
Georg Richter
fe8f48c6c3
Build fix: fix warning in ps_bugs.c
2025-02-12 08:34:10 +01:00
Georg Richter
992c7f26dd
Travis fix: Skip maxscale for test_mdev35935
2025-02-12 07:12:14 +01:00
Georg Richter
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
Georg Richter
28ae227e80
CONC-755: Fix MSAN failure
...
Fixed uninitialized variable warning by initializing MYSQL_BIND
structure.
2025-02-11 10:50:40 +01:00
Georg Richter
13c8815604
Fix test CONC-702
...
Drop procedure p2 to avoid failing mtr test
2024-12-17 19:04:08 +01:00
Georg Richter
6d28fe89af
Merge branch '3.1' into 3.3
2024-12-08 11:50:43 +01:00
Georg Richter
232e81f021
Add test case for CONC-176
2024-12-04 10:13:21 +01:00
Georg Richter
b522ed1a43
Merge branch '3.1' into 3.3
2024-11-27 15:58:51 +01:00
Georg Richter
662a966056
CONC-702: Fix statement status
...
If a resultset in binary protpcpl doesn't contain data
(fields equal zero) and there are no more pending
result sets we need to change the statement status to
FETCH_DONE, otherwise it will be impossible to execute
other commands until the statement was closed.
2024-11-18 07:15:42 +01:00
Georg Richter
55e3b63c34
CONPY-739: prepared statement support AUTO_SEC_PART_DIGITS
...
FROM_UNIXTIME() function always returns AUTO_SEC_PART_DIGITS
(value=39). In case the microsecond value was set in MYSQL_TIME,
the decimal part should be SEC_PART_DIGITS (=6).
2024-11-15 17:41:23 +01:00
Georg Richter
072dadc392
Disable test when running against MySQL server
2024-05-13 15:54:04 +02:00
Marko Mäkelä
02151b6a0e
Merg 3.1 into 3.3
2024-04-11 14:54:08 +03:00
Marko Mäkelä
dab59732d9
Fix GCC 14 -Wcalloc-transposed-args
2024-04-11 14:50:07 +03:00
Georg Richter
1d3fd5818a
Test fix for test_bug4236
2024-04-08 17:19:42 +02:00
Sergei Golubchik
50f65db279
compilation warning
...
ps_bugs.c:3275:5: note: ‘sprintf’ output between 9 and 19 bytes into a destination of size 12
2024-02-04 22:17:25 +01:00
Oleksandr Byelkin
64f9d88f30
Merge branch '3.1' into 3.3
2023-10-23 13:36:05 +02:00
Oleksandr Byelkin
ae565eea90
Use safer snprintf call.
2023-10-23 13:32:45 +02:00
Georg Richter
209b23a38c
Test fixes:
...
- Fixed failing test when running against MySQL server
- Disabled test when running against MySQL server.
2023-08-30 07:44:32 +02:00
Georg Richter
5f88f50cf0
Build fix:
...
Move the setting "treat warning as errors" befind feature detection,
otherwise several try_compile/try_run commands will fail.
2023-08-16 15:02:02 +02:00
Georg Richter
bec589e679
Merge branch '3.1' into 3.3
2023-04-26 08:10:40 +02:00
Georg Richter
f5a4c73df4
Fix memory leak in unittest
2023-04-26 08:10:08 +02:00
Georg Richter
dd8962a4b5
Merge branch '3.1' into 3.3
2023-04-25 15:08:28 +02:00
Georg Richter
b0ec2101bf
Test fixes when testing against MySQL
2023-04-24 14:58:01 +02:00
Georg Richter
e4417e725e
Merge branch '3.1' into 3.3
2023-02-09 08:57:48 +01:00
Georg Richter
669726a1d9
Fix for CONC-633:
...
If prepare step failed in mariadb_stmt_execute_direct now both
mysql_stmt_error and mysql_error return the error message from
prepare step instead of error message of execute.
2023-02-08 12:21:22 +01:00
Georg Richter
12bd1d5511
Merge branch '3.1' into 3.3
2023-01-16 12:12:46 +01:00
Georg Richter
895235815c
Fix for CONC-627:
...
Don't substitute parameters in server error messages in
prepeated statement error handler function.
2023-01-16 11:13:00 +01:00
Georg Richter
5f6133653d
Fix for CONC-623:
...
If callback function returns a non zero return code, execute
will now abort with error CR_ERR_STMT_PARAM_CALLBACK.
2023-01-15 15:12:38 +01:00
Georg Richter
2dd03f04d1
typo fixes (was PR 203)
2022-07-25 08:44:26 +02:00
Georg Richter
5f1f517cfa
Various typo fixes
...
Includes fixes from PR-201.
2022-07-03 13:45:37 +02:00
Georg Richter
35826cd51c
Test fix for test_bug4236
2022-06-29 13:27:28 +02:00
diego Dupin
fb85d99d13
Adding xpand to test suite
2022-03-23 11:46:40 +01:00
Georg Richter
2b6a8c44c5
Merge branch '3.2' into 3.3
2022-03-01 11:30:59 +01:00
Georg Richter
bc9458893f
Merge branch '3.1' into 3.2
2022-03-01 11:28:33 +01:00
Georg Richter
367772c5c9
Skip test_mdev19838 when running vs. maxscale
2022-03-01 10:53:57 +01:00
Georg Richter
b5c1a23c82
Merge branch '3.2' into 3.3
2022-01-25 03:52:42 +01:00
Georg Richter
3fe2f50545
Merge branch '3.1' into 3.2
2022-01-25 03:51:45 +01:00
Georg Richter
8aa0ffdcbd
Test fixes:
...
Fixed warning (int/size_t)
Fixed error message
2022-01-24 14:49:34 +01:00
Georg Richter
49a22c269a
Merge pull request #153 from Antchel/3.1
...
test fixes
2022-01-23 21:08:32 +01:00
Georg Richter
37b3760ac9
travis:
...
- disabled conc566 test when running against SkySQL
- added 10.7 server
2021-11-18 17:00:45 +01:00
Marko Mäkelä
5cd74de9f1
Merge 3.1 into 3.2
2021-10-06 10:26:42 +03:00
Marko Mäkelä
80188c3859
MDEV-26761 test_mdev19838() fixup: type mismatch on 64-bit Windows
2021-10-06 07:06:55 +03:00
Marko Mäkelä
8574d0b840
Merge 3.1 into 3.2
2021-10-05 16:59:15 +03:00