SP ODBC RetryOnError

Cantor, Scott cantor.2 at osu.edu
Thu Dec 8 21:11:16 UTC 2022


I hope I didn't actually write all that, despite having committed it, it's hideous, but what it's doing is simultaneously doing two separate checks. One is a loop that checks whether the error code is in the retry list or not and the other is whether the error code matches a fixed input parameter, and the two separate results are returned as a pair.

> if there are multiple  errors returned from a given call,

There aren't. The loop is against the retry list, there's only one error code coming back.

As always, "don't use it" is the right answer. The cookie feature makes this entirely stupid to use.

-- Scott




More information about the users mailing list