Commit 7ced8d3
committed
Preserve original SQL text in CREATE TRIGGER sqlite_master.sql
Turso reconstructs stored trigger SQL by serializing the AST, which
normalizes all user-provided whitespace. Real SQLite preserves the
original statement text. testColumnWithOnUpdate asserts the stored
text still has its multi-line formatting.
Use the `input` parameter that's already threaded through
translate_inner instead of the AST-reconstructed form.1 parent 7e880ca commit 7ced8d3
1 file changed
Lines changed: 35 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
436 | 471 | | |
437 | 472 | | |
438 | 473 | | |
| |||
0 commit comments