More work on SQL support...
FossilOrigin-Name: d1c0825caf267daffe8dd04ad59a9b6f56026144fb891ac6879ddeb2988a38a2
This commit is contained in:
@ -14,7 +14,7 @@ static int mbag_bstr16str(void *item,char *dst)
|
||||
|
||||
|
||||
if (utf8) {
|
||||
d += sprintf(d, "\"%.*s\"", bstr16_len(i->data), bstr16_data(i->data));
|
||||
d += sprintf(d, "%.*s", bstr16_len(i->data), bstr16_data(i->data));
|
||||
} else {
|
||||
d += sprintf(d, "\".x");
|
||||
d += cw_format_hex(d, bstr16_data(i->data), bstr16_len(i->data));
|
||||
@ -27,7 +27,7 @@ static int mbag_bstr16str(void *item,char *dst)
|
||||
static int mbag_strstr(void *item,char *dst)
|
||||
{
|
||||
mbag_item_t *i= item;
|
||||
return sprintf(dst, "\"%s\"", i->data);
|
||||
return sprintf(dst, "%s", i->data);
|
||||
}
|
||||
|
||||
|
||||
|
@ -115,3 +115,15 @@ int cw_send_request(struct conn *conn,int msg_id)
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
||||
// XXX find a better name for this function
|
||||
int cw_send_request_2()
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user