[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-devel] CVS: koha/updater updatedatabase,1.2,1.3
From: |
Steve Tonnesen |
Subject: |
[Koha-devel] CVS: koha/updater updatedatabase,1.2,1.3 |
Date: |
Mon Nov 19 15:30:10 2001 |
Update of /cvsroot/koha/koha/updater
In directory usw-pr-cvs1:/tmp/cvs-serv30056
Modified Files:
updatedatabase
Log Message:
Added code to determine mysqld version for possibility of converting
databases to MyISAM format
Index: updatedatabase
===================================================================
RCS file: /cvsroot/koha/koha/updater/updatedatabase,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** updatedatabase 2001/11/19 20:29:46 1.2
--- updatedatabase 2001/11/19 23:28:59 1.3
***************
*** 15,18 ****
--- 15,26 ----
my %types;
+
+ my $mysqlversion=`mysqld --version`;
+ $mysqlversion=~/Ver (\S*) /;
+ $mysqlversion=$1;
+ if ($mysqlversion ge '3.23') {
+ print "Could convert to MyISAM database tables...\n";
+ }
+
my $sth=$dbh->prepare("show tables");
$sth->execute;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-devel] CVS: koha/updater updatedatabase,1.2,1.3,
Steve Tonnesen <=