From 9c1935a43bae98fccf4df7db48d72700340158b8 Mon Sep 17 00:00:00 2001 From: josch Date: Sun, 21 Oct 2007 19:19:46 +0000 Subject: [PATCH] fixed count values git-svn-id: http://yolanda.mister-muffin.de/svn@112 7eef14d0-6ed0-489d-bf55-20463b2d70db --- trunk/gnutube_daemon.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/gnutube_daemon.pl b/trunk/gnutube_daemon.pl index d26e4fc..23ec01e 100755 --- a/trunk/gnutube_daemon.pl +++ b/trunk/gnutube_daemon.pl @@ -157,7 +157,7 @@ while(1) #add video to videos table $sth = $dbh->prepare(qq{insert into videos select id, title, description, userid, timestamp, creator, subject, contributor, source, language, coverage, rights, license, notice, - derivativeworks, sharealike, commercialuse, ?, ?, ?, ?, ?, ? + derivativeworks, sharealike, commercialuse, ?, ?, ?, ?, ?, ?, 0, 0 from uploaded where id = ?}) or interrupt $dbh->errstr; $sth->execute($filesize, $duration, $width, $height, $fps, $sha, $id) or interrupt $dbh->errstr; $sth->finish() or interrupt $dbh->errstr; @@ -175,7 +175,7 @@ while(1) #add video to videos table $sth = $dbh->prepare(qq{insert into videos select id, title, description, userid, timestamp, creator, subject, contributor, source, language, coverage, rights, license, notice, - derivativeworks, sharealike, commercialuse, ?, ?, ?, ?, ?, ? + derivativeworks, sharealike, commercialuse, ?, ?, ?, ?, ?, ?, 0, 0 from uploaded where id = ?}) or interrupt $dbh->errstr; $sth->execute($filesize, $duration, $width, $height, $fps, $sha, $id) or interrupt $dbh->errstr; $sth->finish() or interrupt $dbh->errstr;