KJFrameForAndroid icon indicating copy to clipboard operation
KJFrameForAndroid copied to clipboard

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

Open daelan-zhou opened this issue 8 years ago • 0 comments

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,会有异常

daelan-zhou avatar Sep 02 '16 05:09 daelan-zhou