mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 03:47:17 +02:00
Merge 10.4 to 10.5
This commit is contained in:
commit
1657b7a583
185 changed files with 3706 additions and 654 deletions
|
|
@ -2521,6 +2521,17 @@ t2 CREATE TABLE `t2` (
|
|||
) ENGINE=InnoDB DEFAULT CHARSET=latin1
|
||||
DROP TABLE t2, t1;
|
||||
#
|
||||
# MDEV-18163: Assertion `table_share->tmp_table != NO_TMP_TABLE ||
|
||||
# m_lock_type != 2' failed in handler::ha_rnd_next(); / Assertion
|
||||
# `table_list->table' failed in find_field_in_table_ref / ERROR 1901
|
||||
# (on optimized builds)
|
||||
#
|
||||
CREATE TABLE t1 (k1 varchar(10) DEFAULT 5);
|
||||
CREATE TABLE t2 (i1 int);
|
||||
ALTER TABLE t1 ALTER COLUMN k1 SET DEFAULT (SELECT 1 FROM t2 limit 1);
|
||||
ERROR HY000: Function or expression 'select ...' cannot be used in the DEFAULT clause of `k1`
|
||||
DROP TABLE t1,t2;
|
||||
#
|
||||
# End of 10.2 tests
|
||||
#
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue