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

sqlite3 unread_push_messages error #22

Closed
nikitasius opened this issue Mar 18, 2022 · 1 comment
Closed

sqlite3 unread_push_messages error #22

nikitasius opened this issue Mar 18, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@nikitasius
Copy link
Owner

nikitasius commented Mar 18, 2022

18_03_2022_13_16_16 E/tmessages: org.telegram.SQLite.SQLiteException: no such column: isdel
18_03_2022_13_16_16 E/tmessages: org.telegram.SQLite.SQLitePreparedStatement.prepare(Native Method)
18_03_2022_13_16_16 E/tmessages: org.telegram.SQLite.SQLitePreparedStatement.<init>(SQLitePreparedStatement.java:33)
18_03_2022_13_16_16 E/tmessages: org.telegram.SQLite.SQLiteDatabase.queryFinalized(SQLiteDatabase.java:70)
18_03_2022_13_16_16 E/tmessages: org.telegram.messenger.MessagesStorage.lambda$loadUnreadMessages$58(MessagesStorage.java:3784)
18_03_2022_13_16_16 E/tmessages: org.telegram.messenger.MessagesStorage.$r8$lambda$CXfbGTKGgujD6evOVxg39K_-tsQ(Unknown Source:0)
18_03_2022_13_16_16 E/tmessages: org.telegram.messenger.MessagesStorage$$ExternalSyntheticLambda12.run(Unknown Source:2)
18_03_2022_13_16_16 E/tmessages: android.os.Handler.handleCallback(Handler.java:883)
18_03_2022_13_16_16 E/tmessages: android.os.Handler.dispatchMessage(Handler.java:100)
18_03_2022_13_16_16 E/tmessages: android.os.Looper.loop(Looper.java:214)
18_03_2022_13_16_16 E/tmessages: org.telegram.messenger.DispatchQueue.run(DispatchQueue.java:119)

Thanks @theufgf from tg for this report.

cursor = database.queryFinalized("SELECT data, mid, date, uid, random, fm, name, uname, flags, isdel FROM unread_push_messages WHERE 1 ORDER BY date DESC LIMIT 50");

missing isDel column in the original table.

@nikitasius nikitasius added the bug Something isn't working label Mar 18, 2022
@nikitasius nikitasius self-assigned this Mar 18, 2022
@nikitasius
Copy link
Owner Author

fixed fec0166

nikitasius added a commit that referenced this issue Mar 18, 2022
* fixed issue #22 for unread_push_messages table
* `DUROV_RELOGIN` now is 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant