Skip to content

Commit b9ee5d7

Browse files
author
Bogdan Degtyariov
committed
Fix wrong initializing of OPT_PLUGIN_DIR with the value from OPT_HOSTNAME connection option
Change-Id: Id33446b7fb621bcc5df791adad8f527a1b84e264
1 parent 6488653 commit b9ee5d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jdbc/driver/mysql_connection.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -774,6 +774,7 @@ void MySQL_Connection::init(ConnectOptionsMap & properties)
774774
{
775775
sql::SQLString plugin_dir;
776776
it = properties.find(OPT_PLUGIN_DIR);
777+
p_s = nullptr;
777778

778779
if (it != properties.end()) {
779780
try {

0 commit comments

Comments
 (0)