summaryrefslogtreecommitdiff
path: root/vio
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2022-04-08 14:17:36 +0200
committerSergei Golubchik <serg@mariadb.org>2022-04-09 10:46:10 +0200
commitcfdb621243b97e38c0ff849456d8dac0a5224ef3 (patch)
tree819a1cd48eacd9826278a373b36cce3c2834330b /vio
parentd8463b64b3f3a601ee39666fd0b758313e373519 (diff)
downloadmariadb-git-cfdb621243b97e38c0ff849456d8dac0a5224ef3.tar.gz
MDEV-28255 "Error" instead of NULL in P_S.THREADS_CONNECTION_TYPE for background threads
use vio_type_names[] values as in MySQL
Diffstat (limited to 'vio')
-rw-r--r--vio/viosocket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vio/viosocket.c b/vio/viosocket.c
index 9cad035161c..0ce351f1242 100644
--- a/vio/viosocket.c
+++ b/vio/viosocket.c
@@ -647,7 +647,7 @@ enum enum_vio_type vio_type(Vio* vio)
static const LEX_CSTRING vio_type_names[] =
{
- { STRING_WITH_LEN("Error") }, // cannot happen
+ { STRING_WITH_LEN("") }, // internal threads
{ STRING_WITH_LEN("TCP/IP") },
{ STRING_WITH_LEN("Socket") },
{ STRING_WITH_LEN("Named Pipe") },