[GLib] Fixed bug in SqliteDatabase.