Skip to content

Commit 85dc667

Browse files
committed
remove comments and delete unsusable file
1 parent 6cfe383 commit 85dc667

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

src/sql/init_version_9.sql

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
--
2-
-- We'll also need a `sleeptill` field and a `ttl` field. Also we
3-
-- can combine the pubkeyretrynumber and msgretrynumber into one.
4-
--
5-
61
CREATE TEMPORARY TABLE `sent_backup` (
72
`msgid` blob,
83
`toaddress` text,
@@ -44,20 +39,12 @@ INSERT INTO sent SELECT msgid, toaddress, toripe, fromaddress, subject, message,
4439

4540
DROP TABLE sent_backup;
4641

47-
--
48-
-- Update Table `pubkeys`
49-
-- We're going to have to calculate the address for each row in the pubkeys
50-
-- table. Then we can take out the hash field.
51-
--
52-
5342
ALTER TABLE pubkeys ADD address text DEFAULT '' ;
5443

5544
--
56-
-- Update Table `pubkeys`
5745
-- replica for loop to update hashed address
5846
--
5947

60-
--UPDATE pubkeys SET address= (select enaddr(?, ?, ?)", (addressVersion, 1, addressHash)) WHERE hash=?
6148
UPDATE pubkeys SET address=(enaddr(pubkeys.addressversion, 1, hash));
6249

6350
CREATE TEMPORARY TABLE `pubkeys_backup` (

src/tests/sql/create_function.sql

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)