summaryrefslogtreecommitdiff
path: root/include/violite.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-04-15 15:09:22 +0200
committerSergei Golubchik <sergii@pisem.net>2013-04-15 15:09:22 +0200
commita9035be5b7a7b3865ddb4ef34a5d0cfc65dfc254 (patch)
treea9df7341e91623f62fe37cd47fce139d8888fc95 /include/violite.h
parent3a1c91d87d69ef243b3e78be6089102cafef0a8e (diff)
parentf57ecb7786177e0af3b1e3ec94302720b2e0f967 (diff)
downloadmariadb-git-a9035be5b7a7b3865ddb4ef34a5d0cfc65dfc254.tar.gz
10.0-base merge
Diffstat (limited to 'include/violite.h')
-rw-r--r--include/violite.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/violite.h b/include/violite.h
index eb01f5e446f..68b2b6c5e52 100644
--- a/include/violite.h
+++ b/include/violite.h
@@ -239,11 +239,7 @@ struct st_vio
struct sockaddr_storage remote; /* Remote internet address */
int addrLen; /* Length of remote address */
enum enum_vio_type type; /* Type of connection */
- /*
- Description string. This member MUST NOT be used directly, but only
- via function "vio_description"
- */
- char desc[VIO_DESCRIPTION_SIZE];
+ const char *desc; /* String description */
char *read_buffer; /* buffer for vio_read_buff */
char *read_pos; /* start of unfetched data in the
read buffer */