Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libdap-chain-global-db
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
cellframe
libdap-chain-global-db
Commits
4d3ba184
Commit
4d3ba184
authored
5 years ago
by
dmitriy.gerasimov
Browse files
Options
Downloads
Patches
Plain Diff
[-] debug printfs
parent
5b25bbf2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dap_chain_global_db_hist.c
+1
-1
1 addition, 1 deletion
dap_chain_global_db_hist.c
with
1 addition
and
1 deletion
dap_chain_global_db_hist.c
+
1
−
1
View file @
4d3ba184
...
@@ -149,7 +149,7 @@ bool dap_db_history_add(char a_type, pdap_store_obj_t a_store_obj, size_t a_dap_
...
@@ -149,7 +149,7 @@ bool dap_db_history_add(char a_type, pdap_store_obj_t a_store_obj, size_t a_dap_
l_store_data
.
group
=
GROUP_LOCAL_HISTORY
;
l_store_data
.
group
=
GROUP_LOCAL_HISTORY
;
l_store_data
.
timestamp
=
time
(
NULL
);
l_store_data
.
timestamp
=
time
(
NULL
);
int
l_res
=
dap_db_add
(
&
l_store_data
,
1
);
int
l_res
=
dap_db_add
(
&
l_store_data
,
1
);
printf
(
"!!!
\n
!!!HISTORY store save l_res=%d ts=%lld text=%s
\n
!!!
\n
"
,
l_res
,
l_store_data
.
timestamp
,
l_str
);
//
printf("!!!\n!!!HISTORY store save l_res=%d ts=%lld text=%s\n!!!\n",l_res,l_store_data.timestamp,l_str);
if
(
l_rec
.
keys_count
>
1
)
if
(
l_rec
.
keys_count
>
1
)
DAP_DELETE
(
l_rec
.
keys
);
DAP_DELETE
(
l_rec
.
keys
);
DAP_DELETE
(
l_str
);
DAP_DELETE
(
l_str
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment