mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-23 17:05:36 +01:00
testing: Fix do_execsql_test() for JSON
The current scheme of combining SQL statements corrupts JSON by dropping the curly braces. Fix the issue by passing the SQL statement almost as-is to the database. However, for ".schema" to work, we need to trim extra whitespace.
This commit is contained in: