Skip to content

Commit 8d4fea7

Browse files
author
Arun Kuruvila
committed
Merge branch 'mysql-5.6' into mysql-5.7
2 parents ff7a0ef + 38ee3d1 commit 8d4fea7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/sql_plugin.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved.
2+
Copyright (c) 2005, 2019, Oracle and/or its affiliates. All rights reserved.
33
44
This program is free software; you can redistribute it and/or modify
55
it under the terms of the GNU General Public License as published by
@@ -772,7 +772,7 @@ static st_plugin_int *plugin_find_internal(const LEX_CSTRING &name,
772772
{
773773
uint i;
774774
DBUG_ENTER("plugin_find_internal");
775-
if (! initialized)
775+
if (!initialized || !name.str)
776776
DBUG_RETURN(NULL);
777777

778778
mysql_mutex_assert_owner(&LOCK_plugin);

0 commit comments

Comments
 (0)