mirror of
https://github.com/chris2511/xca.git
synced 2026-09-12 19:51:05 +05:00
CLose #120: Mark signed a request doesn't work
PostgreSQL requires in INT type instead of bool, when setting the signed column.
This commit is contained in:
parent
c7a0f14283
commit
80affcfa61
@ -61,7 +61,7 @@ void pki_x509req::markSigned(bool signe)
|
||||
TransThrow();
|
||||
|
||||
SQL_PREPARE(q, "UPDATE requests SET signed=? WHERE item=?");
|
||||
q.bindValue(0, signe);
|
||||
q.bindValue(0, signe ? 1 : 0);
|
||||
q.bindValue(1, sqlItemId);
|
||||
q.exec();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user