From da72b94f68f3290e261504eecdaf88835c381e5f Mon Sep 17 00:00:00 2001 From: Vadim Pisarev Date: Sun, 18 Aug 2013 20:42:07 -0400 Subject: [PATCH] missed a semicolon --- src/db_sql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db_sql.c b/src/db_sql.c index f17c6f4..668c91d 100644 --- a/src/db_sql.c +++ b/src/db_sql.c @@ -84,7 +84,7 @@ int db_writespec_sql(db_config* dbconf){ /* We'll drop table and then recreate it */ /* drop the table */ - sprintf(s, "DROP TABLE %s", ((psql_data*)dbconf->db_out)->table); + sprintf(s, "DROP TABLE %s;", ((psql_data*)dbconf->db_out)->table); res = PQexec(((psql_data*)dbconf->db_out)->conn, s); if ( _db_check_result(((psql_data*)dbconf->db_out)->conn, res, s) == 0 ) ret = RETFAIL;