diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2021-11-29 11:39:34 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2021-11-29 11:39:34 +0200 |
commit | 51c89849d16f3f6cfadfa645c49815db3cbfece7 (patch) | |
tree | 8679103f7897480cc9b5ff3308687cce1f32dade /mysql-test/main/parser.test | |
parent | bf8735eb16068c0d2480948b365f7e39dc011be5 (diff) | |
parent | d4cb1776030b643895da0532b75c051f55e84356 (diff) | |
download | mariadb-git-51c89849d16f3f6cfadfa645c49815db3cbfece7.tar.gz |
Merge 10.5 into 10.6
Diffstat (limited to 'mysql-test/main/parser.test')
-rw-r--r-- | mysql-test/main/parser.test | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/mysql-test/main/parser.test b/mysql-test/main/parser.test index 61cea2e7fa4..cbd3274113a 100644 --- a/mysql-test/main/parser.test +++ b/mysql-test/main/parser.test @@ -1363,6 +1363,52 @@ Select view_definition from information_schema.views where table_schema='test' a drop view v1; --echo # +--echo # Start of 10.2 tests +--echo # +--echo # + +--echo # MDEV-27066 Fixed scientific notation parser +--echo # + +--error ER_PARSE_ERROR +SELECT 1 1.e*1; + +--error ER_PARSE_ERROR +SELECT 1 1.e/1; + +--error ER_PARSE_ERROR +SELECT 1 1.e^1; + +--error ER_PARSE_ERROR +SELECT 1 1.e%1; + +--error ER_PARSE_ERROR +SELECT 1 1.e&1; + +--error ER_PARSE_ERROR +SELECT 1 1.e|1; + +--error ER_PARSE_ERROR +SELECT 1.e(1); + +--error ER_PARSE_ERROR +SELECT (1 1.e); + +--error ER_PARSE_ERROR +SELECT 1 1.e, 1; + +CREATE TABLE scientific_notation (test int); + +--error ER_PARSE_ERROR +SELECT tmp 1.e.test FROM scientific_notation AS tmp; + +DROP TABLE scientific_notation; + +--echo # +--echo # End of 10.2 tests +--echo # + +--echo # --echo # MDEV-10343 Providing compatibility for basic SQL data types --echo # CREATE TABLE clob (clob int); |