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
d7787aaf
Commit
d7787aaf
authored
Oct 05, 2015
by
Hugo Beauzée-Luyssen
Browse files
Album: Fix non-sensical reference
parent
92c06dc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Album.cpp
View file @
d7787aaf
...
...
@@ -127,7 +127,7 @@ bool Album::createTable(DBConnection dbConnection )
AlbumPtr
Album
::
create
(
DBConnection
dbConnection
,
const
std
::
string
&
title
)
{
auto
album
=
std
::
make_shared
<
Album
>
(
title
);
static
const
std
::
string
&
req
=
"INSERT INTO "
+
policy
::
AlbumTable
::
Name
+
static
const
std
::
string
req
=
"INSERT INTO "
+
policy
::
AlbumTable
::
Name
+
"(id_album, title) VALUES(NULL, ?)"
;
if
(
_Cache
::
insert
(
dbConnection
,
album
,
req
,
title
)
==
false
)
return
nullptr
;
...
...
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