Types

  1. BIND = St_mysql_bind
  1. Character_set {.final.} = object
  2. number*: cuint
  3. state*: cuint
  4. csname*: cstring
  5. name*: cstring
  6. comment*: cstring
  7. dir*: cstring
  8. mbminlen*: cuint
  9. mbmaxlen*: cuint
  1. CHARSET_INFO = Charset_info_st
  1. Charset_info_st {.final.} = object
  2. number*: cuint
  3. primary_number*: cuint
  4. binary_number*: cuint
  5. state*: cuint
  6. csname*: cstring
  7. name*: cstring
  8. comment*: cstring
  9. tailoring*: cstring
  10. ftype*: cstring
  11. to_lower*: cstring
  12. to_upper*: cstring
  13. sort_order*: cstring
  14. contractions*: ptr int16
  15. sort_order_big*: ptr ptr int16
  16. tab_to_uni*: ptr int16
  17. tab_from_uni*: pointer
  18. state_map*: cstring
  19. ident_map*: cstring
  20. strxfrm_multiply*: cuint
  21. mbminlen*: cuint
  22. mbmaxlen*: cuint
  23. min_sort_char*: int16
  24. max_sort_char*: int16
  25. escape_with_backslash_is_dangerous*: my_bool
  26. cset*: pointer
  27. coll*: pointer
  1. cuint = cint
  1. DATA = St_mysql_data
  1. DYNAMIC_ARRAY = St_dynamic_array
  1. Enum_cursor_type = enum
  2. CURSOR_TYPE_NO_CURSOR = 0, CURSOR_TYPE_READ_ONLY = 1,
  3. CURSOR_TYPE_FOR_UPDATE = 2, CURSOR_TYPE_SCROLLABLE = 4
  1. Enum_field_types = enum
  2. TYPE_DECIMAL, TYPE_TINY, TYPE_SHORT, TYPE_LONG, TYPE_FLOAT, TYPE_DOUBLE,
  3. TYPE_NULL, TYPE_TIMESTAMP, TYPE_LONGLONG, TYPE_INT24, TYPE_DATE, TYPE_TIME,
  4. TYPE_DATETIME, TYPE_YEAR, TYPE_NEWDATE, TYPE_VARCHAR, TYPE_BIT,
  5. TYPE_NEWDECIMAL = 246, TYPE_ENUM = 247, TYPE_SET = 248, TYPE_TINY_BLOB = 249,
  6. TYPE_MEDIUM_BLOB = 250, TYPE_LONG_BLOB = 251, TYPE_BLOB = 252,
  7. TYPE_VAR_STRING = 253, TYPE_STRING = 254, TYPE_GEOMETRY = 255
  1. Enum_mysql_set_option = enum
  2. OPTION_MULTI_STATEMENTS_ON, OPTION_MULTI_STATEMENTS_OFF
  1. Enum_mysql_stmt_state = enum
  2. STMT_INIT_DONE = 1, STMT_PREPARE_DONE, STMT_EXECUTE_DONE, STMT_FETCH_DONE
  1. Enum_server_command = enum
  2. COM_SLEEP, COM_QUIT, COM_INIT_DB, COM_QUERY, COM_FIELD_LIST, COM_CREATE_DB,
  3. COM_DROP_DB, COM_REFRESH, COM_SHUTDOWN, COM_STATISTICS, COM_PROCESS_INFO,
  4. COM_CONNECT, COM_PROCESS_KILL, COM_DEBUG, COM_PING, COM_TIME,
  5. COM_DELAYED_INSERT, COM_CHANGE_USER, COM_BINLOG_DUMP, COM_TABLE_DUMP,
  6. COM_CONNECT_OUT, COM_REGISTER_SLAVE, COM_STMT_PREPARE, COM_STMT_EXECUTE,
  7. COM_STMT_SEND_LONG_DATA, COM_STMT_CLOSE, COM_STMT_RESET, COM_SET_OPTION,
  8. COM_STMT_FETCH, COM_END
  1. Enum_shutdown_level = enum
  2. SHUTDOWN_DEFAULT = 0, SHUTDOWN_WAIT_CONNECTIONS = 1,
  3. SHUTDOWN_WAIT_TRANSACTIONS = 2, SHUTDOWN_WAIT_UPDATES = 8,
  4. SHUTDOWN_WAIT_ALL_BUFFERS = 16, SHUTDOWN_WAIT_CRITICAL_BUFFERS = 17,
  5. KILL_QUERY = 254, KILL_CONNECTION = 255
  1. Enum_stmt_attr_type = enum
  2. STMT_ATTR_UPDATE_MAX_LENGTH, STMT_ATTR_CURSOR_TYPE, STMT_ATTR_PREFETCH_ROWS
  1. FIELD = St_mysql_field
  1. FIELD_OFFSET = cuint
  1. gptr = cstring
  1. Item_result = enum
  2. STRING_RESULT, REAL_RESULT, INT_RESULT, ROW_RESULT, DECIMAL_RESULT
  1. MANAGER = St_mysql_manager
  1. MEM_ROOT = St_mem_root
  1. METHODS = St_mysql_methods
  1. my_bool = bool
  1. MY_CHARSET_INFO = Character_set
  1. my_socket = cint
  1. my_ulonglong = int64
  1. MySQL = St_mysql
  1. NET = St_net
  1. Option = enum
  2. OPT_CONNECT_TIMEOUT, OPT_COMPRESS, OPT_NAMED_PIPE, INIT_COMMAND,
  3. READ_DEFAULT_FILE, READ_DEFAULT_GROUP, SET_CHARSET_DIR, SET_CHARSET_NAME,
  4. OPT_LOCAL_INFILE, OPT_PROTOCOL, SHARED_MEMORY_BASE_NAME, OPT_READ_TIMEOUT,
  5. OPT_WRITE_TIMEOUT, OPT_USE_RESULT, OPT_USE_REMOTE_CONNECTION,
  6. OPT_USE_EMBEDDED_CONNECTION, OPT_GUESS_CONNECTION, SET_CLIENT_IP, SECURE_AUTH,
  7. REPORT_DATA_TRUNCATION, OPT_RECONNECT
  1. PARAMETERS = St_mysql_parameters
  1. PBIND = ptr BIND
  1. Pcharacter_set = ptr Character_set
  1. Pcharset_info_st = ptr Charset_info_st
  1. PDATA = ptr DATA
  1. PFIELD = ptr FIELD
  1. PFIELD_OFFSET = ptr FIELD_OFFSET
  1. Pgptr = ptr gptr
  1. PItem_result = ptr Item_result
  1. PMANAGER = ptr MANAGER
  1. PMEM_ROOT = ptr MEM_ROOT
  1. PMETHODS = ptr METHODS
  1. Pmy_bool = ptr my_bool
  1. PMY_CHARSET_INFO = ptr MY_CHARSET_INFO
  1. Pmy_socket = ptr my_socket
  1. Pmy_ulonglong = ptr my_ulonglong
  1. PMySQL = ptr MySQL
  1. PNET = ptr NET
  1. PPARAMETERS = ptr PARAMETERS
  1. PPByte = pointer
  1. Prand_struct = ptr Rand_struct
  1. PRES = ptr RES
  1. Protocol_type = enum
  2. PROTOCOL_DEFAULT, PROTOCOL_TCP, PROTOCOL_SOCKET, PROTOCOL_PIPE,
  3. PROTOCOL_MEMORY
  1. PROW = ptr ROW
  1. PROW_OFFSET = ptr ROW_OFFSET
  1. PROWS = ptr ROWS
  1. Psockaddr = ptr Sockaddr
  1. Pst_dynamic_array = ptr St_dynamic_array
  1. Pst_mem_root = ptr St_mem_root
  1. Pst_mysql = ptr St_mysql
  1. Pst_mysql_bind = ptr St_mysql_bind
  1. Pst_mysql_data = ptr St_mysql_data
  1. Pst_mysql_field = ptr St_mysql_field
  1. Pst_mysql_manager = ptr St_mysql_manager
  1. Pst_mysql_methods = ptr St_mysql_methods
  1. Pst_mysql_options = ptr St_mysql_options
  1. Pst_mysql_parameters = ptr St_mysql_parameters
  1. Pst_mysql_res = ptr St_mysql_res
  1. Pst_mysql_rows = ptr St_mysql_rows
  1. Pst_mysql_stmt = ptr St_mysql_stmt
  1. Pst_net = ptr St_net
  1. Pst_udf_args = ptr St_udf_args
  1. Pst_udf_init = ptr St_udf_init
  1. Pst_used_mem = ptr St_used_mem
  1. PSTMT = ptr STMT
  1. PUDF_ARGS = ptr UDF_ARGS
  1. PUDF_INIT = ptr UDF_INIT
  1. PUSED_MEM = ptr USED_MEM
  1. PVIO = pointer
  1. Rand_struct {.final.} = object
  2. seed1*: int
  3. seed2*: int
  4. max_value*: int
  5. max_value_dbl*: cdouble
  1. RES = St_mysql_res
  1. ROW = cstringArray
  1. ROW_OFFSET = ROWS
  1. ROWS = St_mysql_rows
  1. Rpl_type = enum
  2. RPL_MASTER, RPL_SLAVE, RPL_ADMIN
  1. Sockaddr {.final.} = object
  1. St_dynamic_array {.final.} = object
  2. buffer*: cstring
  3. elements*: cuint
  4. max_element*: cuint
  5. alloc_increment*: cuint
  6. size_of_element*: cuint
  1. St_mem_root {.final.} = object
  2. free*: PUSED_MEM
  3. used*: PUSED_MEM
  4. pre_alloc*: PUSED_MEM
  5. min_malloc*: cuint
  6. block_size*: cuint
  7. block_num*: cuint
  8. first_block_usage*: cuint
  9. error_handler*: proc () {.cdecl.}
  1. St_mysql {.final.} = object
  2. net*: NET
  3. connector_fd*: gptr
  4. host*: cstring
  5. user*: cstring
  6. passwd*: cstring
  7. unix_socket*: cstring
  8. server_version*: cstring
  9. host_info*: cstring
  10. info*: cstring
  11. db*: cstring
  12. charset*: Pcharset_info_st
  13. fields*: PFIELD
  14. field_alloc*: MEM_ROOT
  15. affected_rows*: my_ulonglong
  16. insert_id*: my_ulonglong
  17. extra_info*: my_ulonglong
  18. thread_id*: int
  19. packet_length*: int
  20. port*: cuint
  21. client_flag*: int
  22. server_capabilities*: int
  23. protocol_version*: cuint
  24. field_count*: cuint
  25. server_status*: cuint
  26. server_language*: cuint
  27. warning_count*: cuint
  28. options*: St_mysql_options
  29. status*: Status
  30. free_me*: my_bool
  31. reconnect*: my_bool
  32. scramble*: array[0 .. 21 - 1, char]
  33. rpl_pivot*: my_bool
  34. master*: Pst_mysql
  35. next_slave*: Pst_mysql
  36. last_used_slave*: Pst_mysql
  37. last_used_con*: Pst_mysql
  38. stmts*: pointer
  39. methods*: Pst_mysql_methods
  40. thd*: pointer
  41. unbuffered_fetch_owner*: Pmy_bool
  1. St_mysql_bind {.final.} = object
  2. len*: int
  3. is_null*: Pmy_bool
  4. buffer*: pointer
  5. error*: Pmy_bool
  6. buffer_type*: Enum_field_types
  7. buffer_length*: int
  8. row_ptr*: ptr byte
  9. offset*: int
  10. length_value*: int
  11. param_number*: cuint
  12. pack_length*: cuint
  13. error_value*: my_bool
  14. is_unsigned*: my_bool
  15. long_data_used*: my_bool
  16. is_null_value*: my_bool
  17. store_param_func*: proc (net: PNET; param: Pst_mysql_bind) {.cdecl.}
  18. fetch_result*: proc (para1: Pst_mysql_bind; para2: PFIELD; row: PPByte)
  19. skip_result*: proc (para1: Pst_mysql_bind; para2: PFIELD; row: PPByte)
  1. St_mysql_data {.final.} = object
  2. rows*: my_ulonglong
  3. fields*: cuint
  4. data*: PROWS
  5. alloc*: MEM_ROOT
  6. prev_ptr*: ptr PROWS
  1. St_mysql_field {.final.} = object
  2. name*: cstring
  3. org_name*: cstring
  4. table*: cstring
  5. org_table*: cstring
  6. db*: cstring
  7. catalog*: cstring
  8. def*: cstring
  9. len*: int
  10. max_length*: int
  11. name_length*: cuint
  12. org_name_length*: cuint
  13. table_length*: cuint
  14. org_table_length*: cuint
  15. db_length*: cuint
  16. catalog_length*: cuint
  17. def_length*: cuint
  18. flags*: cuint
  19. decimals*: cuint
  20. charsetnr*: cuint
  21. ftype*: Enum_field_types
  22. extension*: pointer
  1. St_mysql_manager {.final.} = object
  2. net*: NET
  3. host*: cstring
  4. user*: cstring
  5. passwd*: cstring
  6. port*: cuint
  7. free_me*: my_bool
  8. eof*: my_bool
  9. cmd_status*: cint
  10. last_errno*: cint
  11. net_buf*: cstring
  12. net_buf_pos*: cstring
  13. net_data_end*: cstring
  14. net_buf_size*: cint
  15. last_error*: array[0 .. 256 - 1, char]
  1. St_mysql_methods {.final.} = object
  2. read_query_result*: proc (MySQL: PMySQL): my_bool {.cdecl.}
  3. advanced_command*: proc (MySQL: PMySQL; command: Enum_server_command;
  4. header: cstring; header_length: int; arg: cstring;
  5. arg_length: int; skip_check: my_bool): my_bool
  6. read_rows*: proc (MySQL: PMySQL; fields: PFIELD; fields_count: cuint): PDATA
  7. use_result*: proc (MySQL: PMySQL): PRES
  8. fetch_lengths*: proc (fto: ptr int; column: ROW; field_count: cuint)
  9. flush_use_result*: proc (MySQL: PMySQL)
  10. list_fields*: proc (MySQL: PMySQL): PFIELD
  11. read_prepare_result*: proc (MySQL: PMySQL; stmt: PSTMT): my_bool
  12. stmt_execute*: proc (stmt: PSTMT): cint
  13. read_binary_rows*: proc (stmt: PSTMT): cint
  14. unbuffered_fetch*: proc (MySQL: PMySQL; row: cstringArray): cint
  15. free_embedded_thd*: proc (MySQL: PMySQL)
  16. read_statistics*: proc (MySQL: PMySQL): cstring
  17. next_result*: proc (MySQL: PMySQL): my_bool
  18. read_change_user_result*: proc (MySQL: PMySQL; buff: cstring; passwd: cstring): cint
  19. read_rowsfrom_cursor*: proc (stmt: PSTMT): cint
  1. St_mysql_options {.final.} = object
  2. connect_timeout*: cuint
  3. read_timeout*: cuint
  4. write_timeout*: cuint
  5. port*: cuint
  6. protocol*: cuint
  7. client_flag*: int
  8. host*: cstring
  9. user*: cstring
  10. password*: cstring
  11. unix_socket*: cstring
  12. db*: cstring
  13. init_commands*: Pst_dynamic_array
  14. my_cnf_file*: cstring
  15. my_cnf_group*: cstring
  16. charset_dir*: cstring
  17. charset_name*: cstring
  18. ssl_key*: cstring
  19. ssl_cert*: cstring
  20. ssl_ca*: cstring
  21. ssl_capath*: cstring
  22. ssl_cipher*: cstring
  23. shared_memory_base_name*: cstring
  24. max_allowed_packet*: int
  25. use_ssl*: my_bool
  26. compress*: my_bool
  27. named_pipe*: my_bool
  28. rpl_probe*: my_bool
  29. rpl_parse*: my_bool
  30. no_master_reads*: my_bool
  31. separate_thread*: my_bool
  32. methods_to_use*: Option
  33. client_ip*: cstring
  34. secure_auth*: my_bool
  35. report_data_truncation*: my_bool
  36. local_infile_init*: proc (para1: var pointer; para2: cstring; para3: pointer): cint {.
  37. cdecl.}
  38. local_infile_read*: proc (para1: pointer; para2: cstring; para3: cuint): cint
  39. local_infile_end*: proc (para1: pointer)
  40. local_infile_error*: proc (para1: pointer; para2: cstring; para3: cuint): cint
  41. local_infile_userdata*: pointer
  1. St_mysql_parameters {.final.} = object
  2. p_max_allowed_packet*: ptr int
  3. p_net_buffer_length*: ptr int
  1. St_mysql_res {.final.} = object
  2. row_count*: my_ulonglong
  3. fields*: PFIELD
  4. data*: PDATA
  5. data_cursor*: PROWS
  6. lengths*: ptr int
  7. handle*: PMySQL
  8. field_alloc*: MEM_ROOT
  9. field_count*: cuint
  10. current_field*: cuint
  11. row*: ROW
  12. current_row*: ROW
  13. eof*: my_bool
  14. unbuffered_fetch_cancelled*: my_bool
  15. methods*: Pst_mysql_methods
  1. St_mysql_rows {.final.} = object
  2. next*: Pst_mysql_rows
  3. data*: ROW
  4. len*: int
  1. St_mysql_stmt {.final.} = object
  2. mem_root*: MEM_ROOT
  3. mysql*: PMySQL
  4. params*: PBIND
  5. fields*: PFIELD
  6. result*: DATA
  7. data_cursor*: PROWS
  8. affected_rows*: my_ulonglong
  9. insert_id*: my_ulonglong
  10. read_row_func*: proc (stmt: Pst_mysql_stmt; row: PPByte): cint {.cdecl.}
  11. stmt_id*: int
  12. flags*: int
  13. prefetch_rows*: int
  14. server_status*: cuint
  15. last_errno*: cuint
  16. param_count*: cuint
  17. field_count*: cuint
  18. state*: Enum_mysql_stmt_state
  19. last_error*: array[0 .. 200 - 1, char]
  20. sqlstate*: array[0 .. 6 - 1, char]
  21. send_types_to_server*: my_bool
  22. bind_param_done*: my_bool
  23. bind_result_done*: char
  24. unbuffered_fetch_cancelled*: my_bool
  25. update_max_length*: my_bool
  1. St_net {.final.} = object
  2. vio*: PVIO
  3. buff*: cstring
  4. buff_end*: cstring
  5. write_pos*: cstring
  6. read_pos*: cstring
  7. fd*: my_socket
  8. max_packet*: int
  9. max_packet_size*: int
  10. pkt_nr*: cuint
  11. compress_pkt_nr*: cuint
  12. write_timeout*: cuint
  13. read_timeout*: cuint
  14. retry_count*: cuint
  15. fcntl*: cint
  16. compress*: my_bool
  17. remain_in_buf*: int
  18. len*: int
  19. buf_length*: int
  20. where_b*: int
  21. return_status*: ptr cint
  22. reading_or_writing*: char
  23. save_char*: cchar
  24. no_send_ok*: my_bool
  25. no_send_eof*: my_bool
  26. no_send_error*: my_bool
  27. last_error*: array[0 .. 200 - 1, char]
  28. sqlstate*: array[0 .. 6 - 1, char]
  29. last_errno*: cuint
  30. error*: char
  31. query_cache_query*: gptr
  32. report_error*: my_bool
  33. return_errno*: my_bool
  1. St_udf_args {.final.} = object
  2. arg_count*: cuint
  3. arg_type*: PItem_result
  4. args*: cstringArray
  5. lengths*: ptr int
  6. maybe_null*: cstring
  7. attributes*: cstringArray
  8. attribute_lengths*: ptr int
  1. St_udf_init {.final.} = object
  2. maybe_null*: my_bool
  3. decimals*: cuint
  4. max_length*: int
  5. theptr*: cstring
  6. const_item*: my_bool
  1. St_used_mem {.final.} = object
  2. next*: Pst_used_mem
  3. left*: cuint
  4. size*: cuint
  1. Status = enum
  2. STATUS_READY, STATUS_GET_RESULT, STATUS_USE_RESULT
  1. STMT = St_mysql_stmt
  1. UDF_ARGS = St_udf_args
  1. UDF_INIT = St_udf_init
  1. USED_MEM = St_used_mem

