7 Nov
2024
7 Nov
'24
3:07 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37895 --- Comment #25 from Jonathan Druart <jonathan.druart@gmail.com> --- Also some (all?) say_failure statements will never been reached as DBI has RaiseError turned on, so installer/data/mysql/db_revs/240600029.pl 34 if ( $dbh->do("$creation_date_statement AFTER `end_date`") ) { 35 say_success( $out, q{Added column 'bookings.creation_date'} ); 36 } else { 37 say_failure( $out, q{Failed to add column 'bookings.creation_date': } . $dbh->errstr ); 38 } This is useless code if not better written (with try-catch + rethrow). -- You are receiving this mail because: You are watching all bug changes.