Changeset 12 in mp3-find for trunk/lib/MP3/Find/DB.pm
- Timestamp:
- 02/14/06 20:19:23 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/MP3/Find/DB.pm
r10 r12 123 123 warn "Multiple records for $$mp3{FILENAME}\n" if @$records > 1; 124 124 125 #TODO: maybe print status updates somewhere else? 125 126 if (@$records == 0) { 126 127 $insert_sth->execute(map { $mp3->{$$_[0]} } @COLUMNS); … … 138 139 # (see http://rt.cpan.org/Ticket/Display.html?id=9643#txn-120724) 139 140 foreach ($mtime_sth, $insert_sth, $update_sth) { 141 $_->{RaiseError} = 0; # don't die on error 140 142 $_->{Active} = 1; 141 143 $_->finish;
Note: See TracChangeset
for help on using the changeset viewer.