[Debconf-video-commits] r140 - package/trunk/src
benh at alioth.debian.org
benh at alioth.debian.org
Mon Aug 4 00:12:41 UTC 2008
Author: benh
Date: 2008-08-04 00:12:40 +0000 (Mon, 04 Aug 2008)
New Revision: 140
Modified:
package/trunk/src/dc-do-transcoding
Log:
Added setting of generated_time in video_target_file.
Modified: package/trunk/src/dc-do-transcoding
===================================================================
--- package/trunk/src/dc-do-transcoding 2008-08-04 00:10:20 UTC (rev 139)
+++ package/trunk/src/dc-do-transcoding 2008-08-04 00:12:40 UTC (rev 140)
@@ -61,10 +61,11 @@
cur = get_cursor()
cur.execute("""
INSERT INTO video_target_file(event_recording_id, target_format_id,
- file_status_id)
+ file_status_id, generated_time)
VALUES(%(event_recording_id)s, %(target_format_id)s,
(SELECT id FROM video_file_status
- WHERE file_status_code=%(file_status_code)s))
+ WHERE file_status_code=%(file_status_code)s),
+ CURRENT_TIMESTAMP AT TIME ZONE 'GMT')
""",
{'event_recording_id': job.video_event_recording_id,
'target_format_id': job.video_target_format_id,
More information about the Debconf-video-commits
mailing list