summaryrefslogtreecommitdiff
path: root/fml/lib/IO/Adapter/DBI.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2002-02-01 12:03:55 +0000
committerfukachan <fukachan>2002-02-01 12:03:55 +0000
commita176a2ad4ac5fd35a3a056dd3828c0dbb1da0e6d (patch)
treec06f02bd93f73f40c2cafff8c461d73731b15b6d /fml/lib/IO/Adapter/DBI.pm
parenteec3fb6d6aa9ffe509abbab89f304f450295d860 (diff)
downloadfml8-subdir-base.tar.gz
fml8-subdir-base.tar.bz2
fml8-subdir-base.zip
remove $ENV{debug} based toggle flagsubdir-base
Diffstat (limited to 'fml/lib/IO/Adapter/DBI.pm')
-rw-r--r--fml/lib/IO/Adapter/DBI.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/fml/lib/IO/Adapter/DBI.pm b/fml/lib/IO/Adapter/DBI.pm
index 9b789c34..94b1e154 100644
--- a/fml/lib/IO/Adapter/DBI.pm
+++ b/fml/lib/IO/Adapter/DBI.pm
@@ -3,7 +3,7 @@
# Copyright (C) 2000,2001,2002 Ken'ichi Fukamachi
# All rights reserved.
#
-# $FML: DBI.pm,v 1.12 2002/01/27 09:25:24 fukachan Exp $
+# $FML: DBI.pm,v 1.13 2002/01/27 13:11:58 fukachan Exp $
#
package IO::Adapter::DBI;
@@ -13,6 +13,8 @@ use vars qw(@ISA @EXPORT @EXPORT_OK $AUTOLOAD);
use Carp;
use IO::Adapter::ErrorStatus qw(error_set error error_clear);
+my $debug = 0;
+
=head1 NAME
IO::Adapter::DBI - DBI
@@ -73,7 +75,7 @@ sub execute
my $dbh = $self->{ _dbh };
my $query = $args->{ query };
- print STDERR "execute query={$query}\n" if $ENV{'debug'};
+ print STDERR "execute query={$query}\n" if $debug;
undef $self->{ _res };