Fix SQLite compatibility

bug 46433

Change-Id: Ic3c4e447330f78ad6681cf2a30ada8eefa3ce5e2