Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
medialibrary
Commits
832c0ea0
Commit
832c0ea0
authored
May 20, 2014
by
Hugo Beauzée-Luyssen
Browse files
SqliteTools: Fix infinite loop in error cases
parent
61970dd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/SqliteTools.h
View file @
832c0ea0
...
...
@@ -101,7 +101,7 @@ class SqliteTools
do
{
res
=
sqlite3_step
(
stmt
.
get
()
);
}
while
(
res
!=
SQLITE_DONE
&&
res
!
=
SQLITE_
ER
RO
R
);
}
while
(
res
=
=
SQLITE_RO
W
);
return
res
==
SQLITE_DONE
;
}
...
...
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