Closed GoogleCodeExporter closed 9 years ago
True, EXIF fields are added at needs. Only the fields contained in the pictures
are added to the table.
If none of the picture scanned contains the Rating field, then any request
asking for this field will crash.
Anyway, the request is handled in a try...except statement, which prevent the
whole addon to crash.
To avoid this exception in log, I may simply create the "Image Rating" field a
files table creation. Is that a better solution ?
Original comment by alexso...@gmail.com
on 19 Jan 2011 at 10:05
Changed the sqlite request of creation for the 'files' table. Added the column
definition "Image Rating"
Original comment by alexso...@gmail.com
on 19 Jan 2011 at 10:17
I thing it is indeed better to make an extra column.
Normaly an exception handler (like try...exception) causes more overhead and
decreases performance
Original comment by mdeb...@gmail.com
on 19 Jan 2011 at 10:46
ok. Will be added on next commit
Original comment by alexso...@gmail.com
on 19 Jan 2011 at 10:53
Original issue reported on code.google.com by
mdeb...@gmail.com
on 19 Jan 2011 at 9:47