- 05 Apr, 2017 4 commits
-
-
Alexander Barkov authored
Reusing THD::parse_error() in sql_yacc.yy and sql_yacc_ora.yy
-
Alexander Barkov authored
- 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.
-
Alexander Barkov authored
-
Marko Mäkelä authored
buf_load(): When the file cannot be opened for reading, issue a note, not an error message.
-
- 04 Apr, 2017 10 commits
-
-
Sergei Petrunia authored
-
Vladislav Vaintroub authored
debug build with older cmake. The constant is implicitely defined by VS when chosen C runtime is Debug (/MTd, MDd). CMake does not define it since https://public.kitware.com/Bug/view.php?id=15777 was fixed. We remove it from compile flags, to be able to build Debug with /MT runtime using older cmakes.
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
Vladislav Vaintroub authored
Also do not use BUILD_BYPRODUCTS in ExternalPeoject for older cmake
-
Marko Mäkelä authored
-
- 03 Apr, 2017 6 commits
-
-
Igor Babaev authored
The patch actually fixes the old defect of the optimizer that could not extract keys for range access from IN predicates with row arguments. This problem was resolved in the mysql-5.7 code. The patch supersedes what was done there: - it can build range access when not all components of the first row argument are refer to the columns of the table for which the range access is constructed. - it can use equality predicates to build range access to the table that is not referred to in this argument.
-
Marko Mäkelä authored
Also, some MDEV-11738/MDEV-11581 post-push fixes. In MariaDB 10.1, there is no fil_space_t::is_being_truncated field, and the predicates fil_space_t::stop_new_ops and fil_space_t::is_stopping() are interchangeable. I requested the fil_space_t::is_stopping() to be added in the review, but some added checks for fil_space_t::stop_new_ops were not replaced with calls to fil_space_t::is_stopping(). buf_page_decrypt_after_read(): In this low-level I/O operation, we must look up the tablespace if it exists, even though future I/O operations have been blocked on it due to a pending DDL operation, such as DROP TABLE or TRUNCATE TABLE or other table-rebuilding operations (ALTER, OPTIMIZE). Pass a parameter to fil_space_acquire_low() telling that we are performing a low-level I/O operation and the fil_space_t::is_stopping() status should be ignored.
-
Alexander Barkov authored
-
Sergei Petrunia authored
-
Sergei Petrunia authored
Met additional issues while trying to enable it.
-
Jan Lindström authored
information_schema. Added .opt file to enable running this test as a part of innodb_zip suite and recorded current correct results.
-
- 02 Apr, 2017 15 commits
-
-
Sergei Petrunia authored
- Also rename plugin's config file - And fix unit test's CMakeLists.txt
-
Sergei Petrunia authored
Copy the detection logic from 'rocksdb' test suite, add a note.
-
https://github.com/mariadb/serverVladislav Vaintroub authored
Merge branch 'bb-10.2-mariarocks-wlad' of https://github.com/mariadb/server into bb-10.2-mariarocks-wlad
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
Default to static release (previously static debug was used in debug builds, but not is appears to be too slow)
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
Restore MYSQL_SYSVAR_UINT64_T and MYSQL_SYSVAR_SIZE_T in plugin.h
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
-
Sergei Petrunia authored
They use much more disk space than all other tests in rocksdb test suite
-
Sergei Petrunia authored
-
Sergei Petrunia authored
Don't use Perl autodie module as there are platforms where it is not present
-
- 01 Apr, 2017 5 commits
-
-
Sergei Golubchik authored
fixes many test failures in optimized builds in --ps-protocol
-
Sergei Golubchik authored
vcols in the table definition are intentionaly bad and produce warnings when a table is opened. In some cases (depending on the TDC/TC state as left by earlier tests) a table might be opened in the middle of the test, resulting in spurious warnings. Suppress them. Also, don't run main.mdev-504 for ps-protocol at all (instead of disabling ps-protocol inside the test, but still running the test)
-
Sergei Golubchik authored
as a plugin can be disabled, so the target doesn't necessarily exist
-
Sergei Golubchik authored
parse CHECK constraint *before* Column_definition validity checks
-
Vladislav Vaintroub authored
-