summaryrefslogtreecommitdiff
path: root/sql/sql_acl.cc
diff options
context:
space:
mode:
authorunknown <kostja@dipika.(none)>2008-02-19 15:45:21 +0300
committerunknown <kostja@dipika.(none)>2008-02-19 15:45:21 +0300
commit14021c96c464406812f84bec45c5f73ac0b96e1a (patch)
tree2135e26bf3867a57e788b8bfa932c8f511ce53b4 /sql/sql_acl.cc
parentead02981eae47130fe5d205a11336b3c00225be1 (diff)
downloadmariadb-git-14021c96c464406812f84bec45c5f73ac0b96e1a.tar.gz
Rename send_ok to my_ok. Similarly to my_error, it only records the status,
does not send it to the client.
Diffstat (limited to 'sql/sql_acl.cc')
-rw-r--r--sql/sql_acl.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc
index b04f624f746..040a7822d9d 100644
--- a/sql/sql_acl.cc
+++ b/sql/sql_acl.cc
@@ -3176,7 +3176,7 @@ bool mysql_table_grant(THD *thd, TABLE_LIST *table_list,
rw_unlock(&LOCK_grant);
if (!result) /* success */
- send_ok(thd);
+ my_ok(thd);
/* Tables are automatically closed */
thd->lex->restore_backup_query_tables_list(&backup);
@@ -3344,7 +3344,7 @@ bool mysql_routine_grant(THD *thd, TABLE_LIST *table_list, bool is_proc,
rw_unlock(&LOCK_grant);
if (!result && !no_error)
- send_ok(thd);
+ my_ok(thd);
/* Tables are automatically closed */
DBUG_RETURN(result);
@@ -3460,7 +3460,7 @@ bool mysql_grant(THD *thd, const char *db, List <LEX_USER> &list,
close_thread_tables(thd);
if (!result)
- send_ok(thd);
+ my_ok(thd);
DBUG_RETURN(result);
}