LP#1847805: Protect cursor name from recursive calls user/miker/lp-1847805-pcrud_cursor_implementation
authorMike Rylander <mrylander@gmail.com>
Fri, 5 Feb 2021 14:03:40 +0000 (09:03 -0500)
committerMike Rylander <mrylander@gmail.com>
Mon, 8 Feb 2021 16:20:40 +0000 (11:20 -0500)
commit9490d34c2db381484987df7fe428c31c7215121b
tree184cf7f7bd69539550ff13f6f463e7f98c6c2aea
parent016009f63448e9f724ce619a0fd3c775acd9d144
LP#1847805: Protect cursor name from recursive calls

In pcrud mode we were not being careful enough about when the cursor
name was created, and permission verification could clear the cursor
created in the caller.  This had the effect of disabling app-level limit
and offset calculation.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/c-apps/oils_sql.c