These functions allow you to send result packets over a connection.
| drizzle_return_t drizzle_result_write | ( | drizzle_con_st * | con, |
| drizzle_result_st * | result, | ||
| bool | flush ) |
Write result packet.
| void drizzle_result_set_row_size | ( | drizzle_result_st * | result, |
| size_t | size ) |
Set result row packet size.
| void drizzle_result_calc_row_size | ( | drizzle_result_st * | result, |
| const drizzle_field_t * | field, | ||
| const size_t * | size ) |
Set result row packet size from field and size arrays.
| void drizzle_result_set_eof | ( | drizzle_result_st * | result, |
| bool | eof ) |
Set information string for a result.
| void drizzle_result_set_info | ( | drizzle_result_st * | result, |
| const char * | info ) |
Set information string for a result.
| void drizzle_result_set_error | ( | drizzle_result_st * | result, |
| const char * | error ) |
Set error string for a result.
| void drizzle_result_set_error_code | ( | drizzle_result_st * | result, |
| uint16_t | error_code ) |
Set server defined error code for a result.
| void drizzle_result_set_sqlstate | ( | drizzle_result_st * | result, |
| const char * | sqlstate ) |
Set SQL state code for a result.
| void drizzle_result_set_warning_count | ( | drizzle_result_st * | result, |
| uint16_t | warning_count ) |
Set the number of warnings encounted during a command.
| void drizzle_result_set_insert_id | ( | drizzle_result_st * | result, |
| uint64_t | insert_id ) |
Set inet ID of the last command, if any.
| void drizzle_result_set_affected_rows | ( | drizzle_result_st * | result, |
| uint64_t | affected_rows ) |
Set the number of affected rows during the command.
| void drizzle_result_set_column_count | ( | drizzle_result_st * | result, |
| uint16_t | column_count ) |
Set the number of fields in a result set.