Avi Kivity
ea901fdb9d
cql3: expr: fold null into untyped_constant/constant
...
Our `null` expression, after the prepare stage, is redundant with a
`constant` expression containing the value NULL.
Remove it. Its role in the unprepared stage is taken over by
untyped_constant, which gains a new type_class enumeration to
represent it.
Some subtleties:
- Usually, handling of null and untyped_constant, or null and constant
was the same, so they are just folded into each other
- LWT "like" operator now has to discriminate between a literal
string and a literal NULL
- prepare and test_assignment were folded into the corresponing
untyped_constant functions. Some care had to be taken to preserve
error messages.
Closes #12118
2022-11-29 11:02:18 +02:00
..
2022-11-29 11:02:18 +02:00
2022-07-20 18:19:22 +02:00
2022-11-29 11:02:18 +02:00
2022-11-29 11:02:18 +02:00
2022-11-24 16:15:27 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-06-15 08:47:24 +02:00
2022-05-13 07:11:58 +02:00
2022-06-28 19:58:06 -03:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-11-29 11:02:18 +02:00
2022-09-08 15:25:36 +02:00
2022-01-18 12:15:18 +01:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-09-28 09:54:59 +03:00
2022-09-28 09:54:59 +03:00
2022-06-07 11:16:12 +02:00
2022-05-13 07:11:58 +02:00
2022-01-18 12:15:18 +01:00
2022-05-13 07:11:58 +02:00
2022-11-29 11:02:18 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-06-15 08:47:24 +02:00
2022-06-15 08:47:24 +02:00
2022-06-15 08:47:24 +02:00
2022-06-15 08:47:24 +02:00
2022-05-13 07:11:58 +02:00
2022-09-28 09:54:59 +03:00
2022-09-28 09:54:59 +03:00
2022-06-17 09:09:49 +02:00
2022-05-13 07:11:58 +02:00
2022-02-24 19:46:10 +03:00
2022-01-18 12:15:18 +01:00
2022-06-17 09:32:58 +02:00
2022-05-13 07:11:58 +02:00
2022-09-08 15:25:36 +02:00
2022-09-08 15:25:36 +02:00
2022-01-18 12:15:18 +01:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-06-15 08:47:24 +02:00
2022-06-15 08:47:24 +02:00
2022-02-01 21:14:41 +01:00
2022-03-04 14:18:34 +01:00
2022-01-18 12:15:18 +01:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-06-16 19:23:46 +03:00
2022-05-13 07:11:58 +02:00
2022-06-15 08:47:24 +02:00
2022-06-15 08:47:24 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-07-22 20:14:48 +03:00
2022-07-22 20:14:48 +03:00
2022-10-18 22:48:25 +02:00
2022-10-18 22:48:25 +02:00