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
77523063
Commit
77523063
authored
Oct 15, 2015
by
Hugo Beauzée-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AlbumTrack: Ensure id_track won't be NULL
parent
5d43a16f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/AlbumTrack.cpp
src/AlbumTrack.cpp
+1
-1
No files found.
src/AlbumTrack.cpp
View file @
77523063
...
...
@@ -67,7 +67,7 @@ bool AlbumTrack::createTable( DBConnection dbConnection )
"FOREIGN KEY (album_id) REFERENCES Album(id_album) ON DELETE CASCADE"
")"
;
static
const
std
::
string
reqRel
=
"CREATE TABLE IF NOT EXISTS TrackArtistRelation("
"id_track INTEGER,"
"id_track INTEGER
NOT NULL
,"
"id_artist INTEGER,"
"PRIMARY KEY (id_track, id_artist),"
"FOREIGN KEY(id_track) REFERENCES "
+
policy
::
AlbumTrackTable
::
Name
+
"("
...
...
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