diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2015-11-16 14:28:57 +0100 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2015-11-16 14:28:57 +0100 |
commit | 89610bad6a8ddff83b0d09f5cbc8b596ece7ad5a (patch) | |
tree | df1ec405011583ee1be2e3a255a36716f1d871ff /src/backend-lib/merchant_db.c | |
parent | ae7a9ee23f51ed2d24d983022a62a64cd8f865a2 (diff) | |
download | merchant-89610bad6a8ddff83b0d09f5cbc8b596ece7ad5a.tar.gz merchant-89610bad6a8ddff83b0d09f5cbc8b596ece7ad5a.tar.bz2 merchant-89610bad6a8ddff83b0d09f5cbc8b596ece7ad5a.zip |
up to returning from /deposit
Diffstat (limited to 'src/backend-lib/merchant_db.c')
-rw-r--r-- | src/backend-lib/merchant_db.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend-lib/merchant_db.c b/src/backend-lib/merchant_db.c index af8878b6..f30e3d88 100644 --- a/src/backend-lib/merchant_db.c +++ b/src/backend-lib/merchant_db.c @@ -106,10 +106,10 @@ MERCHANT_DB_initialize (PGconn *conn, int tmp) "amount_fraction INT4 NOT NULL," "coin_sig BYTEA NOT NULL);" "CREATE %1$s TABLE IF NOT EXISTS deposits (" - "dep_perm TEXT NOT NULL," + "dep_perm VARCHAR NOT NULL," "transaction_id INT8," "pending INT4 NOT NULL," - "mint_url TEXT NOT NULL);", + "mint_url VARCHAR NOT NULL);", tmp_str); ret = GNUNET_POSTGRES_exec (conn, sql); (void) GNUNET_POSTGRES_exec (conn, @@ -263,8 +263,8 @@ MERCHANT_DB_update_deposit_permission (PGconn *conn, ExecStatusType status; struct TALER_PQ_QueryParam params[] = { - TALER_PQ_query_param_uint64 (&transaction_id), TALER_PQ_query_param_uint32 (&pending), + TALER_PQ_query_param_uint64 (&transaction_id), TALER_PQ_query_param_end }; |