79828141

Date: 2025-11-23 22:20:52
Score: 3
Natty:
Report link

Alright, I have performed a simple test to check if the UDF is able to detect a possible cycle of about 100000 elements, and it does! The test does these steps:

I suppose WITH's recursion depth is not limited, unlike TRIGGERs', which is limited by the SQLITE_MAX_TRIGGER_DEPTH definition? In any case, this was merely a test to ensure WITH would not cause any problems for being used in a UDF inside a TRIGGER, and my actual use case should not need that many rows.

Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Juan