fix database

This commit is contained in:
Xuan Sang LE 2018-02-16 18:38:50 +01:00
parent 0ad4104e02
commit c0c6fb4c1a

View File

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