i'm not at a real computer, and can't check the sqlite docs. i agree this looks kinda janky, but is probably fine.
the sqlite thing i want to check is about how virtual tables are invoked. i think there's a create vs call convention. we don't use that, and i wonder if the source of this bug is the lack of utilization of the create routine.
08/29/2019, 2:01 PM
I also think the use of the static variable indicating 'first config' can be replaced with a check if the view exists or not.
I'll merge for now and then we can address a follow up in the open issue.
08/29/2019, 2:05 PM
yeah, i agree there's probably a cleaner if-view-exists. getting something into CI would let us refactor that