fix result handling with sqlite
fix result handling with sqlite

SVN revision: 67653

carloslack/esskyuehl,expertisesolutions/esskyuehl,carloslack/esskyuehl,gfriloux/esskyuehl,gfriloux/esskyuehl,expertisesolutions/esskyuehl,expertisesolutions/esskyuehl,carloslack/esskyuehl