summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorTatiana A. Nurnberg <azundris@mysql.com>2009-03-25 17:10:27 +0100
committerTatiana A. Nurnberg <azundris@mysql.com>2009-03-25 17:10:27 +0100
commitde8042d0070f96c016b992df10a55298fed327e2 (patch)
tree614992e6f19dd83bdb1c245ecf6daf014bb2463d /sql/sql_class.h
parent08626e800ef30a9246e8fb6fb4280b1f7ccbfb65 (diff)
downloadmariadb-git-de8042d0070f96c016b992df10a55298fed327e2.tar.gz
Bug#43748: crash when non-super user tries to kill the replication threads
Fine-tuning. Broke out comparison into method by suggestion of Davi. Clarified comments. Reverting test-case which I find too brittle; proper test case in 5.1+.
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 3e3dfcd08fa..47dbac0f17b 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -985,6 +985,7 @@ public:
{
return (*priv_host ? priv_host : (char *)"%");
}
+ bool user_matches(Security_context *);
};