From 977998399e7df3474e7457f53fd0be96c1914b54 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Sat, 14 Mar 2009 17:20:51 +0000 Subject: [PATCH] Fix typo --- mysql/mysql-lib.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql/mysql-lib.pl b/mysql/mysql-lib.pl index 4b0066a1d..4fd348309 100644 --- a/mysql/mysql-lib.pl +++ b/mysql/mysql-lib.pl @@ -159,7 +159,7 @@ if (!@rv || $@) { open(DBS, "\"$config{'mysqlshow'}\" $authstr |"); local $t = &parse_mysql_table(DBS); close(DBS); - ref($t) && &error("Failed to list databases : $t"); + ref($t) || &error("Failed to list databases : $t"); @rv = map { $_->[0] } @{$t->{'data'}}; } return @rv;