Consts

  1. ALLOC_MAX_BLOCK_TO_DROP = 4096
  1. ALLOC_MAX_BLOCK_USAGE_BEFORE_DROP = 10
  1. AUTO_INCREMENT_FLAG = 512
  1. BINARY_FLAG = 128
  1. BINCMP_FLAG = 131072
  1. BLOB_FLAG = 16
  1. CLIENT_COMPRESS = 32
  1. CLIENT_CONNECT_WITH_DB = 8
  1. CLIENT_FOUND_ROWS = 2
  1. CLIENT_IGNORE_SIGPIPE = 4096
  1. CLIENT_IGNORE_SPACE = 256
  1. CLIENT_INTERACTIVE = 1024
  1. CLIENT_LOCAL_FILES = 128
  1. CLIENT_LONG_FLAG = 4
  1. CLIENT_LONG_PASSWORD = 1
  1. CLIENT_MULTI_QUERIES = 65536
  1. CLIENT_MULTI_RESULTS = 131072
  1. CLIENT_MULTI_STATEMENTS = 65536
  1. CLIENT_NET_READ_TIMEOUT = 31536000
  1. CLIENT_NET_WRITE_TIMEOUT = 31536000
  1. CLIENT_NO_SCHEMA = 16
  1. CLIENT_ODBC = 64
  1. CLIENT_PROTOCOL_41 = 512
  1. CLIENT_REMEMBER_OPTIONS: int = 2147483648
  1. CLIENT_RESERVED = 16384
  1. CLIENT_SECURE_CONNECTION = 32768
  1. CLIENT_SSL = 2048
  1. CLIENT_TRANSACTIONS = 8192
  1. COMP_HEADER_SIZE = 3
  1. COUNT_ERROR = -1'i64
  1. DATA_TRUNCATED = 101
  1. ENUM_FLAG = 256
  1. ERRMSG_SIZE = 200
  1. FIELD_TYPE_BIT = TYPE_BIT
  1. FIELD_TYPE_BLOB = TYPE_BLOB
  1. FIELD_TYPE_CHAR = TYPE_TINY
  1. FIELD_TYPE_DATE = TYPE_DATE
  1. FIELD_TYPE_DATETIME = TYPE_DATETIME
  1. FIELD_TYPE_DECIMAL = TYPE_DECIMAL
  1. FIELD_TYPE_DOUBLE = TYPE_DOUBLE
  1. FIELD_TYPE_ENUM = TYPE_ENUM
  1. FIELD_TYPE_FLOAT = TYPE_FLOAT
  1. FIELD_TYPE_GEOMETRY = TYPE_GEOMETRY
  1. FIELD_TYPE_INT24 = TYPE_INT24
  1. FIELD_TYPE_INTERVAL = TYPE_ENUM
  1. FIELD_TYPE_LONG = TYPE_LONG
  1. FIELD_TYPE_LONG_BLOB = TYPE_LONG_BLOB
  1. FIELD_TYPE_LONGLONG = TYPE_LONGLONG
  1. FIELD_TYPE_MEDIUM_BLOB = TYPE_MEDIUM_BLOB
  1. FIELD_TYPE_NEWDATE = TYPE_NEWDATE
  1. FIELD_TYPE_NEWDECIMAL = TYPE_NEWDECIMAL
  1. FIELD_TYPE_NULL = TYPE_NULL
  1. FIELD_TYPE_SET = TYPE_SET
  1. FIELD_TYPE_SHORT = TYPE_SHORT
  1. FIELD_TYPE_STRING = TYPE_STRING
  1. FIELD_TYPE_TIME = TYPE_TIME
  1. FIELD_TYPE_TIMESTAMP = TYPE_TIMESTAMP
  1. FIELD_TYPE_TINY = TYPE_TINY
  1. FIELD_TYPE_TINY_BLOB = TYPE_TINY_BLOB
  1. FIELD_TYPE_VAR_STRING = TYPE_VAR_STRING
  1. FIELD_TYPE_YEAR = TYPE_YEAR
  1. GROUP_FLAG = 32768
  1. HOSTNAME_LENGTH = 60
  1. LOCAL_HOST = "localhost"
  1. LOCAL_HOST_NAMEDPIPE = '.'
  1. LOCAL_INFILE_ERROR_LEN = 512
  1. LONG_DATA_HEADER = 6
  1. MANAGER_ACCESS = 401
  1. MANAGER_CLIENT_ERR = 450
  1. MANAGER_INFO = 250
  1. MANAGER_INTERNAL_ERR = 500
  1. MANAGER_OK = 200
  1. MAX_BIGINT_WIDTH = 20
  1. MAX_BLOB_WIDTH = 8192
  1. MAX_CHAR_WIDTH = 255
  1. MAX_INT_WIDTH = 10
  1. MAX_MEDIUMINT_WIDTH = 8
  1. MAX_MYSQL_MANAGER_ERR = 256
  1. MAX_MYSQL_MANAGER_MSG = 256
  1. MAX_SMALLINT_WIDTH = 5
  1. MAX_TINYINT_WIDTH = 3
  1. MULTIPLE_KEY_FLAG = 8
  1. NAME_LEN = 64
  1. NAMEDPIPE = "MySQL"
  1. NET_HEADER_SIZE = 4
  1. NET_READ_TIMEOUT = 30
  1. NET_WAIT_TIMEOUT = 28800
  1. NET_WRITE_TIMEOUT = 60
  1. NO_DATA = 100
  1. NO_DEFAULT_VALUE_FLAG = 4096
  1. NOT_NULL_FLAG = 1
  1. NULL_LENGTH: int = -1
  1. NUM_FLAG = 32768
  1. ONLY_KILL_QUERY = 1
  1. packet_error = -1
  1. PART_KEY_FLAG = 16384
  1. PRI_KEY_FLAG = 2
  1. REFRESH_DES_KEY_FILE = 0x00040000
  1. REFRESH_FAST = 32768
  1. REFRESH_GRANT = 1
  1. REFRESH_HOSTS = 8
  1. REFRESH_LOG = 2
  1. REFRESH_MASTER = 128
  1. REFRESH_QUERY_CACHE = 65536
  1. REFRESH_QUERY_CACHE_FREE = 0x00020000
  1. REFRESH_READ_LOCK = 16384
  1. REFRESH_SLAVE = 64
  1. REFRESH_STATUS = 16
  1. REFRESH_TABLES = 4
  1. REFRESH_THREADS = 32
  1. REFRESH_USER_RESOURCES = 0x00080000
  1. SCRAMBLE_LENGTH = 20
  1. SCRAMBLE_LENGTH_323 = 8
  1. SCRAMBLED_PASSWORD_CHAR_LENGTH = 41
  1. SCRAMBLED_PASSWORD_CHAR_LENGTH_323 = 16
  1. SERVER_MORE_RESULTS_EXISTS = 8
  1. SERVER_QUERY_NO_GOOD_INDEX_USED = 16
  1. SERVER_QUERY_NO_INDEX_USED = 32
  1. SERVER_STATUS_AUTOCOMMIT = 2
  1. SERVER_STATUS_CURSOR_EXISTS = 64
  1. SERVER_STATUS_DB_DROPPED = 256
  1. SERVER_STATUS_IN_TRANS = 1
  1. SERVER_STATUS_LAST_ROW_SENT = 128
  1. SERVER_STATUS_MORE_RESULTS = 4
  1. SERVER_STATUS_NO_BACKSLASH_ESCAPES = 512
  1. SERVER_VERSION_LENGTH = 60
  1. SERVICENAME = "MySQL"
  1. SET_FLAG = 2048
  1. SHUTDOWN_KILLABLE_CONNECT = '\x01'
  1. SHUTDOWN_KILLABLE_LOCK_TABLE = '\x04'
  1. SHUTDOWN_KILLABLE_TRANS = '\x02'
  1. SHUTDOWN_KILLABLE_UPDATE = '\b'
  1. SQLSTATE_LENGTH = 5
  1. STMT_HEADER = 4
  1. TIMESTAMP_FLAG = 1024
  1. UNIQUE_FLAG = 65536
  1. UNIQUE_KEY_FLAG = 4
  1. UNSIGNED_FLAG = 32
  1. USERNAME_LENGTH = 16
  1. ZEROFILL_FLAG = 64

