fix sqlite cursor rowcount bug2