summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-05-14 23:21:15 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:53:31 +0200
commit9606090f1c334445151808cc12b2f4dbdcedb39b (patch)
tree47f77c70cc5a4e215704d00f65fa61a372ac0050 /lib
parentc54977c7c1b580225dd6499bd5770bb0945ff9a5 (diff)
typo
Diffstat (limited to 'lib')
-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