summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2020-07-02 23:50:56 +0300
committerMonty <monty@mariadb.org>2020-07-02 23:50:56 +0300
commit53ecc354e398ead01b4dbf2d77170dafc29debd2 (patch)
tree75e4dd943eca85d37401821ae469fdcace0c66f4 /libmysqld
parentb6ec1e8bbf0ffca2d715aded694722e0c4b5d484 (diff)
downloadmariadb-git-53ecc354e398ead01b4dbf2d77170dafc29debd2.tar.gz
Fixed errors found by MSAN
Diffstat (limited to 'libmysqld')
-rw-r--r--libmysqld/libmysql.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmysqld/libmysql.c b/libmysqld/libmysql.c
index 8c80e1a3f54..c4b3a17f508 100644
--- a/libmysqld/libmysql.c
+++ b/libmysqld/libmysql.c
@@ -1141,6 +1141,7 @@ my_bool STDCALL mysql_embedded(void)
void my_net_local_init(NET *net)
{
net->max_packet= (uint) net_buffer_length;
+ net->read_timeout= net->write_timeout= 0;
my_net_set_read_timeout(net, CLIENT_NET_READ_TIMEOUT);
my_net_set_write_timeout(net, CLIENT_NET_WRITE_TIMEOUT);
net->retry_count= 1;