diff options
author | unknown <konstantin@mysql.com> | 2004-03-05 16:55:09 +0300 |
---|---|---|
committer | unknown <konstantin@mysql.com> | 2004-03-05 16:55:09 +0300 |
commit | 7ef1b4dff24256c8107e27347a96dd17c193eeb6 (patch) | |
tree | c213d11f4b540820da4fe3998a3fe6881752d7aa /libmysql/client_settings.h | |
parent | f7207b51a2f8bfa4ee1a4a9c424020bad8fd51bd (diff) | |
download | mariadb-git-7ef1b4dff24256c8107e27347a96dd17c193eeb6.tar.gz |
New call mysql_stmt_init() introduced.
Renames:
mysql_bind_param -> mysql_stmt_bind_param
mysql_bind_result -> mysql_stmt_bind_result
mysql_execute -> mysql_stmt_execute
mysql_fetch -> mysql_stmt_fetch
mysql_fetch_column -> mysql_stmt_fetch_column
mysql_get_metadata -> mysql_stmt_result_metadata
mysql_param_count -> mysql_stmt_param_count
mysql_param_result -> mysql_stmt_param_metadata
mysql_prepare -> mysql_stmt_prepare
mysql_send_long_data -> mysql_stmt_send_long_data
client_test.c cleaned up from memory leaks
include/mysql.h:
New call mysql_stmt_init() introduced.
Renames:
mysql_bind_param -> mysql_stmt_bind_param
mysql_bind_result -> mysql_stmt_bind_result
mysql_execute -> mysql_stmt_execute
mysql_fetch -> mysql_stmt_fetch
mysql_fetch_column -> mysql_stmt_fetch_column
mysql_get_metadata -> mysql_stmt_result_metadata
mysql_param_count -> mysql_stmt_param_count
mysql_param_result -> mysql_stmt_param_metadata
mysql_prepare -> mysql_stmt_prepare
mysql_send_long_data -> mysql_stmt_send_long_data
Renames are done according to the rule 'Everything call operating with
'MYSQL_STMT' structure has 'mysql_stmt_' prefix.
Additionally mysql_param_result was renamed to mysql_stmt_param_metadata
and mysql_get_metadata to mysql_stmt_result_metadata.
All renames are done in hope that new names are easier to remember and
understand.
libmysql/client_settings.h:
skip_list is not needed any more
libmysql/libmysql.c:
New call mysql_stmt_init() introduced.
Renames:
mysql_bind_param -> mysql_stmt_bind_param
mysql_bind_result -> mysql_stmt_bind_result
mysql_execute -> mysql_stmt_execute
mysql_fetch -> mysql_stmt_fetch
mysql_fetch_column -> mysql_stmt_fetch_column
mysql_get_metadata -> mysql_stmt_result_metadata
mysql_param_count -> mysql_stmt_param_count
mysql_param_result -> mysql_stmt_param_metadata
mysql_prepare -> mysql_stmt_prepare
mysql_send_long_data -> mysql_stmt_send_long_data
sql-common/client.c:
no skip_list argument any more
tests/client_test.c:
- many memory leaks and valgrind errors cleaned up.
Diffstat (limited to 'libmysql/client_settings.h')
-rw-r--r-- | libmysql/client_settings.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysql/client_settings.h b/libmysql/client_settings.h index 5ce0e021782..9d57bdbca0e 100644 --- a/libmysql/client_settings.h +++ b/libmysql/client_settings.h @@ -22,7 +22,7 @@ extern my_string mysql_unix_port; CLIENT_PROTOCOL_41 | CLIENT_SECURE_CONNECTION) sig_handler pipe_sig_handler(int sig __attribute__((unused))); -my_bool stmt_close(MYSQL_STMT *stmt, my_bool skip_list, my_bool skip_free); +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); |