Minor cleaunp in prepare_view.ccy
Merge branch 'working' of https://github.com/steve-wilson/mySQL into working
Fix in prepare_view to allow use from outside specific db.