Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
medialibrary
Commits
f977f507
Commit
f977f507
authored
Jul 16, 2018
by
Hugo Beauzée-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Task: Minor simplification
parent
57ed3b93
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
src/parser/Task.cpp
src/parser/Task.cpp
+1
-3
No files found.
src/parser/Task.cpp
View file @
f977f507
...
...
@@ -90,9 +90,7 @@ bool Task::saveParserStep()
{
static
const
std
::
string
req
=
"UPDATE "
+
policy
::
TaskTable
::
Name
+
" SET step = ?, "
"retry_count = 0 WHERE id_task = ?"
;
if
(
sqlite
::
Tools
::
executeUpdate
(
m_ml
->
getConn
(),
req
,
m_step
,
m_id
)
==
false
)
return
false
;
return
true
;
return
sqlite
::
Tools
::
executeUpdate
(
m_ml
->
getConn
(),
req
,
m_step
,
m_id
);
}
bool
Task
::
resetRetryCountOnSuccess
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment