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
commite46c139dd81081aceb27902ee4b632904cae292b (patch)
tree614992e6f19dd83bdb1c245ecf6daf014bb2463d /sql/sql_class.h
parent9536bd657b2c6d3228009189c7c17a028342b8f5 (diff)
downloadmariadb-git-e46c139dd81081aceb27902ee4b632904cae292b.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 *);
};