mirror of
https://github.com/MariaDB/server.git
synced 2026-05-02 13:15:32 +02:00
Rename send_ok to my_ok. Similarly to my_error, it only records the status,
does not send it to the client.
This commit is contained in:
parent
ead02981ea
commit
14021c96c4
22 changed files with 109 additions and 111 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue