ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/DecentralizedMedia/MediaFile.cpp
(Generate patch)

Comparing DecentralizedMedia/MediaFile.cpp (file contents):
Revision 500 by douglas, 2005-06-17T23:23:46-07:00 vs.
Revision 514 by douglas, 2005-06-20T00:19:47-07:00

# Line 29 | Line 29 | MediaFile::MediaFile(_H<dbi::Connection>
29  
30          if (path_->MoveNext())
31          {
32 +                connection->Parse(_B("UPDATE files SET live = TRUE WHERE path = ?"))->Execute(path.GetPath());
33 +
34                  if (!artist.IsEmpty())
35                          connection->Parse(_B("UPDATE files SET artist = ? WHERE path = ?"))->Execute(artist, path.GetPath());
36  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines