From fb2b6f83693ac8578b567df9693c8cc68a2d983a Mon Sep 17 00:00:00 2001 From: Vadim Pisarev Date: Sun, 18 Aug 2013 20:30:58 -0400 Subject: [PATCH] removed excessive quotes --- 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 d708421..f17c6f4 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;