Fixing SQL errors on startup: made things more reliable
Fixing SQL errors on startup: made things more reliable

zubairq/yazz,zubairq/AppShare,zubairq/AppShare,zubairq/AppShare,zubairq/gosharedata,zubairq/gosharedata,zubairq/AppShare,zubairq/yazz