webmcp

annotate framework/env/trace/_new_entry.lua @ 412:7d43be9afa56

Improved memory cleanup in case of out-of-memory errors (PQnotifies and PQunescapeBytea)
author jbe
date Fri Jan 08 03:10:33 2016 +0100 (2016-01-08)
parents 04b648660f9a
children
rev   line source
jbe/bsw@0 1 function trace._new_entry(node)
jbe/bsw@0 2 local node = node or {}
jbe@302 3 local stack = trace._stack
jbe@302 4 local parent = stack[#stack]
jbe@302 5 parent[#parent+1] = node
jbe/bsw@0 6 return node
jbe/bsw@0 7 end

Impressum / About Us