trafodion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liu, Ming (Ming)" <ming....@esgyn.cn>
Subject 答复: how to abort for a given SQL Error?
Date Sat, 27 Feb 2016 15:53:26 GMT
Thanks Anoop and Qifan,

I tested, by modifying ms.evn, it works well. 
This is a very convenient debug weapon!

Best Regards,
Ming

-----邮件原件-----
发件人: Anoop Sharma [mailto:anoop.sharma@esgyn.com] 
发送时间: 2016年2月27日 23:44
收件人: dev@trafodion.incubator.apache.org
主题: RE: how to abort for a given SQL Error?


from sqlci:
  set ennvar abort_on_error '<errnum>';

Or set this envvar in shell before running your query.

anoop

-----Original Message-----
From: Liu, Ming (Ming) [mailto:ming.liu@esgyn.cn]
Sent: Saturday, February 27, 2016 7:38 AM
To: dev@trafodion.incubator.apache.org
Subject: how to abort for a given SQL Error?

Hi, all,

I think it is possible to configure Trafodion to abort and core dump for specific SQL Error,
for debug purpose, could anyone share with me how to do that?
For example, for a given SQL error 15001, I want compiler abort immediately so that I can
know in which code path that error is detected .

Thanks,
Ming


Mime
View raw message