fwConfigurationDB  8.4.2
fwConfigurationDB.ctl File Reference

Functions

synchronized void fwConfigurationDB_checkInit (dyn_string &exceptionInfo)
 
synchronized void fwConfigurationDB_initialize (string setupName, dyn_string &exceptionInfo)
 

Variables

const float fwConfigurationDB_version = 5.0
 
const float fwConfigurationDB_minimalDBSchemaVersion =3.06
 
global string fwConfigurationDB_currentSetupName =""
 
global bool fwConfigurationDB_initialized =FALSE
 
global bool fwConfigurationDB_allowResolveRemote = false
 
global bool fwConfigurationDB_DBConfigured =FALSE
 
global string GfwConfigurationDB_currentRecipeType =""
 
global bool g_fwConfigurationDB_DBConnectionOpen =FALSE
 
global bool fwConfigurationDB_hasDBConnectivity =FALSE
 
global dbConnection g_fwConfigurationDB_DBConnection
 
global string fwConfigurationDB_SchemaPrivs
 
global int g_fwConfigurationDB_DebugSQL =0
 
global int g_fwConfigurationDB_Debug =0
 
global mapping g_fwConfigurationDB_stats
 
Error Codes in general package

See also Error Codes overview module

const int fwConfigurationDB_ERROR_GENERAL =-1
 
const int fwConfigurationDB_ERROR_DPTNotExist =-2
 
const int fwConfigurationDB_ERROR_OperationAborted =-3
 
const int fwConfigurationDB_ERROR_SeparatorCharInStringList =-4
 

Detailed Description

This package contains general functions of the Configuration Database tool

(c) Copyright CERN, All Rights Reserved

Variable Documentation

global bool fwConfigurationDB_allowResolveRemote = false

Determines if it should be tried to resolve aliases on remote systems.

Note that by default it is set to false, yet it is reinitialized in checkInit(), and if unRecipe component is installed, then it is reset to true;

global string fwConfigurationDB_SchemaPrivs
What privileges on the schema do one has:
@li "OWNER" - schema owner
@li "WRITER" - writer rights
@li "READER" - reader rights
@li "" (empt) - no ConfDB rights on the current schema

Note! The privileges need to be granted through the DB ROLE that is created together with the schema!

global int g_fwConfigurationDB_DebugSQL =0
Debug level for SQL statements (bitmask)

The actual debug level is the sum of the following: 1 - print SQL selects 2 - print SQL statements 4 - print num of results in SQL select (summary info) 8 - print the complete results of SQL select

global int g_fwConfigurationDB_Debug =0
Debug level (bitmask)

The actual debug level is the sum of the following: 1 - print function name on entry 2 - print timing information on exit 4 - print info on entry to functional parts of routines 8 - massive debug info

global mapping g_fwConfigurationDB_stats

Statistics-gathering variable