Skip to content

数据库升级默认方法有问题 #61

Description

@daelan-zhou

https://github.com/kymjs/KJFrameForAndroid/blob/master/KJFrame/kjframe/src/main/java/org/kymjs/kjframe/KJDB.java#L826
这里调用 dropDb() 方法,而方法里的
Cursor cursor = db.rawQuery( "SELECT name FROM sqlite_master WHERE type ='table'", null);
db 这会儿还是null,会有异常

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions