mariadb/client
Dmitry Shulga 408a637b87 MDEV-29344: engines/iuds.insert_time cannot run with PS protocol (syntax error)
The syntax error produced on running the test engines/iuds.insert_time
in PS-mode was caused by presence of the C-Style comment containing
the single quote at the end of SQL statement, something like
the following one:
  /* doesn't throw error */;
Presence of the single quote was interpreted by mysqltest utility as
indication of real string literal, that resulted in consuming every
characters following that mark as a literal, including the delimiter
character ';'. It led to concatenation of lines into a single
multi-statement that was sent from mysqltest to MariaDB server for
processing. In case mysqltest is run in regular mode (that is,
not PS-mode), multi-statement is handled successfully on server side,
but in case PS-mode is on, multi-statement is supplied in COM_STMT_PREPARE
that caused the parsing error since multi-statements is not supported by
statement prepare command.

To fix the issue, in case mysqltest encounters the C-Style comment
is should switch to reading next following characters without any
processing until it hit the closing C-style comment marks '*/',
with one exception if the sequence of characters '/*' followed by
the exclamation mark, that means the hint introducer has been read.
2025-03-17 18:11:51 +07:00
..
async_example.c MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
client_metadata.h MDEV-17832 Protocol: extensions for Pluggable types and JSON, GEOMETRY 2020-03-10 20:43:32 +04:00
client_priv.h Merge branch '10.6' into 10.11 2024-05-10 20:02:18 +02:00
CMakeLists.txt MDEV-33091 pcre2 headers aren't found on Solaris 2024-09-05 12:14:06 +10:00
completion_hash.cc Merge 10.4 into 10.5 2020-11-03 16:24:47 +02:00
completion_hash.h Update FSF Address 2019-05-11 21:29:06 +03:00
echo.c Fix typos in the codebase. 2022-08-09 18:41:09 +03:00
mariadb-conv.cc mariadb-conv --character-sets-dir 2021-05-20 18:33:07 +02:00
my_readline.h Update FSF Address 2019-05-11 21:29:06 +03:00
mysql.cc Merge 10.6 into 10.11 2025-01-08 12:51:26 +02:00
mysql_plugin.c Fixed compiler warning from strncpy in mysql_plugin.c 2024-09-11 16:15:37 +03:00
mysql_upgrade.c Merge 10.6 into 10.11 2024-06-17 09:08:07 +03:00
mysqladmin.cc Merge 10.6 into 10.11 2024-05-30 16:04:00 +03:00
mysqlbinlog.cc Merge branch '10.6' into 10.11 2025-01-30 11:55:13 +01:00
mysqlcheck.c Merge branch '10.6' into 10.11 2024-05-10 20:02:18 +02:00
mysqldump.c Merge branch '10.6' into 10.11 2025-01-30 11:55:13 +01:00
mysqlimport.c Merge 10.6 into 10.11 2024-12-19 15:38:53 +02:00
mysqlshow.c Merge branch '10.6' into 10.11 2024-05-10 20:02:18 +02:00
mysqlslap.c Merge branch '10.5' into 10.6 2024-05-08 20:06:00 +02:00
mysqltest.cc MDEV-29344: engines/iuds.insert_time cannot run with PS protocol (syntax error) 2025-03-17 18:11:51 +07:00
readline.cc MDEV-27142 disable text mode for Windows stdio by default 2022-07-18 13:18:03 +02:00