[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GT] SVN Commit r648 - trunk/GT/DB
Author: joao
Date: 2008-07-22 13:01:43 +0200 (Tue, 22 Jul 2008)
New Revision: 648
Modified:
trunk/GT/DB/genericdbi.pm
Log:
Fix wrong error message
Modified: trunk/GT/DB/genericdbi.pm
===================================================================
--- trunk/GT/DB/genericdbi.pm 2008-07-13 18:07:32 UTC (rev 647)
+++ trunk/GT/DB/genericdbi.pm 2008-07-22 11:01:43 UTC (rev 648)
@@ -167,7 +167,7 @@
sub get_db_name {
my ($self, $code) = @_;
- my $sql = GT::Conf::get("DB::genericdbi::name_sql") || die("Invalid configuration. You must specify a valid data_available sql statment for your database in the options file");
+ my $sql = GT::Conf::get("DB::genericdbi::name_sql") || die("Invalid configuration. You must specify a valid name_sql sql statment for your database in the options file");
$sql =~ s/\$code/$code/;
my $sth = $self->{'_dbh'}->prepare($sql) || die $self->{'_dbh'}->errstr;