mariadb/storage/connect/mysql-test/connect
Daniel Black 95782e5cf2 MDEV-37633 Connect UDF functions push empty string warning.
BsonGet_String and JsonGet_String with a NULL argument
push an empty string warning which is the default contents
of g->Message.

In push_warning in the server, there is a Debug assertion
that the string doesn't end in \n. This looks before
the last null of the string, which in this case is
before the buffer. This results in a UBSAN error as
its a pointer overflow/underflow.

Correct by adding an "Argument is NULL" as the warning
message.

Also corrected the JsonGet_String to error if the Value
failed to allocate a buffer in its constructor.
2025-09-12 16:29:04 +10:00
..
r MDEV-37633 Connect UDF functions push empty string warning. 2025-09-12 16:29:04 +10:00
std_data Merge remote-tracking branch 'connect/10.2' into 10.2 2021-07-27 18:25:42 +02:00
t Merge 10.6 into 10.11 2025-05-21 07:36:35 +03:00
disabled.def - Add the new BSON temporary type for testing 2021-01-08 22:18:52 +01:00
my.cnf All the last changes made in the ob-10.0 branch including also changes of line endings of some test files 2015-05-20 12:39:17 +02:00
suite.opt small mtr cleanup 2013-04-19 07:07:06 +02:00
suite.pm disable connect tests for --embedded 2014-03-27 13:25:02 +01:00