zoukankan      html  css  js  c++  java
  • 21.8.3. C API Function Descriptions

    MySQL :: MySQL 5.1 Reference Manual :: 21.8.3 C API Function Descriptions



    [+/-]

    21.8.3.1. mysql_affected_rows()
    21.8.3.2. mysql_autocommit()
    21.8.3.3. mysql_change_user()
    21.8.3.4. mysql_character_set_name()
    21.8.3.5. mysql_close()
    21.8.3.6. mysql_commit()
    21.8.3.7. mysql_connect()
    21.8.3.8. mysql_create_db()
    21.8.3.9. mysql_data_seek()
    21.8.3.10. mysql_debug()
    21.8.3.11. mysql_drop_db()
    21.8.3.12. mysql_dump_debug_info()
    21.8.3.13. mysql_eof()
    21.8.3.14. mysql_errno()
    21.8.3.15. mysql_error()
    21.8.3.16. mysql_escape_string()
    21.8.3.17. mysql_fetch_field()
    21.8.3.18. mysql_fetch_field_direct()
    21.8.3.19. mysql_fetch_fields()
    21.8.3.20. mysql_fetch_lengths()
    21.8.3.21. mysql_fetch_row()
    21.8.3.22. mysql_field_count()
    21.8.3.23. mysql_field_seek()
    21.8.3.24. mysql_field_tell()
    21.8.3.25. mysql_free_result()
    21.8.3.26. mysql_get_character_set_info()
    21.8.3.27. mysql_get_client_info()
    21.8.3.28. mysql_get_client_version()
    21.8.3.29. mysql_get_host_info()
    21.8.3.30. mysql_get_proto_info()
    21.8.3.31. mysql_get_server_info()
    21.8.3.32. mysql_get_server_version()
    21.8.3.33. mysql_get_ssl_cipher()
    21.8.3.34. mysql_hex_string()
    21.8.3.35. mysql_info()
    21.8.3.36. mysql_init()
    21.8.3.37. mysql_insert_id()
    21.8.3.38. mysql_kill()
    21.8.3.39. mysql_library_end()
    21.8.3.40. mysql_library_init()
    21.8.3.41. mysql_list_dbs()
    21.8.3.42. mysql_list_fields()
    21.8.3.43. mysql_list_processes()
    21.8.3.44. mysql_list_tables()
    21.8.3.45. mysql_more_results()
    21.8.3.46. mysql_next_result()
    21.8.3.47. mysql_num_fields()
    21.8.3.48. mysql_num_rows()
    21.8.3.49. mysql_options()
    21.8.3.50. mysql_ping()
    21.8.3.51. mysql_query()
    21.8.3.52. mysql_real_connect()
    21.8.3.53. mysql_real_escape_string()
    21.8.3.54. mysql_real_query()
    21.8.3.55. mysql_refresh()
    21.8.3.56. mysql_reload()
    21.8.3.57. mysql_rollback()
    21.8.3.58. mysql_row_seek()
    21.8.3.59. mysql_row_tell()
    21.8.3.60. mysql_select_db()
    21.8.3.61. mysql_set_character_set()
    21.8.3.62. mysql_set_local_infile_default()
    21.8.3.63. mysql_set_local_infile_handler()
    21.8.3.64. mysql_set_server_option()
    21.8.3.65. mysql_shutdown()
    21.8.3.66. mysql_sqlstate()
    21.8.3.67. mysql_ssl_set()
    21.8.3.68. mysql_stat()
    21.8.3.69. mysql_store_result()
    21.8.3.70. mysql_thread_id()
    21.8.3.71. mysql_use_result()
    21.8.3.72. mysql_warning_count()

    In the descriptions here, a parameter or return value of NULL means NULL in the sense of the C programming language, not a MySQL NULL value.

    Functions that return a value generally return a pointer or an integer. Unless specified otherwise, functions returning a pointer return a non-NULL value to indicate success or a NULL value to indicate an error, and functions returning an integer return zero to indicate success or nonzero to indicate an error. Note that “nonzero” means just that. Unless the function description says otherwise, do not test against a value other than zero:

    if (result)                   /* correct */
        ... error ...

    if (result < 0)               /* incorrect */
        ... error ...

    if (result == -1)             /* incorrect */
        ... error ...

    When a function returns an error, the Errors subsection of the function description lists the possible types of errors. You can find out which of these occurred by calling mysql_errno(). A string representation of the error may be obtained by calling mysql_error().
  • 相关阅读:
    Windows Phone开发(13):如何规范用户的输入行为 转:http://blog.csdn.net/tcjiaan/article/details/7341513
    Windows Phone开发(10):常用控件(上) 转:http://blog.csdn.net/tcjiaan/article/details/7295060
    Windows Phone开发(11):常用控件(下) 转:http://blog.csdn.net/tcjiaan/article/details/7300085
    Windows Phone开发(9):关于页面状态 转:http://blog.csdn.net/tcjiaan/article/details/7292160
    Windows Phone开发(14):数据模板 转:http://blog.csdn.net/tcjiaan/article/details/7350849
    POJ 2975 Nim
    Codeforces Round #747 (Div. 2)
    POJ 2068 Nim
    CodeForces 126B Password
    A New Stone Game
  • 原文地址:https://www.cnblogs.com/lexus/p/2949813.html
Copyright © 2011-2022 走看看