diff options
author | Alexander Barkov <bar@mariadb.org> | 2016-09-17 07:56:56 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2017-04-05 15:01:59 +0400 |
commit | 9f6aca198c9d580c310630dcf3f545647bb49368 (patch) | |
tree | 65f6798d345124400eda0ff797583ea7b131483e /.gitignore | |
parent | e34acc838b6f8ce4c84c28d6f65c463f831a9ef9 (diff) | |
download | mariadb-git-9f6aca198c9d580c310630dcf3f545647bb49368.tar.gz |
Adding an alternative grammar file sql_yacc_ora.yy for sql_mode=ORACLE
- Adding a new grammar file sql_yacc_ora.yy, which is currently
almost a full copy of sql_yacc.yy.
Note, it's now assumed that sql_yacc.yy and sql_yacc_ora.yy
use the same set of %token directives and exactly the same
%union directive.
These declarations should eventually be moved into a shared
included file, to make sure that sql_yacc.h and sql_yacc_ora.h
are compatible.
- Removing the "-p MYSQL" flag from cmake/bison.cmake, using
the %name-prefix directive inside sql_yacc.yy and sql_yacc_ora.yy instead
- Adding other CMake related changes to build sql_yacc_ora.o
form sql_yacc_ora.yy
- Adding NUMBER(M,N) as a synonym to DECIMAL(M,N) as the first
Oracle compatibility syntax understood in sql_mode=ORACLE.
- Adding prototypes to functions add_virtual_expression()
and handle_sql2003_note184_exception(), so they can be used
in both sql_yacc.yy and sql_yacc_ora.yy.
- Adding a new test suite compat/oracle, with the first test "type_number".
Use this:
./mtr compat/oracle.type_number # to run a single test
./mtr --suite=compat/oracle # to run the entire new suite
- Adding compat/oracle into the list of default suites,
so BuildBot can run it automatically on pushes.
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 469aa0d894b..4efe3a24e24 100644 --- a/.gitignore +++ b/.gitignore @@ -161,6 +161,8 @@ sql/mysqld sql/sql_builtin.cc sql/sql_yacc.cc sql/sql_yacc.h +sql/sql_yacc_ora.cc +sql/sql_yacc_ora.h storage/heap/hp_test1 storage/heap/hp_test2 storage/maria/aria_chk |