From 9606090f1c334445151808cc12b2f4dbdcedb39b Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 14 May 2015 23:21:15 +0200 Subject: typo --- lib/modules/mysql_user | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/modules') 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 -- cgit v1.2.3