More work on SQL support...

FossilOrigin-Name: d1c0825caf267daffe8dd04ad59a9b6f56026144fb891ac6879ddeb2988a38a2
This commit is contained in:
7u83@mail.ru
2015-04-30 12:10:59 +00:00
parent cdfc2c3f63
commit 7da8df5190
5 changed files with 56 additions and 6 deletions

View File

@ -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);
}

View File

@ -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;
}