Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

数据库表判断不存在? #28

Open
feihuang89 opened this issue Aug 4, 2016 · 1 comment
Open

数据库表判断不存在? #28

feihuang89 opened this issue Aug 4, 2016 · 1 comment

Comments

@feihuang89
Copy link

巧哥,你好,最近遇到一个很糟心的问题,正常使用着,启动做数据库升级判断user表是否存在,有的用户返回了NO,怀疑是数据库损坏,表丢失或者数据库打开失败(代码中没有对库表删除的操作),但是没法复现验证,巧哥觉得会是什么问题呢?

@tangqiaoboy
Copy link
Member

会不会是磁盘空间满了,造成打开数据库失败?我理解打开数据库会有一个小的 IO 写操作。

在 2016年8月4日 下午11:19,菲皇 notifications@github.com写道:

巧哥,你好,最近遇到一个很糟心的问题,正常使用着,启动做数据库升级判断user表是否存在,有的用户返回了NO,
怀疑是数据库损坏,表丢失或者数据库打开失败(代码中没有对库表删除的操作),但是没法复现验证,巧哥觉得会是什么问题呢?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#28, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAsvqYYI91dPctW4TL6ah6x_7ta9u_Hsks5qcgLngaJpZM4Jczyw
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants