mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-25 20:14:21 +01:00
This PR moves part of string normalization to the parser layer. Now, we dequote and unescape values in the parser, but we still need to lowercase them for proper ignore-case comparison logic in the planner. The reason to not lowercase in the parser is following: 1. SQLite (and tursodb) have ident->string conversion rule and by lowercasing value early we will loose original representation 2. Some things like column names are preserve the case right now and we better to not change this behaviour. Closes #3344