mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-16038 Assertion `map->n_bits > 0' failed (my_bitmap.c:386: bitmap_is_clear_all)
Rows with no elements are not allowed in a table value constructor unless it is used in an INSERT statement.
This commit is contained in:
@ -1046,7 +1046,7 @@ select * from (values (1), (t1.b), (2)) as new_tvc;
|
||||
drop table t1;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-MDEV-15940: cursor over TVC
|
||||
--echo # MDEV-15940: cursor over TVC
|
||||
--echo #
|
||||
|
||||
DELIMITER |;
|
||||
@ -1068,3 +1068,10 @@ END;
|
||||
|
|
||||
|
||||
DELIMITER ;|
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-16038: empty row in TVC
|
||||
--echo #
|
||||
|
||||
--error ER_EMPTY_ROW_IN_TVC
|
||||
with t as (values (),()) select 1 from t;
|
||||
|
Reference in New Issue
Block a user