Files
wx-cli/crates/wx-db/tests/fixtures/02-xml-null-sentinel.sql
T
pandorafuture 96ccbbdc3d feat: initial release of wx-cli v0.7.2
WeChat macOS database decryption and query tool, supporting key extraction,
message querying, full-text search, conversation export, real-time monitoring,
media handling, and HTTP server mode with REST API and SSE.
2026-06-04 22:50:00 +08:00

15 lines
507 B
SQL

-- Fixture 02: XML null sentinel filtering
-- Tests that <title>null</title> and <des>null</des> are filtered to None.
-- local_type = (5 << 32) | 49 = 21474836529
INSERT INTO fixture_messages (sort_seq, server_id, local_type, sender, talker, create_time, message_content)
VALUES (
200,
900002,
21474836529,
'wxid_test_alice',
'wxid_test_bob',
1700000200,
'<msg><appmsg><title>null</title><des>null</des><url>https://example.com/test-link</url><type>5</type></appmsg></msg>'
);