Closed mutability closed 8 years ago
I've got a fix for this in the stapi-fixes branch.
What was the root cause of gen_refresh_ctable_sql returning zero? I'm not seeing how that could happen without a problem elsewhere.
The cause was #53
Ah, OK. This should make that kind of failure easier to debug anyway.
I'll get started on #53 - that's not a use case I had ever considered.
I have rebased the stapi-fixes branch up to master. Can you please verify that it fixes this problems so I can merge it back?
Fixed in stapi-fixes.
If gen_refresh_ctable_sql returns 0 to indicate an error, refresh_ctable does not handle this and tries to execute it as SQL, which fails: