sqldata/sqldb.cpp
// Get errors on the DB interface
Get errors on the DB interface
Get errors on the DB interface
void SqlDb::GetErrors(SqlDataReply &reply)
{
	reply.rc = (_source_ca.cmd_rc == -1 || _target_ca.cmd_rc == -1) ? -1 : 0;
	reply._s_rc = _source_ca.cmd_rc;
	reply._t_rc = _target_ca.cmd_rc;
	reply.s_error = _source_ca.error;
	reply.t_error = _target_ca.error;
	strcpy(reply.s_native_error_text, _source_ca.native_error_text);
	strcpy(reply.t_native_error_text, _target_ca.native_error_text);
}
void SqlDb :: GetErrors ( SqlDataReply & reply ) { reply . rc = ( _source_ca . cmd_rc == -1 || _target_ca . cmd_rc == -1 ) ? -1 : 0 ; reply . _s_rc = _source_ca . cmd_rc ; reply . _t_rc = _target_ca . cmd_rc ; reply . s_error = _source_ca . error ; reply . t_error = _target_ca . error ; strcpy ( reply . s_native_error_text , _source_ca . native_error_text ) ; strcpy ( reply . t_native_error_text , _target_ca . native_error_text ) ; }
Get errors on the DB interface
Get errors on the DB interface