diff options
author | unknown <monty@donna.mysql.com> | 2001-01-22 04:46:32 +0200 |
---|---|---|
committer | unknown <monty@donna.mysql.com> | 2001-01-22 04:46:32 +0200 |
commit | e99292d4690304e6e04f70904a91331642cdbe44 (patch) | |
tree | 706d31806ab806cae4a610724441da534fb9f793 /sql/mini_client.cc | |
parent | 75c376fbbbce097f360551024e17fe1662b1f6ef (diff) | |
download | mariadb-git-e99292d4690304e6e04f70904a91331642cdbe44.tar.gz |
keep bk happy
Docs/manual.texi:
Changelog
mysql-test/mysql-test-run.sh:
Added missing --user
sql/ha_berkeley.cc:
Fixed bug in SHOW LOGS
sql/item_func.cc:
Cleanup; Fixed possible problem with NULL
sql/mini_client.cc:
cleanup
sql/slave.cc:
Cleanup
sql/sql_repl.cc:
Fixed timing problem where we could miss a broadcast
sql/sql_show.cc:
Fixed bug in SHOW LOGS when there wasn't any log files
Diffstat (limited to 'sql/mini_client.cc')
-rw-r--r-- | sql/mini_client.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/mini_client.cc b/sql/mini_client.cc index 12c8a740398..4653328d72a 100644 --- a/sql/mini_client.cc +++ b/sql/mini_client.cc @@ -298,9 +298,9 @@ static int mc_sock_connect(my_socket s, const struct sockaddr *name, return(-1); if (s_err) - { /* getsockopt() could suceed */ + { // getsockopt() could succeed errno = s_err; - return(-1); /* but return an error... */ + return(-1); // but return an error... } return(0); /* It's all good! */ #endif @@ -403,8 +403,8 @@ my_bool STDCALL mc_mysql_reconnect(MYSQL *mysql) int STDCALL -mc_simple_command(MYSQL *mysql,enum enum_server_command command, const char *arg, - uint length, my_bool skipp_check) +mc_simple_command(MYSQL *mysql,enum enum_server_command command, + const char *arg, uint length, my_bool skipp_check) { NET *net= &mysql->net; int result= -1; |