![]() There is nothing that the SQLite library can do to defend against this.13:48:34.|INFO |DatabaseQuery | | checking database integrity ![]() That means taht any process can open the file and overwrite it with garbage. SQLite database files are ordinary disk files. It provides a SQL interface compliant with the DB-API 2.0 specification descirbed by PEP249(Python Database API Specification v2.0). The sqlite3 module was written by Gerhard Haring. This value is returned if SQLIte detects that the database it is working on has become corrupted.Ĭorruption might occur due to a rogue process writing to the database file or it might happen due to a proviously undetected logic error in of SQLite. Sqlite_exec执行结果返回错误中的一种可能是SQLITE_CORRUPT,对应的就是the database disk image is malformed. The interface to the SQLite library consists of three core functions, one opaque data structure, and some constants used as return values. The SQLite library is designed to be very easy to use from a C or C++ program. 仔细阅读official documents看到The C language interface to SQLite Version 2有提到: This error is a DBAPI Error and originates from the database driver (DBAPI), not SQLAlchemy itself. 根据SQLalchemy Error Messages),DatabaseError Exception raised for errors that are related to the database itself, and not the interface or data being passed.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |