SetVersion($DBversion);
}
-$DBversion = "3.19.00.XXX";
-if ( CheckVersion($DBversion) ) {
- $dbh->do(q|SET foreign_key_checks = 0|);;
- my @tables = $dbh->tables();
- for my $table ( @tables ) {
- $dbh->do(qq|ALTER TABLE $table CONVERT TO CHARACTER SET utf8 COLLATE utf8_unicode_ci|);
- }
- $dbh->do(q|SET foreign_key_checks = 1|);;
-
- print "Upgrade to $DBversion done (Bug 11944 - Convert DB tables to utf8_unicode_ci)\n";
- SetVersion ($DBversion);
-}
-
$DBversion = "3.19.00.000";
if ( CheckVersion($DBversion) ) {
print "Upgrade to $DBversion done (there's life after 3.18)\n";
SetVersion($DBversion);
}
+$DBversion = "3.19.00.006";
+if ( CheckVersion($DBversion) ) {
+ $dbh->do(q|SET foreign_key_checks = 0|);;
+ my @tables = $dbh->tables();
+ for my $table ( @tables ) {
+ $dbh->do(qq|ALTER TABLE $table CONVERT TO CHARACTER SET utf8 COLLATE utf8_unicode_ci|);
+ }
+ $dbh->do(q|SET foreign_key_checks = 1|);;
+
+ print "Upgrade to $DBversion done (Bug 11944 - Convert DB tables to utf8_unicode_ci)\n";
+ SetVersion ($DBversion);
+}
+
=head1 FUNCTIONS
=head2 TableExists($table)
use strict;
sub kohaversion {
- our $VERSION = '3.19.00.005';
+ our $VERSION = '3.19.00.006';
# version needs to be set this way
# so that it can be picked up by Makefile.PL
# during install