Skip to content

Commit

Permalink
missed a semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
po1vo committed Aug 19, 2013
1 parent fb2b6f8 commit da72b94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/db_sql.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit da72b94

Please sign in to comment.