1. 05 Apr, 2017 4 commits
    • Alexander Barkov's avatar
      Moving the code from my_parse_error() to THD::parse_error(). · c21fc008
      Alexander Barkov authored
      Reusing THD::parse_error() in sql_yacc.yy and sql_yacc_ora.yy
      c21fc008
    • Alexander Barkov's avatar
      Adding an alternative grammar file sql_yacc_ora.yy for sql_mode=ORACLE · 9f6aca19
      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.
      9f6aca19
    • Alexander Barkov's avatar
    • Marko Mäkelä's avatar
      MDEV-11840 InnoDB: "Cannot open <ib_buffer_pool file>" should not be an error · 0d34dd7c
      Marko Mäkelä authored
      buf_load(): When the file cannot be opened for reading, issue a note,
      not an error message.
      0d34dd7c
  2. 04 Apr, 2017 10 commits
  3. 03 Apr, 2017 6 commits
    • Igor Babaev's avatar
      Fixed bug mdev-10454. · 00ab154d
      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.
      00ab154d
    • Marko Mäkelä's avatar
      MDEV-12428 SIGSEGV in buf_page_decrypt_after_read() during DDL · 9505c968
      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.
      9505c968
    • Alexander Barkov's avatar
    • Sergei Petrunia's avatar
      Merge 10.2 into bb-10.2-mariarocks · 5e0ed691
      Sergei Petrunia authored
      5e0ed691
    • Sergei Petrunia's avatar
      Disable compilation of storage/rocksdb/unittest/test_properties_collector · 5c66eb5c
      Sergei Petrunia authored
      Met additional issues while trying to enable it.
      5c66eb5c
    • Jan Lindström's avatar
      MDEV-11629: Unknown table 'innodb_cmp_per_index_reset' in · c07bb700
      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.
      c07bb700
  4. 02 Apr, 2017 15 commits
  5. 01 Apr, 2017 5 commits