|
我的情况,运行! T* r4 _, q7 u% v* `
delete from com_palm_messaging_data_ChatThread where chatAddress="+86137!@#@$#@$#";" ^1 o! X+ j, b2 o6 s0 [
时出现Error: no such collation sequence: LOCALIZED_SECONDARY
& h9 ^, @! S/ K9 }0 |/ ^* l) U) N0 x/ W" e: H& f) O& `
解决办法,在sqlite>下加载,语句如下
+ L9 M* ^7 E; C3 F( g+ T9 n+ W.load /usr/lib/sqlite3_palm_extension.so) R$ n- `8 [+ j& B
之后再次运行 delete,没有错误提示了。
% o# N$ a* {7 G7 d, f
1 l" D/ Z( T+ D9 J: Y) _/ q+ ~2 X- F" U. `delete之后,还是无法调用message,删除com_palm_pim_FolderEntry表下的相关短信,这个表是总表,保存着所有短信,com_palm_messaging_data_ChatThread只是保存短信对话的最后一条,语句如下$ L8 m$ c4 f7 }, w
delete from com_palm_pim_FolderEntry where fromAddress="+86137!@#@$#@$#";
3 \( F) h. q, K; {* R. f4 T
. f* r% q5 |7 {) Z" f* {/ _注意是fromAddress,不再是之前的chatAddress了! D3 P, U, H1 h2 ?8 E! z+ C
' I7 W0 i$ I% ~' U. a删完之后,久违的短信窗口打开了。 o0 }( c8 P2 m& n
- g# f# |3 v0 g x! o
工具 SQLite Expert# B i3 Q/ _ v" E, D$ ?" Y
python2.7
( W0 L" `8 t; X7 g6 B0 x, k novaproxy.py5 k: x0 c) D0 @
putty
/ A2 p' z2 l- S# H9 j
% {' p; F9 l4 a" T9 Q0 D& \
3 d5 @5 v" Z+ I: x7 Q8 ]; i2 D5 P+ v' B8 T( e/ A3 S" k) a! m- S
|
|