summaryrefslogtreecommitdiff
path: root/include/sql_common.h
diff options
context:
space:
mode:
authorunknown <hf@deer.(none)>2003-09-17 15:18:18 +0500
committerunknown <hf@deer.(none)>2003-09-17 15:18:18 +0500
commit6b05f916b8bd29af6205a946c4954bc3a2cb62df (patch)
treee8962724415be2d9f12cb72ce87a2be43fe4b342 /include/sql_common.h
parenteead70fe70b5fc821827ea0bbe884eef9ad684de (diff)
downloadmariadb-git-6b05f916b8bd29af6205a946c4954bc3a2cb62df.tar.gz
SCRUM
prepared statements in embedded library include/mysql.h: stmt_execute 'virtual' method added include/sql_common.h: two functions became global libmysql/client_settings.h: declaration for cli_stmt_execute libmysql/libmysql.c: some functions changed to be usable from embedded library libmysqld/lib_sql.cc: code for embedded stmt_execute added sql-common/client.c: cli_stmt_execute added to the methods table sql/client_settings.h: no need for prepared statements in miniclient
Diffstat (limited to 'include/sql_common.h')
-rw-r--r--include/sql_common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sql_common.h b/include/sql_common.h
index 1ca1b9b2348..1f442339c4f 100644
--- a/include/sql_common.h
+++ b/include/sql_common.h
@@ -34,6 +34,13 @@ void end_server(MYSQL *mysql);
my_bool mysql_reconnect(MYSQL *mysql);
void mysql_read_default_options(struct st_mysql_options *options,
const char *filename,const char *group);
+my_bool STDCALL
+cli_advanced_command(MYSQL *mysql, enum enum_server_command command,
+ const char *header, ulong header_length,
+ const char *arg, ulong arg_length, my_bool skip_check);
+
+void set_stmt_errmsg(MYSQL_STMT * stmt, const char *err, int errcode,
+ const char *sqlstate);
#ifdef __cplusplus
}
#endif