## 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
ATTACH DATABASE ':memory:' AS aux21;
ATTACH DATABASE ':memory:' AS aux19;
CREATE TABLE [T] (
  a INTEGER,
  b TEXT,
  c REAL
);
INSERT INTO T VALUES (like('%MiXeD%', julianday(jsonb_patch(octet_length(x'63bdc50207abcc33440473fe2daf'), pi()))),'a',date((NULL + 2147483648), 'start of month')), (2,'b',-3.5), (3,'c',0.0);
SELECT * FROM T WHERE NOT c < 2.0 ORDER BY c;
CREATE  INDEX IF NOT EXISTS idx_T_5250 ON T(a COLLATE NOCASE) WHERE a IS NOT NULL;
PRAGMA foreign_keys = FALSE;
INSERT INTO T VALUES (NULL, NULL, NULL);
CREATE  VIEW IF NOT EXISTS v_T_27 AS SELECT c FROM T;
REINDEX;
WITH a AS (SELECT * FROM T WHERE b IS NOT NULL), b AS (SELECT * FROM a WHERE b > 0), c AS (SELECT * FROM b LIMIT 10) SELECT * FROM c;
UPDATE T SET c = json_object('k', c) WHERE c BETWEEN 0 AND 100;
SELECT * FROM T;
REINDEX T;
WITH cte(x) AS (VALUES(NULL),(1),(NULL)) SELECT * FROM cte WHERE x IS NOT NULL;
CREATE TRIGGER IF NOT EXISTS trg_T_1047 BEFORE INSERT ON T FOR EACH ROW BEGIN SELECT RAISE(ROLLBACK, 'rb'); END;
SELECT * FROM T;
WITH RECURSIVE cnt(x) AS (VALUES(1) UNION ALL SELECT x+1 FROM cnt WHERE x<82) SELECT x FROM cnt WHERE x > 41;
DETACH DATABASE aux19;
DETACH DATABASE aux21;
```

## Actual output

```sql
||

1

||

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

72

73

74

75

76

77

78

79

80

81

82
```

## Expectation

```sql

```

## Flag

```
-newline "

"
```

