1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-11-22 20:42:36 +03:00
Files
mariadb-columnstore-engine/mysql-test/columnstore/devregression/t/mcs7525_MCOL-829.test
Daniel Lee 4c9d6e39ac Dlee mtr restructure (#2494)
* Restructured test suites and added autopilot and extended suites

* Updated autopilot with correct branch - develop

* Moved setup test case to a 'setup' directory, for consistency

* Fixed a path issue

* Updated some tests cases to keep up with development

Co-authored-by: root <root@rocky8.localdomain>
2022-08-09 21:20:56 +03:00

30 lines
749 B
Plaintext

#
# Test case migrated from regression test suite:
# queries/working_tpch1/misc/MCOL-829.sql
#
# Author: Susil, susil.behera@mariadb.com
#
-- source ../include/have_columnstore.inc
USE tpch1;
# Support INSERT...SELECT in stored procedures
drop table if exists mcol829a;
drop table if exists mcol829b;
drop procedure if exists mcol829;
create table mcol829a (a int, b int) engine=columnstore;
create table mcol829b (a int, b int) engine=columnstore;
insert into mcol829a values (1,1),(2,2),(3,3);
delimiter //;
create procedure mcol829() begin insert into mcol829b select * from mcol829a; end//
delimiter ;//
call mcol829();
select * from mcol829b;
drop procedure mcol829;
drop table mcol829a;
drop table mcol829b;