[Overview][Constants][Types][Procedures and functions][Variables] Reference for unit 'mysql41' (#mysql41_api)

st_mysql_stmt

Declaration

Source position: mysql.inc line 1095

type st_mysql_stmt = record

  mem_root: MEM_ROOT;

  mysql: PMYSQL;

  params: PMYSQL_BIND;

  bind: PMYSQL_BIND;

  fields: PMYSQL_FIELD;

  result: MYSQL_DATA;

  data_cursor: PMYSQL_ROWS;

  affected_rows: my_ulonglong;

  insert_id: my_ulonglong;

  read_row_func: function(

  stmt: Pst_mysql_stmt;

  row: PPByte

):LongInt;

  stmt_id: dword;

  last_errno: dword;

  param_count: dword;

  field_count: dword;

  state: enum_mysql_stmt_state;

  last_error: array [0..(MYSQL_ERRMSG_SIZE)-1] of Char;

  sqlstate: array [0..(SQLSTATE_LENGTH+1)-1] of Char;

  send_types_to_server: my_bool;

  bind_param_done: my_bool;

  bind_result_done: my_bool;

  unbuffered_fetch_cancelled: my_bool;

  update_max_length: my_bool;

end;