Skip to content
Snippets Groups Projects

Various fixes to problems discovered by 1000_pairs test and more

Merged Andrzej Lisak requested to merge abw_pmaniora_find_comments_1000_pairs_and_more into develop
All threads resolved!
12 files
+ 519
489
Compare changes
  • Side-by-side
  • Inline
Files
12
@@ -144,12 +144,13 @@ END
$function$
;
DROP FUNCTION if exists delete_hive_post(character varying,character varying,character varying, integer)
DROP FUNCTION if exists delete_hive_post(character varying,character varying,character varying, integer, timestamp)
;
CREATE OR REPLACE FUNCTION delete_hive_post(
in _author hive_accounts.name%TYPE,
in _permlink hive_permlink_data.permlink%TYPE,
in _block_num hive_blocks.num%TYPE)
in _block_num hive_blocks.num%TYPE,
in _date hive_posts.active%TYPE)
RETURNS VOID
LANGUAGE plpgsql
AS
@@ -174,6 +175,7 @@ BEGIN
WHERE ha.name = _author AND hpd.permlink = _permlink
)
,block_num = _block_num
,active = _date
WHERE id = __post_id;
DELETE FROM hive_reblogs
Loading