sqldata/sqldata.cpp
// Initialize local (in-process) database interface
Initialize local (in-process) database interface
Initialize local ( in - process ) database interface
int SqlData::InitLocal(SqlDataReply & , int db_types, int *s_rc, int *t_rc)
{
	TRACE("SqlData InitLocal() Entered");
	_db.SetParameters(_parameters);
	_db.SetAppLog(_log);
	_db.SetSessionId(1);
	_db.SetColumnMapping(&_column_map);
    _db.SetDataTypeMapping(&_datatype_map);
	_db.SetTableSelectExpressions(&_tsel_exp_map);
	_db.SetTableSelectExpressionsAll(&_tsel_exp_all);
	_db.SetTableWhereConditions(&_twhere_cond_map);
	int rc = _db.InitStatic(db_types, _source_conn.c_str(), _target_conn.c_str(), s_rc, t_rc);
	rc = _db.Init(db_types, _source_conn.c_str(), _target_conn.c_str(), s_rc, t_rc);
	TRACE("SqlData InitLocal() Left");
	return rc;
}
int SqlData :: InitLocal ( SqlDataReply & , int db_types , int * s_rc , int * t_rc ) { TRACE ( " " ) ; _db . SetParameters ( _parameters ) ; _db . SetAppLog ( _log ) ; _db . SetSessionId ( 1 ) ; _db . SetColumnMapping ( & _column_map ) ; _db . SetDataTypeMapping ( & _datatype_map ) ; _db . SetTableSelectExpressions ( & _tsel_exp_map ) ; _db . SetTableSelectExpressionsAll ( & _tsel_exp_all ) ; _db . SetTableWhereConditions ( & _twhere_cond_map ) ; int rc = _db . InitStatic ( db_types , _source_conn . c_str ( ) , _target_conn . c_str ( ) , s_rc , t_rc ) ; rc = _db . Init ( db_types , _source_conn . c_str ( ) , _target_conn . c_str ( ) , s_rc , t_rc ) ; TRACE ( " " ) ; return rc ; }
Initialize local (in-process) database interface
Initialize local ( in - process ) database interface
/*reply*/ // Perform static initialization of the API libraries // Initialize source and target database interfaces (continue connecting even if static init failed for one of the database, helps test connections)