Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hivemind
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
hivemind
Merge requests
!400
Mock blocks with reblog operations
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Mock blocks with reblog operations
mt-mock-reblogs
into
develop
Overview
3
Commits
2
Pipelines
0
Changes
14
All threads resolved!
Hide all comments
Merged
Mariusz Trela
requested to merge
mt-mock-reblogs
into
develop
4 years ago
Overview
3
Commits
2
Pipelines
0
Changes
3
All threads resolved!
Hide all comments
Expand
0
0
Merge request reports
Compare
version 1
version 7
91de1219
4 years ago
version 6
607d1048
4 years ago
version 5
df916d08
4 years ago
version 4
9e1c8bf4
4 years ago
version 3
1e51211f
4 years ago
version 2
6b6aec50
4 years ago
version 1
f9bf1fa6
4 years ago
develop (base)
and
version 2
latest version
648125d4
2 commits,
4 years ago
version 7
91de1219
2 commits,
4 years ago
version 6
607d1048
2 commits,
4 years ago
version 5
df916d08
1 commit,
4 years ago
version 4
9e1c8bf4
1 commit,
4 years ago
version 3
1e51211f
1 commit,
4 years ago
version 2
6b6aec50
8 commits,
4 years ago
version 1
f9bf1fa6
6 commits,
4 years ago
Show latest version
3 files
+
30
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
hive/db/sql_scripts/hive_post_operations.sql
+
5
−
3
Options
@@ -133,9 +133,11 @@ BEGIN
UPDATE
hive_posts
SET
counter_deleted
=
(
SELECT
max
(
counter_deleted
)
+
1
FROM
hive_posts
WHERE
id
=
__post_id
SELECT
max
(
hps
.
counter_deleted
)
+
1
FROM
hive_posts
hps
INNER
JOIN
hive_accounts
ha
ON
hps
.
author_id
=
ha
.
id
INNER
JOIN
hive_permlink_data
hpd
ON
hps
.
permlink_id
=
hpd
.
id
WHERE
ha
.
name
=
_author
AND
hpd
.
permlink
=
_permlink
)
,
block_num
=
_block_num
WHERE
id
=
__post_id
;
Loading