summaryrefslogtreecommitdiff
path: root/testautomation/dbaccess
diff options
context:
space:
mode:
authorJoerg Skottke [jsk] <jsk@openoffice.org>2010-03-08 15:57:28 +0100
committerJoerg Skottke [jsk] <jsk@openoffice.org>2010-03-08 15:57:28 +0100
commit2b564de7959dba0082fa86effb15c5e468396a5e (patch)
treeff2ec6fc30afda85fb6631b9f058b28dc967fcf3 /testautomation/dbaccess
parent649f9edb33b5901b5bd796fcffb0320bc317cae1 (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.inc6
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