KJFrameForAndroid
KJFrameForAndroid copied to clipboard
数据库升级默认方法有问题
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,会有异常