sqldata/sqldata.cpp
// Connect to source and target databases through in-process interface
Connect to source and target databases through in-process interface
Connect to source and target databases through in - process interface
int SqlData::ConnectLocal(SqlDataReply &reply, int db_types, int *s_rc, int *t_rc)
{
	int rc = _db.Connect(db_types, reply, s_rc, t_rc);
	if(rc != -1)
	{
		source_subtype = _db.GetSubType(SQLDB_SOURCE_ONLY);
		target_subtype = _db.GetSubType(SQLDB_TARGET_ONLY);
		SetSchemaMapping();
	}
	return rc;
}
int SqlData :: ConnectLocal ( SqlDataReply & reply , int db_types , int * s_rc , int * t_rc ) { int rc = _db . Connect ( db_types , reply , s_rc , t_rc ) ; if ( rc != -1 ) { source_subtype = _db . GetSubType ( SQLDB_SOURCE_ONLY ) ; target_subtype = _db . GetSubType ( SQLDB_TARGET_ONLY ) ; SetSchemaMapping ( ) ; } return rc ; }
Connect to source and target databases through in-process interface
Connect to source and target databases through in - process interface
// Connect to databases // Define database subtypes after connection