Perfetto depends on SQLite internals:
tokenize.c) for PerfettoSQLparse.y) processingOnly upgrade when Chrome, Android, and Google3 all support the target SQLite version.
Update version references:
tools/install-build-deps - update SQLite version/hashbazel/deps.bzl - update SQLite version/hashRun parser update:
python3 tools/update_sql_parsers.py
Build and test:
tools/ninja -C out/linux_clang_release trace_processor_shell perfetto_unittests out/linux_clang_release/perfetto_unittests --gtest_filter="*Sql*" tools/diff_test_trace_processor.py out/linux_clang_release/trace_processor_shell --quiet
Error: SQLite special tokens have changed! Expected: %token SPACE COMMENT ILLEGAL.
Fix: Update EXPECTED_SPECIAL_TOKENS in tools/update_sql_parsers.py
Error: use of undeclared identifier 'TK_COMMENT' or 'SQLITE_DIGIT_SEPARATOR'
Fix: Add missing constants to tokenize_internal_helper.h
Error: Compilation errors in sqlite_utils.h or sqlite/bindings/*.h
Fix: Update bindings for SQLite API changes
tools/install-build-deps - SQLite version/hashbazel/deps.bzl - SQLite version/hashtools/update_sql_parsers.py - Parser update scripttokenize_internal_helper.h - Tokenizer integrationperfettosql_grammar.*perfettosql_keywordhash.htokenize_internal.ctools/install-build-deps and bazel/deps.bzlpython3 tools/update_sql_parsers.py