mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
Merge branch '10.2' into 10.3
This commit is contained in:
commit
41a163ac5c
354 changed files with 3955 additions and 1103 deletions
35
mysql-test/main/partition_sp.test
Normal file
35
mysql-test/main/partition_sp.test
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
--source include/have_partition.inc
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-8652: Partitioned table creation problem when
|
||||
--echo # creating from procedure context twice in same session
|
||||
--echo #
|
||||
|
||||
|
||||
DELIMITER |;
|
||||
|
||||
CREATE PROCEDURE p1()
|
||||
BEGIN
|
||||
DROP TABLE IF EXISTS t1 ;
|
||||
|
||||
CREATE TABLE t1 (
|
||||
id INT PRIMARY KEY
|
||||
)
|
||||
PARTITION BY RANGE (id) (
|
||||
PARTITION P1 VALUES LESS THAN (2),
|
||||
PARTITION P2 VALUES LESS THAN (3)
|
||||
);
|
||||
END |
|
||||
|
||||
DELIMITER ;|
|
||||
|
||||
call p1();
|
||||
call p1();
|
||||
|
||||
drop procedure p1;
|
||||
drop table t1;
|
||||
|
||||
--echo #
|
||||
--echo # End of 10.2 tests
|
||||
--echo #
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue