Show
Ignore:
Timestamp:
12/06/09 21:08:29 (4 years ago)
Author:
vinicius
Message:

Updating database schema. New table address holds ip/port tuples. Session was updated

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • database/SourceHasFileDAO.py

    r96 r102  
    1515        rs = self.sourceHasFile(sourceId, fileId) 
    1616        if not rs: 
    17             query = "INSERT INTO %s(source_id, file_id, firstSeen) VALUES(%d, %d, '%s')" % (self.jointable, sourceId, fileId, firstSeen) 
     17            query = "INSERT INTO %s(source_id, file_id, first_seen) VALUES(%d, %d, '%s')" % (self.jointable, sourceId, fileId, firstSeen) 
    1818            logging.debug(query) 
    1919            self.cursor.execute(query)