7 lines
467 B
Plaintext
7 lines
467 B
Plaintext
=== 复现 P0-1 根因:建表列名与 INSERT 列名不一致 ===
|
|||
|
|
修复前 INSERT -> OperationalError: table files has no column named compress_algo
|
||
|
|
→ 该异常被 core.py 的 except 吞掉,只打印一行"添加文件失败",库里没有任何记录
|
||
|
|
修复前 SELECT -> OperationalError: no such column: compress_algo
|
||
|
|
→ read_file 因此必然失败,所有导出操作都变成"导出文件失败"
|
||
|
|
修复后 INSERT -> ok, SELECT -> [('none',)]
|