Commit 780d2ff
committed
Address Codex review: .schema indexes/triggers, dump REAL literals
- .schema TABLE now includes the table's indexes/triggers (tbl_name match),
matching the .dump fix.
- .dump renders non-finite REALs as restorable literals (9e999 / -9e999;
NaN -> NULL) instead of "inf", which SQLite would parse as an identifier.
- Document two known limitations: .dump isn't FK-dependency-ordered (and
foreign_keys can't be toggled in the sandbox), and ALTER TABLE RENAME into
the reserved _audit namespace isn't caught (SQLite doesn't expose the new
name to the authorizer; low severity since the audit trail is external).
https://claude.ai/code/session_01AdvNtQ7wCMVy8etacVQbjg1 parent b07abb5 commit 780d2ff
2 files changed
Lines changed: 23 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
| |||
135 | 138 | | |
136 | 139 | | |
137 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
138 | 147 | | |
139 | 148 | | |
140 | 149 | | |
| |||
331 | 340 | | |
332 | 341 | | |
333 | 342 | | |
334 | | - | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
335 | 350 | | |
336 | 351 | | |
337 | 352 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
113 | 119 | | |
114 | 120 | | |
115 | 121 | | |
| |||
0 commit comments