Procs

  1. proc add_slave(MySQL: PMySQL; host: cstring; port: cuint; user: cstring;
  2. passwd: cstring): cint {.stdcall, dynlib: lib,
  3. importc: "mysql_add_slave", ...raises: [],
  4. tags: [], forbids: [].}
  1. proc affected_rows(MySQL: PMySQL): my_ulonglong {.stdcall, dynlib: lib,
  2. importc: "mysql_affected_rows", ...raises: [], tags: [], forbids: [].}
  1. proc autocommit(MySQL: PMySQL; auto_mode: my_bool): my_bool {.stdcall,
  2. dynlib: lib, importc: "mysql_autocommit", ...raises: [], tags: [], forbids: [].}
  1. proc change_user(MySQL: PMySQL; user: cstring; passwd: cstring; db: cstring): my_bool {.
  2. stdcall, dynlib: lib, importc: "mysql_change_user", ...raises: [], tags: [],
  3. forbids: [].}
  1. proc character_set_name(MySQL: PMySQL): cstring {.stdcall, dynlib: lib,
  2. importc: "mysql_character_set_name", ...raises: [], tags: [], forbids: [].}
  1. proc check_scramble(reply: cstring; message: cstring; hash_stage2: pointer): my_bool {.
  2. cdecl, dynlib: lib, importc: "check_scramble", ...raises: [], tags: [],
  3. forbids: [].}
  1. proc check_scramble_323(para1: cstring; message: cstring; salt: int): my_bool {.
  2. cdecl, dynlib: lib, importc: "check_scramble_323", ...raises: [], tags: [],
  3. forbids: [].}
  1. proc close(sock: PMySQL) {.stdcall, dynlib: lib, importc: "mysql_close",
  2. ...raises: [], tags: [], forbids: [].}
  1. proc commit(MySQL: PMySQL): my_bool {.stdcall, dynlib: lib,
  2. importc: "mysql_commit", ...raises: [],
  3. tags: [], forbids: [].}
  1. proc create_random_string(fto: cstring; len: cuint; rand_st: Prand_struct) {.
  2. cdecl, dynlib: lib, importc: "create_random_string", ...raises: [], tags: [],
  3. forbids: [].}
  1. proc data_seek(result: PRES; offset: my_ulonglong) {.stdcall, dynlib: lib,
  2. importc: "mysql_data_seek", ...raises: [], tags: [], forbids: [].}
  1. proc debug(debug: cstring) {.stdcall, dynlib: lib, importc: "mysql_debug",
  2. ...raises: [], tags: [], forbids: [].}
  1. proc disable_reads_from_master(MySQL: PMySQL) {.stdcall, dynlib: lib,
  2. importc: "mysql_disable_reads_from_master", ...raises: [], tags: [],
  3. forbids: [].}
  1. proc disable_rpl_parse(MySQL: PMySQL) {.stdcall, dynlib: lib,
  2. importc: "mysql_disable_rpl_parse",
  3. ...raises: [], tags: [], forbids: [].}
  1. proc dump_debug_info(MySQL: PMySQL): cint {.stdcall, dynlib: lib,
  2. importc: "mysql_dump_debug_info", ...raises: [], tags: [], forbids: [].}
  1. proc embedded(): my_bool {.stdcall, dynlib: lib, importc: "mysql_embedded",
  2. ...raises: [], tags: [], forbids: [].}
  1. proc enable_reads_from_master(MySQL: PMySQL) {.stdcall, dynlib: lib,
  2. importc: "mysql_enable_reads_from_master", ...raises: [], tags: [], forbids: [].}
  1. proc enable_rpl_parse(MySQL: PMySQL) {.stdcall, dynlib: lib,
  2. importc: "mysql_enable_rpl_parse",
  3. ...raises: [], tags: [], forbids: [].}
  1. proc eof(res: PRES): my_bool {.stdcall, dynlib: lib, importc: "mysql_eof",
  2. ...raises: [], tags: [], forbids: [].}
  1. proc errno(MySQL: PMySQL): cuint {.stdcall, dynlib: lib, importc: "mysql_errno",
  2. ...raises: [], tags: [], forbids: [].}
  1. proc errno_to_sqlstate(errno: cuint): cstring {.cdecl, dynlib: lib,
  2. importc: "mysql_errno_to_sqlstate", ...raises: [], tags: [], forbids: [].}
  1. proc error(MySQL: PMySQL): cstring {.stdcall, dynlib: lib,
  2. importc: "mysql_error", ...raises: [],
  3. tags: [], forbids: [].}
  1. proc escape_string(fto: cstring; from: cstring; from_length: int): int {.
  2. stdcall, dynlib: lib, importc: "mysql_escape_string", ...raises: [], tags: [],
  3. forbids: [].}
  1. proc fetch_field(result: PRES): PFIELD {.stdcall, dynlib: lib,
  2. importc: "mysql_fetch_field", ...raises: [], tags: [], forbids: [].}
  1. proc fetch_field_direct(res: PRES; fieldnr: cuint): PFIELD {.stdcall,
  2. dynlib: lib, importc: "mysql_fetch_field_direct", ...raises: [], tags: [],
  3. forbids: [].}
  1. proc fetch_fields(res: PRES): PFIELD {.stdcall, dynlib: lib,
  2. importc: "mysql_fetch_fields",
  3. ...raises: [], tags: [], forbids: [].}
  1. proc fetch_lengths(result: PRES): ptr int {.stdcall, dynlib: lib,
  2. importc: "mysql_fetch_lengths", ...raises: [], tags: [], forbids: [].}
  1. proc fetch_row(result: PRES): ROW {.stdcall, dynlib: lib,
  2. importc: "mysql_fetch_row", ...raises: [],
  3. tags: [], forbids: [].}
  1. proc field_count(MySQL: PMySQL): cuint {.stdcall, dynlib: lib,
  2. importc: "mysql_field_count", ...raises: [], tags: [], forbids: [].}
  1. proc field_seek(result: PRES; offset: FIELD_OFFSET): FIELD_OFFSET {.stdcall,
  2. dynlib: lib, importc: "mysql_field_seek", ...raises: [], tags: [], forbids: [].}
  1. proc field_tell(res: PRES): FIELD_OFFSET {.stdcall, dynlib: lib,
  2. importc: "mysql_field_tell", ...raises: [], tags: [], forbids: [].}
  1. proc free_result(result: PRES) {.stdcall, dynlib: lib,
  2. importc: "mysql_free_result", ...raises: [],
  3. tags: [], forbids: [].}
  1. proc get_character_set_info(MySQL: PMySQL; charset: PMY_CHARSET_INFO) {.stdcall,
  2. dynlib: lib, importc: "mysql_get_character_set_info", ...raises: [], tags: [],
  3. forbids: [].}
  1. proc get_client_info(): cstring {.stdcall, dynlib: lib,
  2. importc: "mysql_get_client_info", ...raises: [],
  3. tags: [], forbids: [].}
  1. proc get_client_version(): int {.stdcall, dynlib: lib,
  2. importc: "mysql_get_client_version",
  3. ...raises: [], tags: [], forbids: [].}
  1. proc get_host_info(MySQL: PMySQL): cstring {.stdcall, dynlib: lib,
  2. importc: "mysql_get_host_info", ...raises: [], tags: [], forbids: [].}
  1. proc get_parameters(): PPARAMETERS {.stdcall, dynlib: lib,
  2. importc: "mysql_get_parameters",
  3. ...raises: [], tags: [], forbids: [].}
  1. proc get_proto_info(MySQL: PMySQL): cuint {.stdcall, dynlib: lib,
  2. importc: "mysql_get_proto_info", ...raises: [], tags: [], forbids: [].}
  1. proc get_salt_from_password(res: pointer; password: cstring) {.cdecl,
  2. dynlib: lib, importc: "get_salt_from_password", ...raises: [], tags: [],
  3. forbids: [].}
  1. proc get_salt_from_password_323(res: ptr int; password: cstring) {.cdecl,
  2. dynlib: lib, importc: "get_salt_from_password_323", ...raises: [], tags: [],
  3. forbids: [].}
  1. proc get_server_info(MySQL: PMySQL): cstring {.stdcall, dynlib: lib,
  2. importc: "mysql_get_server_info", ...raises: [], tags: [], forbids: [].}
  1. proc get_server_version(MySQL: PMySQL): int {.stdcall, dynlib: lib,
  2. importc: "mysql_get_server_version", ...raises: [], tags: [], forbids: [].}
  1. proc get_tty_password(opt_message: cstring): cstring {.cdecl, dynlib: lib,
  2. importc: "get_tty_password", ...raises: [], tags: [], forbids: [].}
  1. proc hash_password(fto: int; password: cstring; password_len: cuint) {.cdecl,
  2. dynlib: lib, importc: "hash_password", ...raises: [], tags: [], forbids: [].}
  1. proc hex_string(fto: cstring; from: cstring; from_length: int): int {.stdcall,
  2. dynlib: lib, importc: "mysql_hex_string", ...raises: [], tags: [], forbids: [].}
  1. proc info(MySQL: PMySQL): cstring {.stdcall, dynlib: lib, importc: "mysql_info",
  2. ...raises: [], tags: [], forbids: [].}
  1. proc init(MySQL: PMySQL): PMySQL {.stdcall, dynlib: lib, importc: "mysql_init",
  2. ...raises: [], tags: [], forbids: [].}
  1. proc insert_id(MySQL: PMySQL): my_ulonglong {.stdcall, dynlib: lib,
  2. importc: "mysql_insert_id", ...raises: [], tags: [], forbids: [].}
  1. proc INTERNAL_NUM_FIELD(f: Pst_mysql_field): bool {....raises: [], tags: [],
  2. forbids: [].}
  1. proc IS_BLOB(n: int32): bool {....raises: [], tags: [], forbids: [].}
  1. proc IS_NOT_NULL(n: int32): bool {....raises: [], tags: [], forbids: [].}
  1. proc IS_NUM(t: Enum_field_types): bool {....raises: [], tags: [], forbids: [].}
  1. proc IS_NUM_FIELD(f: Pst_mysql_field): bool {....raises: [], tags: [], forbids: [].}
  1. proc IS_PRI_KEY(n: int32): bool {....raises: [], tags: [], forbids: [].}
  1. proc kill(MySQL: PMySQL; pid: int): cint {.stdcall, dynlib: lib,
  2. importc: "mysql_kill", ...raises: [], tags: [], forbids: [].}
  1. proc library_end() {.cdecl, dynlib: lib, importc: "mysql_server_end",
  2. ...raises: [], tags: [], forbids: [].}
  1. proc library_init(argc: cint; argv: cstringArray; groups: cstringArray): cint {.
  2. cdecl, dynlib: lib, importc: "mysql_server_init", ...raises: [], tags: [],
  3. forbids: [].}
  1. proc list_dbs(MySQL: PMySQL; wild: cstring): PRES {.stdcall, dynlib: lib,
  2. importc: "mysql_list_dbs", ...raises: [], tags: [], forbids: [].}
  1. proc list_fields(MySQL: PMySQL; table: cstring; wild: cstring): PRES {.stdcall,
  2. dynlib: lib, importc: "mysql_list_fields", ...raises: [], tags: [], forbids: [].}
  1. proc list_processes(MySQL: PMySQL): PRES {.stdcall, dynlib: lib,
  2. importc: "mysql_list_processes", ...raises: [], tags: [], forbids: [].}
  1. proc list_tables(MySQL: PMySQL; wild: cstring): PRES {.stdcall, dynlib: lib,
  2. importc: "mysql_list_tables", ...raises: [], tags: [], forbids: [].}
  1. proc load_defaults(conf_file: cstring; groups: cstringArray; argc: ptr cint;
  2. argv: ptr cstringArray): cint {.cdecl, dynlib: lib,
  3. importc: "load_defaults", ...raises: [], tags: [], forbids: [].}
  1. proc make_password_from_salt(fto: cstring; hash_stage2: pointer) {.cdecl,
  2. dynlib: lib, importc: "make_password_from_salt", ...raises: [], tags: [],
  3. forbids: [].}
  1. proc make_password_from_salt_323(fto: cstring; salt: ptr int) {.cdecl,
  2. dynlib: lib, importc: "make_password_from_salt_323", ...raises: [], tags: [],
  3. forbids: [].}
  1. proc make_scrambled_password(fto: cstring; password: cstring) {.cdecl,
  2. dynlib: lib, importc: "make_scrambled_password", ...raises: [], tags: [],
  3. forbids: [].}
  1. proc make_scrambled_password_323(fto: cstring; password: cstring) {.cdecl,
  2. dynlib: lib, importc: "make_scrambled_password_323", ...raises: [], tags: [],
  3. forbids: [].}
  1. proc manager_close(con: PMANAGER) {.stdcall, dynlib: lib,
  2. importc: "mysql_manager_close", ...raises: [],
  3. tags: [], forbids: [].}
  1. proc manager_command(con: PMANAGER; cmd: cstring; cmd_len: cint): cint {.
  2. stdcall, dynlib: lib, importc: "mysql_manager_command", ...raises: [],
  3. tags: [], forbids: [].}
  1. proc manager_connect(con: PMANAGER; host: cstring; user: cstring;
  2. passwd: cstring; port: cuint): PMANAGER {.stdcall,
  3. dynlib: lib, importc: "mysql_manager_connect", ...raises: [], tags: [],
  4. forbids: [].}
  1. proc manager_fetch_line(con: PMANAGER; res_buf: cstring; res_buf_size: cint): cint {.
  2. stdcall, dynlib: lib, importc: "mysql_manager_fetch_line", ...raises: [],
  3. tags: [], forbids: [].}
  1. proc manager_init(con: PMANAGER): PMANAGER {.stdcall, dynlib: lib,
  2. importc: "mysql_manager_init", ...raises: [], tags: [], forbids: [].}
  1. proc master_query(MySQL: PMySQL; q: cstring; len: int): my_bool {.stdcall,
  2. dynlib: lib, importc: "mysql_master_query", ...raises: [], tags: [],
  3. forbids: [].}
  1. proc master_send_query(MySQL: PMySQL; q: cstring; len: int): my_bool {.stdcall,
  2. dynlib: lib, importc: "mysql_master_send_query", ...raises: [], tags: [],
  3. forbids: [].}
  1. proc modify_defaults_file(file_location: cstring; option: cstring;
  2. option_value: cstring; section_name: cstring;
  3. remove_option: cint): cint {.cdecl, dynlib: lib,
  4. importc: "load_defaults", ...raises: [], tags: [], forbids: [].}
  1. proc more_results(MySQL: PMySQL): my_bool {.stdcall, dynlib: lib,
  2. importc: "mysql_more_results", ...raises: [], tags: [], forbids: [].}
  1. proc my_connect(s: my_socket; name: Psockaddr; namelen: cuint; timeout: cuint): cint {.
  2. cdecl, dynlib: lib, importc: "my_connect", ...raises: [], tags: [], forbids: [].}
  1. proc my_init(): my_bool {.cdecl, dynlib: lib, importc: "my_init", ...raises: [],
  2. tags: [], forbids: [].}
  1. proc my_net_init(net: PNET; vio: PVIO): my_bool {.cdecl, dynlib: lib,
  2. importc: "my_net_init", ...raises: [], tags: [], forbids: [].}
  1. proc my_net_local_init(net: PNET) {.cdecl, dynlib: lib,
  2. importc: "my_net_local_init", ...raises: [],
  3. tags: [], forbids: [].}
  1. proc my_net_read(net: PNET): int {.cdecl, dynlib: lib, importc: "my_net_read",
  2. ...raises: [], tags: [], forbids: [].}
  1. proc my_net_write(net: PNET; packet: cstring; length: int): my_bool {.cdecl,
  2. dynlib: lib, importc: "my_net_write", ...raises: [], tags: [], forbids: [].}
  1. proc my_rnd(para1: Prand_struct): cdouble {.cdecl, dynlib: lib,
  2. importc: "my_rnd", ...raises: [], tags: [], forbids: [].}
  1. proc my_thread_end() {.cdecl, dynlib: lib, importc: "my_thread_end", ...raises: [],
  2. tags: [], forbids: [].}
  1. proc my_thread_init(): my_bool {.cdecl, dynlib: lib, importc: "my_thread_init",
  2. ...raises: [], tags: [], forbids: [].}
  1. proc myodbc_remove_escape(MySQL: PMySQL; name: cstring) {.stdcall, dynlib: lib,
  2. importc: "myodbc_remove_escape", ...raises: [], tags: [], forbids: [].}
  1. proc net_clear(net: PNET) {.cdecl, dynlib: lib, importc: "net_clear",
  2. ...raises: [], tags: [], forbids: [].}
  1. proc net_end(net: PNET) {.cdecl, dynlib: lib, importc: "net_end", ...raises: [],
  2. tags: [], forbids: [].}
  1. proc net_flush(net: PNET): my_bool {.cdecl, dynlib: lib, importc: "net_flush",
  2. ...raises: [], tags: [], forbids: [].}
  1. proc net_real_write(net: PNET; packet: cstring; length: int): cint {.cdecl,
  2. dynlib: lib, importc: "net_real_write", ...raises: [], tags: [], forbids: [].}
  1. proc net_realloc(net: PNET; len: int): my_bool {.cdecl, dynlib: lib,
  2. importc: "net_realloc", ...raises: [], tags: [], forbids: [].}
  1. proc net_safe_read(MySQL: PMySQL): cuint {.cdecl, dynlib: lib,
  2. importc: "net_safe_read", ...raises: [], tags: [], forbids: [].}
  1. proc net_write_command(net: PNET; command: char; header: cstring; head_len: int;
  2. packet: cstring; length: int): my_bool {.cdecl,
  3. dynlib: lib, importc: "net_write_command", ...raises: [], tags: [], forbids: [].}
  1. proc next_result(MySQL: PMySQL): cint {.stdcall, dynlib: lib,
  2. importc: "mysql_next_result",
  3. ...raises: [], tags: [], forbids: [].}
  1. proc num_fields(res: PRES): cuint {.stdcall, dynlib: lib,
  2. importc: "mysql_num_fields", ...raises: [],
  3. tags: [], forbids: [].}
  1. proc num_rows(res: PRES): my_ulonglong {.stdcall, dynlib: lib,
  2. importc: "mysql_num_rows", ...raises: [], tags: [], forbids: [].}
  1. proc octet2hex(fto: cstring; str: cstring; length: cuint): cstring {.cdecl,
  2. dynlib: lib, importc: "octet2hex", ...raises: [], tags: [], forbids: [].}
  1. proc options(MySQL: PMySQL; option: Option; arg: cstring): cint {.stdcall,
  2. dynlib: lib, importc: "mysql_options", ...raises: [], tags: [], forbids: [].}
  1. proc ping(MySQL: PMySQL): cint {.stdcall, dynlib: lib, importc: "mysql_ping",
  2. ...raises: [], tags: [], forbids: [].}
  1. proc query(MySQL: PMySQL; q: cstring): cint {.stdcall, dynlib: lib,
  2. importc: "mysql_query", ...raises: [], tags: [], forbids: [].}
  1. proc randominit(para1: Prand_struct; seed1: int; seed2: int) {.cdecl,
  2. dynlib: lib, importc: "randominit", ...raises: [], tags: [], forbids: [].}
  1. proc read_query_result(MySQL: PMySQL): my_bool {.stdcall, dynlib: lib,
  2. importc: "mysql_read_query_result", ...raises: [], tags: [], forbids: [].}
  1. proc reads_from_master_enabled(MySQL: PMySQL): my_bool {.stdcall, dynlib: lib,
  2. importc: "mysql_reads_from_master_enabled", ...raises: [], tags: [],
  3. forbids: [].}
  1. proc real_connect(MySQL: PMySQL; host: cstring; user: cstring; passwd: cstring;
  2. db: cstring; port: cuint; unix_socket: cstring;
  3. clientflag: int): PMySQL {.stdcall, dynlib: lib,
  4. importc: "mysql_real_connect", ...raises: [], tags: [], forbids: [].}
  1. proc real_escape_string(MySQL: PMySQL; fto: cstring; from: cstring; len: int): int {.
  2. stdcall, dynlib: lib, importc: "mysql_real_escape_string", ...raises: [],
  3. tags: [], forbids: [].}
  1. proc real_query(MySQL: PMySQL; q: cstring; len: int): cint {.stdcall,
  2. dynlib: lib, importc: "mysql_real_query", ...raises: [], tags: [], forbids: [].}
  1. proc refresh(sql: PMySQL; refresh_options: cuint): cint {.stdcall, dynlib: lib,
  2. importc: "mysql_refresh", ...raises: [], tags: [], forbids: [].}
  1. proc reload(x: PMySQL): cint {....raises: [], tags: [], forbids: [].}
  1. proc rollback(MySQL: PMySQL): my_bool {.stdcall, dynlib: lib,
  2. importc: "mysql_rollback", ...raises: [],
  3. tags: [], forbids: [].}
  1. proc row_seek(result: PRES; offset: ROW_OFFSET): ROW_OFFSET {.stdcall,
  2. dynlib: lib, importc: "mysql_row_seek", ...raises: [], tags: [], forbids: [].}
  1. proc row_tell(res: PRES): ROW_OFFSET {.stdcall, dynlib: lib,
  2. importc: "mysql_row_tell", ...raises: [],
  3. tags: [], forbids: [].}
  1. proc rpl_parse_enabled(MySQL: PMySQL): cint {.stdcall, dynlib: lib,
  2. importc: "mysql_rpl_parse_enabled", ...raises: [], tags: [], forbids: [].}
  1. proc rpl_probe(MySQL: PMySQL): my_bool {.stdcall, dynlib: lib,
  2. importc: "mysql_rpl_probe", ...raises: [], tags: [], forbids: [].}
  1. proc rpl_query_type(q: cstring; length: cint): Rpl_type {.stdcall, dynlib: lib,
  2. importc: "mysql_rpl_query_type", ...raises: [], tags: [], forbids: [].}
  1. proc scramble(fto: cstring; message: cstring; password: cstring) {.cdecl,
  2. dynlib: lib, importc: "scramble", ...raises: [], tags: [], forbids: [].}
  1. proc scramble_323(fto: cstring; message: cstring; password: cstring) {.cdecl,
  2. dynlib: lib, importc: "scramble_323", ...raises: [], tags: [], forbids: [].}
  1. proc select_db(MySQL: PMySQL; db: cstring): cint {.stdcall, dynlib: lib,
  2. importc: "mysql_select_db", ...raises: [], tags: [], forbids: [].}
  1. proc send_query(MySQL: PMySQL; q: cstring; len: int): cint {.stdcall,
  2. dynlib: lib, importc: "mysql_send_query", ...raises: [], tags: [], forbids: [].}
  1. proc server_end() {.cdecl, dynlib: lib, importc: "mysql_server_end", ...raises: [],
  2. tags: [], forbids: [].}
  1. proc server_init(argc: cint; argv: cstringArray; groups: cstringArray): cint {.
  2. cdecl, dynlib: lib, importc: "mysql_server_init", ...raises: [], tags: [],
  3. forbids: [].}
  1. proc set_character_set(MySQL: PMySQL; csname: cstring): int32 {.stdcall,
  2. dynlib: lib, importc: "mysql_set_character_set", ...raises: [], tags: [],
  3. forbids: [].}
  1. proc set_local_infile_default(MySQL: PMySQL) {.cdecl, dynlib: lib,
  2. importc: "mysql_set_local_infile_default", ...raises: [], tags: [], forbids: [].}
  1. proc set_master(MySQL: PMySQL; host: cstring; port: cuint; user: cstring;
  2. passwd: cstring): cint {.stdcall, dynlib: lib,
  3. importc: "mysql_set_master", ...raises: [], tags: [], forbids: [].}
  1. proc set_server_option(MySQL: PMySQL; option: Enum_mysql_set_option): cint {.
  2. stdcall, dynlib: lib, importc: "mysql_set_server_option", ...raises: [],
  3. tags: [], forbids: [].}
  1. proc shutdown(MySQL: PMySQL; shutdown_level: Enum_shutdown_level): cint {.
  2. stdcall, dynlib: lib, importc: "mysql_shutdown", ...raises: [], tags: [],
  3. forbids: [].}
  1. proc slave_query(MySQL: PMySQL; q: cstring; len: int): my_bool {.stdcall,
  2. dynlib: lib, importc: "mysql_slave_query", ...raises: [], tags: [], forbids: [].}
  1. proc slave_send_query(MySQL: PMySQL; q: cstring; len: int): my_bool {.stdcall,
  2. dynlib: lib, importc: "mysql_slave_send_query", ...raises: [], tags: [],
  3. forbids: [].}
  1. proc sqlstate(MySQL: PMySQL): cstring {.stdcall, dynlib: lib,
  2. importc: "mysql_sqlstate", ...raises: [],
  3. tags: [], forbids: [].}
  1. proc ssl_set(MySQL: PMySQL; key: cstring; cert: cstring; ca: cstring;
  2. capath: cstring; cipher: cstring): my_bool {.stdcall, dynlib: lib,
  3. importc: "mysql_ssl_set", ...raises: [], tags: [], forbids: [].}
  1. proc stat(MySQL: PMySQL): cstring {.stdcall, dynlib: lib, importc: "mysql_stat",
  2. ...raises: [], tags: [], forbids: [].}
  1. proc stmt_affected_rows(stmt: PSTMT): my_ulonglong {.stdcall, dynlib: lib,
  2. importc: "mysql_stmt_affected_rows", ...raises: [], tags: [], forbids: [].}
  1. proc stmt_attr_get(stmt: PSTMT; attr_type: Enum_stmt_attr_type; attr: pointer): my_bool {.
  2. stdcall, dynlib: lib, importc: "mysql_stmt_attr_get", ...raises: [], tags: [],
  3. forbids: [].}
  1. proc stmt_attr_set(stmt: PSTMT; attr_type: Enum_stmt_attr_type; attr: pointer): my_bool {.
  2. stdcall, dynlib: lib, importc: "mysql_stmt_attr_set", ...raises: [], tags: [],
  3. forbids: [].}
  1. proc stmt_bind_param(stmt: PSTMT; bnd: PBIND): my_bool {.stdcall, dynlib: lib,
  2. importc: "mysql_stmt_bind_param", ...raises: [], tags: [], forbids: [].}
  1. proc stmt_bind_result(stmt: PSTMT; bnd: PBIND): my_bool {.stdcall, dynlib: lib,
  2. importc: "mysql_stmt_bind_result", ...raises: [], tags: [], forbids: [].}
  1. proc stmt_close(stmt: PSTMT): my_bool {.stdcall, dynlib: lib,
  2. importc: "mysql_stmt_close", ...raises: [],
  3. tags: [], forbids: [].}
  1. proc stmt_data_seek(stmt: PSTMT; offset: my_ulonglong) {.stdcall, dynlib: lib,
  2. importc: "mysql_stmt_data_seek", ...raises: [], tags: [], forbids: [].}
  1. proc stmt_errno(stmt: PSTMT): cuint {.stdcall, dynlib: lib,
  2. importc: "mysql_stmt_errno", ...raises: [],
  3. tags: [], forbids: [].}
  1. proc stmt_error(stmt: PSTMT): cstring {.stdcall, dynlib: lib,
  2. importc: "mysql_stmt_error", ...raises: [],
  3. tags: [], forbids: [].}
  1. proc stmt_execute(stmt: PSTMT): cint {.stdcall, dynlib: lib,
  2. importc: "mysql_stmt_execute",
  3. ...raises: [], tags: [], forbids: [].}
  1. proc stmt_fetch(stmt: PSTMT): cint {.stdcall, dynlib: lib,
  2. importc: "mysql_stmt_fetch", ...raises: [],
  3. tags: [], forbids: [].}
  1. proc stmt_fetch_column(stmt: PSTMT; bind: PBIND; column: cuint; offset: int): cint {.
  2. stdcall, dynlib: lib, importc: "mysql_stmt_fetch_column", ...raises: [],
  3. tags: [], forbids: [].}
  1. proc stmt_field_count(stmt: PSTMT): cuint {.stdcall, dynlib: lib,
  2. importc: "mysql_stmt_field_count", ...raises: [], tags: [], forbids: [].}
  1. proc stmt_free_result(stmt: PSTMT): my_bool {.stdcall, dynlib: lib,
  2. importc: "mysql_stmt_free_result", ...raises: [], tags: [], forbids: [].}
  1. proc stmt_init(MySQL: PMySQL): PSTMT {.stdcall, dynlib: lib,
  2. importc: "mysql_stmt_init", ...raises: [],
  3. tags: [], forbids: [].}
  1. proc stmt_insert_id(stmt: PSTMT): my_ulonglong {.stdcall, dynlib: lib,
  2. importc: "mysql_stmt_insert_id", ...raises: [], tags: [], forbids: [].}
  1. proc stmt_num_rows(stmt: PSTMT): my_ulonglong {.stdcall, dynlib: lib,
  2. importc: "mysql_stmt_num_rows", ...raises: [], tags: [], forbids: [].}
  1. proc stmt_param_count(stmt: PSTMT): int {.stdcall, dynlib: lib,
  2. importc: "mysql_stmt_param_count", ...raises: [], tags: [], forbids: [].}
  1. proc stmt_param_metadata(stmt: PSTMT): PRES {.stdcall, dynlib: lib,
  2. importc: "mysql_stmt_param_metadata", ...raises: [], tags: [], forbids: [].}
  1. proc stmt_prepare(stmt: PSTMT; query: cstring; len: int): cint {.stdcall,
  2. dynlib: lib, importc: "mysql_stmt_prepare", ...raises: [], tags: [],
  3. forbids: [].}
  1. proc stmt_reset(stmt: PSTMT): my_bool {.stdcall, dynlib: lib,
  2. importc: "mysql_stmt_reset", ...raises: [],
  3. tags: [], forbids: [].}
  1. proc stmt_result_metadata(stmt: PSTMT): PRES {.stdcall, dynlib: lib,
  2. importc: "mysql_stmt_result_metadata", ...raises: [], tags: [], forbids: [].}
  1. proc stmt_row_seek(stmt: PSTMT; offset: ROW_OFFSET): ROW_OFFSET {.stdcall,
  2. dynlib: lib, importc: "mysql_stmt_row_seek", ...raises: [], tags: [],
  3. forbids: [].}
  1. proc stmt_row_tell(stmt: PSTMT): ROW_OFFSET {.stdcall, dynlib: lib,
  2. importc: "mysql_stmt_row_tell", ...raises: [], tags: [], forbids: [].}
  1. proc stmt_send_long_data(stmt: PSTMT; param_number: cuint; data: cstring;
  2. len: int): my_bool {.stdcall, dynlib: lib,
  3. importc: "mysql_stmt_send_long_data", ...raises: [], tags: [], forbids: [].}
  1. proc stmt_sqlstate(stmt: PSTMT): cstring {.stdcall, dynlib: lib,
  2. importc: "mysql_stmt_sqlstate", ...raises: [], tags: [], forbids: [].}
  1. proc stmt_store_result(stmt: PSTMT): cint {.stdcall, dynlib: lib,
  2. importc: "mysql_stmt_store_result", ...raises: [], tags: [], forbids: [].}
  1. proc store_result(MySQL: PMySQL): PRES {.stdcall, dynlib: lib,
  2. importc: "mysql_store_result", ...raises: [], tags: [], forbids: [].}
  1. proc thread_end() {.stdcall, dynlib: lib, importc: "mysql_thread_end",
  2. ...raises: [], tags: [], forbids: [].}
  1. proc thread_id(MySQL: PMySQL): int {.stdcall, dynlib: lib,
  2. importc: "mysql_thread_id", ...raises: [],
  3. tags: [], forbids: [].}
  1. proc thread_init(): my_bool {.stdcall, dynlib: lib,
  2. importc: "mysql_thread_init", ...raises: [],
  3. tags: [], forbids: [].}
  1. proc thread_safe(): cuint {.stdcall, dynlib: lib, importc: "mysql_thread_safe",
  2. ...raises: [], tags: [], forbids: [].}
  1. proc use_result(MySQL: PMySQL): PRES {.stdcall, dynlib: lib,
  2. importc: "mysql_use_result", ...raises: [],
  3. tags: [], forbids: [].}
  1. proc warning_count(MySQL: PMySQL): cuint {.stdcall, dynlib: lib,
  2. importc: "mysql_warning_count", ...raises: [], tags: [], forbids: [].}