[teiid-issues] [JBoss JIRA] Resolved: (TEIID-1632) Provide something like an ECHO statement in the procedure language that can assist a user in debugging their procedure logic
Steven Hawkins (JIRA)
jira-events at lists.jboss.org
Mon Jun 13 13:40:23 EDT 2011
[ https://issues.jboss.org/browse/TEIID-1632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Hawkins resolved TEIID-1632.
-----------------------------------
Fix Version/s: 7.4.1
Resolution: Done
After more analysis, system procedures worked better - there's no need to change the parser and the implicit cursor is not affected when a procedure does not have a resultset.
So the procedures SYSADMIN.isLoggable and SYSADMIN.logMsg were added and are covered in the reference. They each have defaults for level and context parameters, so the simplest statement will be:
CALL logMsg(msg=>'I''m debugging');
The use of isLoggable looks like:
IF ((CALL isLoggable('TRACE', 'org.something')))
BEGIN
...
> Provide something like an ECHO statement in the procedure language that can assist a user in debugging their procedure logic
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: TEIID-1632
> URL: https://issues.jboss.org/browse/TEIID-1632
> Project: Teiid
> Issue Type: Feature Request
> Components: Server
> Affects Versions: 7.4
> Reporter: Van Halbert
> Assignee: Steven Hawkins
> Fix For: 7.4.1
>
>
> Provide something like an ECHO statement in the procedure language that can assist a user in debugging their procedure logic
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the teiid-issues
mailing list