fixed count values
git-svn-id: http://yolanda.mister-muffin.de/svn@112 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
parent
5c8958484b
commit
9c1935a43b
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue