Use local variable sql as intended -- not bdb!
Use local variable sql as intended -- not bdb!

Evidently this code is not tested.  I think we can throw it all out
shortly -- I doubt whether anyone cares about legacy BayesDB models
any more.

probcomp/bayeslite,probcomp/bayeslite