diff options
author | unknown <kostja@dipika.(none)> | 2008-02-19 15:45:21 +0300 |
---|---|---|
committer | unknown <kostja@dipika.(none)> | 2008-02-19 15:45:21 +0300 |
commit | 14021c96c464406812f84bec45c5f73ac0b96e1a (patch) | |
tree | 2135e26bf3867a57e788b8bfa932c8f511ce53b4 /sql/protocol.cc | |
parent | ead02981eae47130fe5d205a11336b3c00225be1 (diff) | |
download | mariadb-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/protocol.cc')
-rw-r--r-- | sql/protocol.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sql/protocol.cc b/sql/protocol.cc index 9e1b3c65538..5fe56724d08 100644 --- a/sql/protocol.cc +++ b/sql/protocol.cc @@ -112,8 +112,6 @@ void net_send_error(THD *thd, uint sql_errno, const char *err) - message : Stored as packed length (1-9 bytes) + message. Is not stored if no message. - If net->no_send_ok return without sending packet. - @param thd Thread handler @param affected_rows Number of rows changed by statement @param id Auto_increment id for first row (if used) @@ -128,7 +126,7 @@ net_send_ok(THD *thd, { NET *net= &thd->net; uchar buff[MYSQL_ERRMSG_SIZE+10],*pos; - DBUG_ENTER("send_ok"); + DBUG_ENTER("my_ok"); if (! net->vio) // hack for re-parsing queries { @@ -425,8 +423,8 @@ void net_end_statement(THD *thd) /**************************************************************************** - Functions used by the protocol functions (like send_ok) to store strings - and numbers in the header result packet. + Functions used by the protocol functions (like net_send_ok) to store + strings and numbers in the header result packet. ****************************************************************************/ /* The following will only be used for short strings < 65K */ |