Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Harbor 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
Show more breadcrumbs
dCache
cta
Commits
ff34640d
Commit
ff34640d
authored
7 years ago
by
Steven Murray
Browse files
Options
Downloads
Patches
Plain Diff
Added auto rollback of databse transaction to OracleCatalogue::deleteArchiveFile()
parent
90e7fd88
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
catalogue/OracleCatalogue.cpp
+1
-0
1 addition, 0 deletions
catalogue/OracleCatalogue.cpp
with
1 addition
and
0 deletions
catalogue/OracleCatalogue.cpp
+
1
−
0
View file @
ff34640d
...
...
@@ -172,6 +172,7 @@ void OracleCatalogue::deleteArchiveFile(const std::string &diskInstanceName, con
"FOR UPDATE"
;
utils
::
Timer
t
;
auto
conn
=
m_connPool
.
getConn
();
rdbms
::
AutoRollback
autoRollback
(
conn
);
const
auto
getConnTime
=
t
.
secs
(
utils
::
Timer
::
resetCounter
);
auto
selectStmt
=
conn
.
createStmt
(
selectSql
,
rdbms
::
AutocommitMode
::
OFF
);
const
auto
createStmtTime
=
t
.
secs
();
...
...
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