Skip to content

Commit 7d9218c

Browse files
committed
No need to repeat query
1 parent 2cfe577 commit 7d9218c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sqllib.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ sql_safe_query_use (SQL * sql, char *q)
223223
{
224224
if (!sqldebug)
225225
fprintf (stderr, "%s\n", q);
226-
errx (202, "SQL query use, no result (%s)",q);
226+
errx (202, "SQL query use, no result");
227227
}
228228
return r;
229229
}
@@ -245,7 +245,7 @@ sql_safe_query_store (SQL * sql, char *q)
245245
{
246246
if (!sqldebug)
247247
fprintf (stderr, "%s\n", q);
248-
errx (202, "SQL query store, no result (%s)",q);
248+
errx (202, "SQL query store, no result");
249249
} else if (sqldebug)
250250
fprintf (stderr, "(%llu row%s)\n", sql_num_rows (r), sql_num_rows (r) == 1 ? "" : "s");
251251
return r;

0 commit comments

Comments
 (0)