mirror of
https://github.com/lxsang/ant-http
synced 2024-11-19 09:48: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,...)
|
||||
{
|
||||
char* sql;
|
||||
char* prefix = "SELECT * FROM %s WHERE (%s)";
|
||||
char* prefix = "SELECT * FROM %s WHERE %s";
|
||||
char* cond;
|
||||
va_list arguments;
|
||||
int dlen;
|
||||
|
Loading…
Reference in New Issue
Block a user