Kognitio Console issues, advice, etc.
Posts: 185
Joined: Wed May 29, 2013 2:10 pm
Location: Bracknell

How do I turn off history reporting in console kog scripts?

by MikeAtkinson » Thu Nov 17, 2016 3:57 pm

You can do use history_mode=<opt>
Where opt = “none”, “all”, “sql” or “script”

Code: Select all

select 1;
for i = 1,10000000 do
   j = i;
select 2;
Although this turns off history, it does not turn off the callback from Lua into Console so each line of the Lua is still stepped through.

The next release of Kognitio Console will also turn off the callback from Lua into Console when history_mode is set to "none" or "script". SQL lines will always perform a callback, whatever the setting of history_mode, this will allow breakpoints and stepping through those lines.
Reply with quote Top

Who is online

Users browsing this forum: No registered users and 1 guest