diff options
author | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-03-08 15:57:28 +0100 |
---|---|---|
committer | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-03-08 15:57:28 +0100 |
commit | 2b564de7959dba0082fa86effb15c5e468396a5e (patch) | |
tree | ff2ec6fc30afda85fb6631b9f058b28dc967fcf3 /testautomation/dbaccess | |
parent | 649f9edb33b5901b5bd796fcffb0320bc317cae1 (diff) |
vitomation01: #i109562 - Some time ago it was decided that a global variable be introduced which switches on and off between verbose mode for functions. THis is needed for profiling. The variable is called GVERBOSE and is set to FALSE in master.inc::getUseFiles()
Diffstat (limited to 'testautomation/dbaccess')
-rw-r--r-- | testautomation/dbaccess/tools/dbcreatetools.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testautomation/dbaccess/tools/dbcreatetools.inc b/testautomation/dbaccess/tools/dbcreatetools.inc index ff45ad2ead8b..63ca4208705b 100644 --- a/testautomation/dbaccess/tools/dbcreatetools.inc +++ b/testautomation/dbaccess/tools/dbcreatetools.inc @@ -1453,8 +1453,8 @@ function fSetJDBCDriverFiles(sClassPath) as boolean call hCloseDocument end function + '------------------------------------------------------------------------- -private const VERBOSE = false function hGetInstalledDatabaseDrivers( dbDriverList() as string ) as integer @@ -1502,7 +1502,7 @@ function hGetInstalledDatabaseDrivers( dbDriverList() as string ) as integer endif - if ( VERBOSE ) then + if ( GVERBOSE ) then printlog( CFN & "Returning " & iDriverCount & " drivers" ) endif hGetInstalledDatabaseDrivers() = iDriverCount @@ -1579,7 +1579,7 @@ function hGetDatabaseDisplayName( dbDriverURL as string ) as string endif - if ( VERBOSE ) then + if ( GVERBOSE ) then printlog( CFN & "Database display string: " & sDatabaseName ) endif hGetDataBaseDisplayName() = sDatabaseName |