mirror of
https://github.com/lxsang/ant-http
synced 2024-11-19 17:58:22 +01:00
fix database
This commit is contained in:
parent
0ad4104e02
commit
c0c6fb4c1a
@ -132,7 +132,7 @@ dbrecord dball(sqlite3* db,const char* table)
|
|||||||
dbrecord dbselect(sqlite3* db, const char* table,const char* fstring,...)
|
dbrecord dbselect(sqlite3* db, const char* table,const char* fstring,...)
|
||||||
{
|
{
|
||||||
char* sql;
|
char* sql;
|
||||||
char* prefix = "SELECT * FROM %s WHERE (%s)";
|
char* prefix = "SELECT * FROM %s WHERE %s";
|
||||||
char* cond;
|
char* cond;
|
||||||
va_list arguments;
|
va_list arguments;
|
||||||
int dlen;
|
int dlen;
|
||||||
|
Loading…
Reference in New Issue
Block a user