aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-06-25 21:50:32 +0200
committerÖzgür Kesim <oec-taler@kesim.org>2022-06-26 17:09:30 +0200
commit7b62174d0073ee758fb5fcf8e21ff35cfc766c83 (patch)
treec16eabecacbb8c627425e3e811d95a58fe3df44d /src/exchangedb
parent2508d4bb5c7e736114e1dcaad3753e3af02dca00 (diff)
-fix typos
Diffstat (limited to 'src/exchangedb')
-rw-r--r--src/exchangedb/common-0001.sql4
-rw-r--r--src/exchangedb/plugin_exchangedb_postgres.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/exchangedb/common-0001.sql b/src/exchangedb/common-0001.sql
index c493af9bd..5ae67edd1 100644
--- a/src/exchangedb/common-0001.sql
+++ b/src/exchangedb/common-0001.sql
@@ -70,7 +70,7 @@ BEGIN
END
$$;
--- We need a seperate function for this, as we call create_table only once but need to add
+-- We need a separate function for this, as we call create_table only once but need to add
-- those constraints to each partition which gets created
CREATE OR REPLACE FUNCTION add_constraints_to_wire_targets_partition(
IN partition_suffix VARCHAR
@@ -866,7 +866,7 @@ BEGIN
PERFORM create_partitioned_table(
'CREATE TABLE IF NOT EXISTS %I'
'(aggregation_serial_id BIGINT GENERATED BY DEFAULT AS IDENTITY' -- UNIQUE'
- ',deposit_serial_id INT8 PRIMARY KEY' -- REFERENCES deposits (deposit_serial_id) ON DELETE CASCADE' -- FIXME chnage to coint_pub + deposit_serial_id for more efficient depost -- or something else ???
+ ',deposit_serial_id INT8 PRIMARY KEY' -- REFERENCES deposits (deposit_serial_id) ON DELETE CASCADE' -- FIXME change to coin_pub + deposit_serial_id for more efficient depost -- or something else ???
',wtid_raw BYTEA NOT NULL' -- CONSTRAINT wire_out_ref REFERENCES wire_out(wtid_raw) ON DELETE CASCADE DEFERRABLE'
') %s ;'
,table_name
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c
index 74424e63e..d3bbb4d6a 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -14970,7 +14970,7 @@ postgres_delete_shard_locks (void *cls)
/**
* Function called to save the configuration of an extension
- * (age-restriction, peer2peer, ...). After succesfull storage of the
+ * (age-restriction, peer2peer, ...). After successful storage of the
* configuration it triggers the corresponding event.
*
* @param cls the @e cls of this struct with the plugin-specific state
@@ -15225,7 +15225,7 @@ postgres_insert_contract (
/**
- * Function called to reutrn meta data about a purse by the
+ * Function called to return meta data about a purse by the
* purse public key.
*
* @param cls the @e cls of this struct with the plugin-specific state