attached comes a reg-test that can be used to verify that the behaviour
that Patrick described actually exists.

I cannot comment on whether txn:get_priv() is working correctly or not,
this is up to you. The test only checks that the value is reset for the
second request.

Best regards
Tim Düsterhus

Tim Duesterhus (1):
  TMP: Add reg-test to check scoping of txn:get_priv()

 reg-tests/lua/h00001.lua | 15 +++++++++++++++
 reg-tests/lua/h00001.vtc | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)
 create mode 100644 reg-tests/lua/h00001.lua
 create mode 100644 reg-tests/lua/h00001.vtc


Reply via email to