diff options
author | unknown <sasha@mysql.sashanet.com> | 2000-11-06 19:39:13 -0700 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2000-11-06 19:39:13 -0700 |
commit | ae72872965a61688a2360477797f160dec8869a2 (patch) | |
tree | f165c573e30544964d89e3a5e99c270fef4686b1 /sql/mini_client.cc | |
parent | e07aa7950e26cfe322973e1690448046ec012b9f (diff) | |
download | mariadb-git-ae72872965a61688a2360477797f160dec8869a2.tar.gz |
sql/item_strfunc.cc
fixed coredump in concat_ws
sql/item_strfunc.h
fixed coredump in concat_ws
sql/mini_client.cc
added mc_mysql_error()
sql/mini_client.h
added mc_mysql_errno()
sql/mysqlbinlog.cc
fixed bug in --postion for local files
sql/slave.cc
more verbose message on bad net reads
sql/sql_repl.cc
send errno on error in mysql_binlog_send
sql/item_strfunc.cc:
fixed coredump in concat_ws
sql/item_strfunc.h:
fixed coredump in concat_ws
sql/mini_client.cc:
added mc_mysql_error()
sql/mini_client.h:
added mc_mysql_errno()
sql/mysqlbinlog.cc:
fixed bug in --postion for local files
BitKeeper/etc/ignore:
Added client/.mysqladmin.c.swp to the ignore list
sql/slave.cc:
more verbose message on bad net reads
sql/sql_repl.cc:
send errno on error in mysql_binlog_send
Diffstat (limited to 'sql/mini_client.cc')
-rw-r--r-- | sql/mini_client.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/mini_client.cc b/sql/mini_client.cc index 34f5c0a6ccd..3520062e052 100644 --- a/sql/mini_client.cc +++ b/sql/mini_client.cc @@ -371,6 +371,11 @@ char * STDCALL mc_mysql_error(MYSQL *mysql) return (mysql)->net.last_error; } +int STDCALL mc_mysql_errno(MYSQL *mysql) +{ + return (mysql)->net.last_errno; +} + my_bool STDCALL mc_mysql_reconnect(MYSQL *mysql) { MYSQL tmp_mysql; |