1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03: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:
unknown
2008-02-19 15:45:21 +03:00
parent ead02981ea
commit 14021c96c4
22 changed files with 109 additions and 111 deletions

View File

@@ -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);
}