summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/modules/mysql_user2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/modules/mysql_user b/lib/modules/mysql_user
index 64e1f3d..054698e 100644
--- a/lib/modules/mysql_user
+++ b/lib/modules/mysql_user
@@ -152,7 +152,7 @@ def user_exists(cursor, user, host):
return count[0] > 0
def load_plugin(cursor, plugin):
- cursor.execute("SELECT count(*) FROM plugin WHERE name = %s", plugin)
+ cursor.execute("SELECT count(*) FROM information_schema.plugins WHERE name = %s", plugin)
count = cursor.fetchone()
if count[0] == 0:
so = "%s.so" % plugin