53 lines
1.2 KiB
Markdown
53 lines
1.2 KiB
Markdown
## Summary
|
|
<!--Explain briefly what goes wrong and explain why you believe this is a bug and not the intended behavior of SQLite (if it is not a crash).-->**No review yet**
|
|
|
|
## Minimized query
|
|
|
|
```sql
|
|
PRAGMA index_xinfo(idx1);
|
|
PRAGMA temp_store = 'DEFAULT';
|
|
PRAGMA auto_vacuum = FULL;
|
|
PRAGMA secure_delete = NO;
|
|
.version
|
|
CREATE TABLE t16a(a TEXT, b REAL, c INT, PRIMARY KEY(a,b)) WITHOUT rowid;
|
|
INSERT INTO t16a VALUES('abc',x'33a2b38d306171',-4992210527584495886);
|
|
ALTER TABLE t16a ADD COLUMN d TEXT DEFAULT 'xyzzy';
|
|
INSERT INTO t16a VALUES('cba',5.5,98,'fizzle');
|
|
SELECT * FROM t16a ORDER BY a;
|
|
ALTER TABLE t16a RENAME TO t16a_rn;
|
|
SELECT * FROM t16a_rn ORDER BY a;
|
|
|
|
```
|
|
|
|
## Actual output
|
|
|
|
```sql
|
|
0
|
|
SQLite 3.39.0 2022-05-10 23:28:12 764b71267e0b31ff7eaf2a0def7526a1a02dce4d5b456dea060d97ed342ealt1
|
|
gcc-14.2.0
|
|
abc|3¢³0aq|-4992210527584495886|xyzzy
|
|
cba|5.5|98|fizzle
|
|
abc|3¢³0aq|-4992210527584495886|xyzzy
|
|
cba|5.5|98|fizzle
|
|
```
|
|
|
|
## Expectation
|
|
|
|
```sql
|
|
0
|
|
SQLite 3.51.1 2025-11-28 17:28:25 281fc0e9afc38674b9b0991943b9e9d1e64c6cbdb133d35f6f5c87ff6af38a88
|
|
zlib version 1.3.1
|
|
gcc-11.4.0 (64-bit)
|
|
abc|3¢³0aq|-4992210527584495886|xyzzy
|
|
cba|5.5|98|fizzle
|
|
abc|3¢³0aq|-4992210527584495886|xyzzy
|
|
cba|5.5|98|fizzle
|
|
```
|
|
|
|
## Flag
|
|
|
|
```
|
|
|
|
```
|
|
|