SELECT 'p1-0' AS stage, c0, c1, c2, CURSOR_REF_COUNT(c0) AS cnt_c0, CURSOR_REF_COUNT(0) AS cnt_0; OPEN c2 FOR SELECT 1; SELECT 'p1-1' AS stage, c0, c1, c2, CURSOR_REF_COUNT(c0) AS cnt_c0, ...
# let's allow it in MariaDB. It's convenient for debug purposes.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results