diff --git a/main/lib/db/CResult.c b/main/lib/db/CResult.c index 3b1529a79..56d6927de 100644 --- a/main/lib/db/CResult.c +++ b/main/lib/db/CResult.c @@ -265,7 +265,7 @@ CRESULT *DB_MakeResult(CCONNECTION *conn, int mode, char *table_temp, char *quer case RESULT_DELETE: - conn->driver->Exec(&conn->db, query, &res, "Query failed: &1"); + conn->driver->Exec(&conn->db, query, NULL, "Query failed: &1"); return NULL; }