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
1c834965
Commit
1c834965
authored
May 25, 2014
by
Hugo Beauzée-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build when using pre 3.7.15 version of sqlite
parent
584e4153
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
src/SqliteTools.h
src/SqliteTools.h
+7
-2
No files found.
src/SqliteTools.h
View file @
1c834965
...
...
@@ -110,8 +110,13 @@ class SqliteTools
}
while
(
res
==
SQLITE_ROW
);
if
(
res
!=
SQLITE_DONE
)
{
std
::
cerr
<<
"Invalid result: "
<<
sqlite3_errstr
(
res
)
<<
": "
<<
sqlite3_errmsg
(
dbConnection
)
<<
std
::
endl
;
std
::
cerr
<<
"Invalid result: "
<<
#if SQLITE_VERSION_NUMBER >= 3007015
sqlite3_errstr
(
res
)
#else
res
#endif
<<
": "
<<
sqlite3_errmsg
(
dbConnection
)
<<
std
::
endl
;
return
false
;
}
return
true
;
...
...
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