Update of /cvsroot/compbench/compbenchmarks-web/lib
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv2714
Modified Files:
html.pl
Log Message:
Connection is not done if $dbh is defined.
Index: html.pl
===================================================================
RCS file: /cvsroot/compbench/compbenchmarks-web/lib/html.pl,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** html.pl 28 Nov 2006 21:49:16 -0000 1.14
--- html.pl 30 Nov 2006 18:32:10 -0000 1.15
***************
*** 29,33 ****
config_read("../etc/compbenchmarks-web.conf");
! $dbh=sql_connect();
if (!defined($dbh)) {
--- 29,35 ----
config_read("../etc/compbenchmarks-web.conf");
! if (!defined($dbh)) {
! $dbh=sql_connect();
! }
if (!defined($dbh)) {
|