diff options
author | istruewing@stella.local <> | 2008-02-14 16:53:03 +0100 |
---|---|---|
committer | istruewing@stella.local <> | 2008-02-14 16:53:03 +0100 |
commit | 9a4d57e31964634785c6f941c3714ce5a46d7bd4 (patch) | |
tree | a49c7a5dd76561facfd53b760feaadf0369e787b /sql/sql_plugin.cc | |
parent | fb20c9dd5e3f7fb5c45d649c30a2932d337bc35f (diff) | |
parent | 301ab0d8b72bea5a924cd996f0a0378b3175e9db (diff) | |
download | mariadb-git-9a4d57e31964634785c6f941c3714ce5a46d7bd4.tar.gz |
Merge stella.local:/home2/mydev/mysql-5.1-amain
into stella.local:/home2/mydev/mysql-5.1-axmrg
Diffstat (limited to 'sql/sql_plugin.cc')
-rw-r--r-- | sql/sql_plugin.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_plugin.cc b/sql/sql_plugin.cc index bae4a85fd8a..74c99b5773d 100644 --- a/sql/sql_plugin.cc +++ b/sql/sql_plugin.cc @@ -1638,7 +1638,7 @@ bool mysql_install_plugin(THD *thd, const LEX_STRING *name, const LEX_STRING *dl bzero(&tables, sizeof(tables)); tables.db= (char *)"mysql"; tables.table_name= tables.alias= (char *)"plugin"; - if (check_table_access(thd, INSERT_ACL, &tables, 0)) + if (check_table_access(thd, INSERT_ACL, &tables, 1, FALSE)) DBUG_RETURN(TRUE); /* need to open before acquiring LOCK_plugin or it will deadlock */ |