diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-09-25 10:18:12 +0200 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-09-25 12:08:15 +0200 |
commit | 41b096b392e551df51c80d29f6f30c163a0630ea (patch) | |
tree | ea1eda0afdce34542d9305ae9d8ff39363d1af5f /ext/mysqlnd/mysqlnd_connection.c | |
parent | 166178ae6db297e8168cbef0afc281fd1a49e93c (diff) | |
download | php-git-41b096b392e551df51c80d29f6f30c163a0630ea.tar.gz |
Promote a few forgotten warnings to exceptions
Closes GH-6211
Diffstat (limited to 'ext/mysqlnd/mysqlnd_connection.c')
-rw-r--r-- | ext/mysqlnd/mysqlnd_connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd_connection.c b/ext/mysqlnd/mysqlnd_connection.c index 5915e1266e..35cc3f55fc 100644 --- a/ext/mysqlnd/mysqlnd_connection.c +++ b/ext/mysqlnd/mysqlnd_connection.c @@ -2054,7 +2054,7 @@ mysqlnd_escape_string_for_tx_name_in_comment(const char * const name) { *p_copy++ = v; } else if (warned == FALSE) { - php_error_docref(NULL, E_WARNING, "Transaction name truncated. Must be only [0-9A-Za-z\\-_=]+"); + php_error_docref(NULL, E_WARNING, "Transaction name has been truncated, since it can only contain the A-Z, a-z, 0-9, \"\\\", \"-\", \"_\", and \"=\" characters"); warned = TRUE; } ++p_orig; |