You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-4674 Fix ColumnStore to run MTR tests in a build directory
This commit is contained in:
48
mysql-test/columnstore/basic/t/mcs114_comments.test
Normal file
48
mysql-test/columnstore/basic/t/mcs114_comments.test
Normal file
@ -0,0 +1,48 @@
|
||||
#
|
||||
# Test comments
|
||||
# Author: Bharath, bharath.bokka@mariadb.com
|
||||
#
|
||||
-- source ../include/have_columnstore.inc
|
||||
|
||||
--disable_warnings
|
||||
DROP DATABASE IF EXISTS mcs114_db;
|
||||
--enable_warnings
|
||||
|
||||
CREATE DATABASE mcs114_db;
|
||||
USE mcs114_db;
|
||||
|
||||
SET default_storage_engine=Columnstore;
|
||||
|
||||
SELECT 1+2/*hello*/+3;
|
||||
SELECT 1 /* long
|
||||
multi line comment */;
|
||||
|
||||
SELECT 1 /*!32301 +1 */;
|
||||
SELECT 1 /*!952301 +1 */;
|
||||
SELECT 1--1;
|
||||
SELECT 1 # The rest of the row will be ignored
|
||||
;
|
||||
|
||||
/* line with only comment */;
|
||||
|
||||
#
|
||||
# Testing of MariaDB executable comments
|
||||
#
|
||||
SELECT 1 /*M! +1 */;
|
||||
SELECT 1 /*M!50000 +1 */;
|
||||
SELECT 1 /*M!50300 +1 */;
|
||||
SELECT 2 /*M!99999 +1 */;
|
||||
SELECT 2 /*M!100000 +1 */;
|
||||
SELECT 2 /*M!999999 +1 */;
|
||||
--error ER_PARSE_ERROR
|
||||
SELECT 2 /*M!0000 +1 */;
|
||||
|
||||
SELECT 1 /*!50699 +1*/;
|
||||
SELECT 1 /*!50700 +1*/;
|
||||
SELECT 1 /*!50999 +1*/;
|
||||
SELECT 1 /*!99999 +1*/;
|
||||
SELECT 1 /*!100000 +1*/;
|
||||
SELECT 1 /*!110000 +1*/;
|
||||
|
||||
# Clean UP
|
||||
DROP DATABASE mcs114_db;
|
Reference in New Issue
Block a user