#include "mysac.h"
Go to the source code of this file.
Functions | |
int | mysac_decode_binary_row (char *buf, int len, MYSAC_RES *res, MYSAC_ROWS *row) |
int | mysac_decode_string_row (char *buf, int len, MYSAC_RES *res, MYSAC_ROWS *row) |
int mysac_decode_binary_row | ( | char * | buf, | |
int | len, | |||
MYSAC_RES * | res, | |||
MYSAC_ROWS * | row | |||
) |
This decode mysql row binary format packet
buf | is the buffer containing packet the strings stored into col, are allocated into this buffer | |
len | is the length of the packet | |
res | is valid MYSAC_RES | |
row | is valid col struct space for storing pointers and values |
int mysac_decode_string_row | ( | char * | buf, | |
int | len, | |||
MYSAC_RES * | res, | |||
MYSAC_ROWS * | row | |||
) |
This decode mysql row string format packet
buf | is the buffer containing packet the strings stored into col, are allocated into this buffer | |
len | is the length of the packet | |
res | is valid MYSAC_RES | |
row | is valid col struct space for storing pointers and values |