diff options
author | unknown <hf@deer.(none)> | 2003-09-16 16:06:25 +0500 |
---|---|---|
committer | unknown <hf@deer.(none)> | 2003-09-16 16:06:25 +0500 |
commit | d05807153b640bee039746cc449273e0672e43c4 (patch) | |
tree | e38da8c154875ca2ff180275d93d7dfa211f0f14 /include/sql_common.h | |
parent | 774c65c7a37b0b02912940dd3c804fb526b68afa (diff) | |
download | mariadb-git-d05807153b640bee039746cc449273e0672e43c4.tar.gz |
SCRUM
Prepared statements in embedded server
Several changes in library code with two goals:
to make mysql_prepare_stmt working in embedded server
to get rid of #define mysql_interface_func mysql->methods->interface_func
in user's interface
include/mysql.h:
modifications of interface
two goals: to implement prepared statements and to get rid
of #define mysql_proc (mysql->smth) in interface
include/sql_common.h:
read_rows function got 'virtual'
libmysql/client_settings.h:
interface of some functions declared in client.c moved here
libmysql/libmysql.c:
several functions changed with declared goals
libmysqld/embedded_priv.h:
libmysqld.c <--> lib_sql.cc interface moved here
libmysqld/lib_sql.cc:
all embedded 'virtual' functions moved here so they can be static
libmysqld/libmysqld.c:
embedded 'virtual' function was moved out of here
sql-common/client.c:
several changes with the declared goal
sql/sql_class.h:
place to store statement data added to THD
sql/sql_prepare.cc:
storing of prepare_statement result for embedded server added
Diffstat (limited to 'include/sql_common.h')
-rw-r--r-- | include/sql_common.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/sql_common.h b/include/sql_common.h index 9fea46be298..1ca1b9b2348 100644 --- a/include/sql_common.h +++ b/include/sql_common.h @@ -28,8 +28,6 @@ my_ulonglong net_field_length_ll(uchar **packet); MYSQL_FIELD *unpack_fields(MYSQL_DATA *data,MEM_ROOT *alloc,uint fields, my_bool default_value, uint server_capabilities); void free_rows(MYSQL_DATA *cur); -MYSQL_DATA *read_rows (MYSQL *mysql,MYSQL_FIELD *fields, - uint field_count); my_bool mysql_autenticate(MYSQL *mysql, const char *passwd); void free_old_query(MYSQL *mysql); void end_server(MYSQL *mysql); |