trafodion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Birdsall <>
Subject RE: binding phase of compile debugging?
Date Fri, 06 May 2016 17:08:58 GMT

The phases of compilation are driven by CmpMain::compile

A good place to start in the binder is RelRoot::bindNode

One pitfall is that we sometimes have a zillion under-the-covers CONTROL
statements being compiled ahead of the statement you're interested in. If
you put a breakpoint at RelRoot::bindNode, and do a "bt 3", you'll see the
SQL text as a parameter to CmpMain::compile. So if it's not the statement
you are interested in, you can simply continue.


-----Original Message-----
From: Eric Owhadi []
Sent: Friday, May 6, 2016 8:29 AM
Subject: binding phase of compile debugging?

Hi Trafodioneers,

Would lik eto debug a “long” binding phase issue on compiler.

Not familiar with that part f the code I would appreciate a hint on what
function starts the binding phase so I can follow the code from there?

Thanks in advance for the help


View raw message