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
!112
Add num_block to tables, add proper reblog support
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add num_block to tables, add proper reblog support
dk-num-block-follows-reblogs
into
develop
Overview
2
Commits
2
Pipelines
0
Changes
7
All threads resolved!
Hide all comments
Merged
Dariusz Kędzierski
requested to merge
dk-num-block-follows-reblogs
into
develop
4 years ago
Overview
2
Commits
2
Pipelines
0
Changes
7
All threads resolved!
Hide all comments
Expand
Added num_block to hive_follow and hive_reblog tables,
Added reblog class to process reblog operations,
Sync will now show version info, git revision and db version on start
0
0
Merge request reports
Compare
develop
version 1
cb7050d3
4 years ago
develop (base)
and
latest version
latest version
feac33d3
2 commits,
4 years ago
version 1
cb7050d3
1 commit,
4 years ago
7 files
+
173
−
83
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
7
Search (e.g. *.vue) (Ctrl+P)
hive/db/adapter.py
+
4
−
0
Options
@@ -177,7 +177,11 @@ class Db:
try
:
start
=
perf
()
query
=
self
.
_sql_text
(
sql
)
if
'
log_query
'
in
kwargs
and
kwargs
[
'
log_query
'
]:
log
.
info
(
"
QUERY: {}
"
.
format
(
query
))
result
=
self
.
_exec
(
query
,
**
kwargs
)
if
'
log_result
'
in
kwargs
and
kwargs
[
'
log_result
'
]:
log
.
info
(
"
RESULT: {}
"
.
format
(
result
))
Stats
.
log_db
(
sql
,
perf
()
-
start
)
return
result
except
Exception
as
e
:
Loading