• unknown's avatar
    New call mysql_stmt_init() introduced. · 7ef1b4df
    unknown authored
    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.
    7ef1b4df
client.c 74.5 KB