diff options
author | unknown <konstantin@oak.local> | 2004-03-12 15:21:48 +0300 |
---|---|---|
committer | unknown <konstantin@oak.local> | 2004-03-12 15:21:48 +0300 |
commit | c4ddf5842808ba99ab3ff071f9c62c49c329ba61 (patch) | |
tree | 7a5f4f29bb5d23c6ab2975776d956f153255b4bf /libmysql/client_settings.h | |
parent | 54042aa975b8ef37bf379942bb134f040246cf86 (diff) | |
download | mariadb-git-c4ddf5842808ba99ab3ff071f9c62c49c329ba61.tar.gz |
Rudimentary part of libmysql patch:
set_mysql_error is deployed
libmysql/client_settings.h:
declaration for set_mysql_error
libmysql/libmysql.c:
- set_mysql_error moved to client.c
- st_stmt_errmsg -> set_stmt_error
sql-common/client.c:
deployment of set_mysql_error
Diffstat (limited to 'libmysql/client_settings.h')
-rw-r--r-- | libmysql/client_settings.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmysql/client_settings.h b/libmysql/client_settings.h index e4475d76958..cf5219bae59 100644 --- a/libmysql/client_settings.h +++ b/libmysql/client_settings.h @@ -25,6 +25,7 @@ sig_handler pipe_sig_handler(int sig __attribute__((unused))); my_bool stmt_close(MYSQL_STMT *stmt, my_bool skip_free); void read_user_name(char *name); my_bool send_file_to_server(MYSQL *mysql, const char *filename); +void set_mysql_error(MYSQL *mysql, int errcode, const char *sqlstate); /* Let the user specify that we don't want SIGPIPE; This doesn't however work |