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 /dbug | |
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 'dbug')
0 files changed, 0 insertions, 0 deletions