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
bddeccce
Commit
bddeccce
authored
Aug 25, 2016
by
Hugo Beauzée-Luyssen
Browse files
SqliteTools: Fix exception message
parent
b047bcac
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/database/SqliteTools.h
View file @
bddeccce
...
...
@@ -123,7 +123,7 @@ public:
int
res
=
sqlite3_prepare_v2
(
dbConnection
,
req
.
c_str
(),
-
1
,
&
stmt
,
NULL
);
if
(
res
!=
SQLITE_OK
)
{
throw
std
::
runtime_error
(
std
::
string
(
"Failed to
execut
e request: "
)
+
req
+
" "
+
throw
std
::
runtime_error
(
std
::
string
(
"Failed to
compil
e request: "
)
+
req
+
" "
+
sqlite3_errmsg
(
dbConnection
)
);
}
m_stmt
.
reset
(
stmt
);
...
...
Write
Preview
Supports
Markdown
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