1. 20 Apr, 2016 3 commits
  2. 19 Apr, 2016 9 commits
  3. 18 Apr, 2016 1 commit
  4. 01 Apr, 2016 1 commit
  5. 18 Mar, 2016 1 commit
  6. 17 Mar, 2016 2 commits
  7. 26 Feb, 2016 3 commits
    • Yashwant Sahu's avatar
    • Venkatesh Duggirala's avatar
      BUG#20574550 MAIN.MERGE TEST CASE FAILS IF BINLOG_FORMAT=ROW · 29cc2c28
      Venkatesh Duggirala authored
      The main.merge test case was failing when tested using row based
      binlog format.
      
      While analyzing the issue it was found the following issues:
      
      a) The server is calling binlog related code even when a statement will
         not be binlogged;
      b) The child table list was not present into table structure by the time
         to generate the create table statement;
      c) The tables in the child table list will not be opened yet when
         generating table create info using row based replication;
      d) CREATE TABLE LIKE TEMP_TABLE does not preserve original table storage
         engine when using row based replication;
      
      This patch addressed all above issues.
      
      @ sql/sql_class.h
      
      Added a function to determine if the binary log is disabled to
        the current session. This is related with issue (a) above.
      
      @ sql/sql_table.cc
      
      Added code to skip binary logging related code if the statement
        will not be binlogged. This is related with issue (a) above.
      
      Added code to add the children to the query list of the table that
        will have its CREATE TABLE generated. This is related with issue (b)
        above.
      
      Added code to force the storage engine to be generated into the
        CREATE TABLE. This is related with issue (d) above.
      
      @ storage/myisammrg/ha_myisammrg.cc
      
      Added a test to skip a table getting info about a child table if the
        child table is not opened. This is related to issue (c) above.
      29cc2c28
    • Elena Stepanova's avatar
      MDEV-4070 sys_vars.secure_file_priv fails sporadically if it's executed with --mem · c29e450e
      Elena Stepanova authored
      The test created a file in location relative to the datadir
      (a few levels above datadir).
      The file was created by MariaDB server (via INTO OUTFILE), and
      later removed by mysqltest (via remove_file). The problem is that
      when the vardir is a symlink, MariaDB server and mysqltest can
      resolve such paths differently. MariaDB server would return back
      to where the symlink is located, while mysqltest would go above
      the real directory. For example, if the test is run with --mem,
      and /bld/5.5/mysql-test/var points at /dev/shm/var_auto_X, then
      SELECT INTO OUTFILE created a file in /bld/5.5/mysql-test , but
      remove_file would look for it in /dev/shm/.
      
      The test is re-written so that all paths are resolved in perl,
      the logic itself hasn't changed.
      c29e450e
  8. 23 Feb, 2016 3 commits
  9. 19 Feb, 2016 1 commit
  10. 17 Feb, 2016 1 commit
  11. 15 Feb, 2016 6 commits
    • Vladislav Vaintroub's avatar
      fix buffer overrun · e1385f20
      Vladislav Vaintroub authored
      e1385f20
    • Sergei Golubchik's avatar
      more strict ipv6_ok check in mtr · 3889b19f
      Sergei Golubchik authored
      don't use ipv6 is the check fails for any reason. for example, an
      ancient solaris perl didn't have sockaddr_in6() in Socket at all.
      3889b19f
    • Sergei Golubchik's avatar
      fix my_gethwaddr() for solaris · 8f5030ea
      Sergei Golubchik authored
      it caused feedback plugin tests to fail
      8f5030ea
    • Sergei Golubchik's avatar
      dtrace in cmake · 95740bc5
      Sergei Golubchik authored
      1. ignore generated dtrace files
      2. don't rewrite probes_mysql_nodtrace.h in-place
      95740bc5
    • Sergei Golubchik's avatar
      better inline check · a5d9597e
      Sergei Golubchik authored
      1. check that unused inline functions are removed
      2. only allow compilation if they are or if the check if overridden
      3. with CMAKE_GENERATOR=Makefiles, use all flags when testing
         (e.g. both CMAKE_C_FLAGS and CMAKE_C_FLAGS_DEBUG if
         CMAKE_BUILD_TYPE=Debug). This is because
       - on Solaris with the SunPro compiler, default CMAKE_C_FLAGS_xxx
         values contain -xO2 (for Release and RelWithDebInfo)
         and -g (for RelWithDebInfo and Debug)
       - proper inlining only works at -xO4 without -g
       - so if CMAKE_C_FLAGS has -xO4, inlining would work in
         configure.cmake (before this fix) and fail during actual compilation
      
      also remove the outdated check for inline from myu_global.h
      a5d9597e
    • Sergei Golubchik's avatar
      compilation errors on sparc sun studio 10 · 5f078cc8
      Sergei Golubchik authored
      1. unused static inline functions are only removed at -xO4,
         otherwise test binaries will depend on various mysys
         symbols that they don't use. Link test with libmysys.
      
      2. Sphinx - don't instantiate (explicitly) templates before
         they're defined. Or, rather, don't instantiate them explicitly at
         all.
      
      3. GIS - don't use anonymous unions and structs.
      5f078cc8
  12. 14 Feb, 2016 2 commits
  13. 12 Feb, 2016 1 commit
  14. 11 Feb, 2016 1 commit
    • Nisha Gopalakrishnan's avatar
      BUG#22037930: INSERT IGNORE FAILS TO IGNORE FOREIGN KEY · d9c541cb
      Nisha Gopalakrishnan authored
                    CONSTRAINT.
      
      Analysis
      =======
      
      INSERT and UPDATE operations using the IGNORE keyword which
      causes FOREIGN KEY constraint violations reports an error
      despite using the IGNORE keyword.
      
      Foreign key violation errors were not ignored and reported
      as errors instead of warnings even when IGNORE was set.
      
      Fix
      ===
      Added code to ignore the foreign key violation errors and
      report them as warnings when the IGNORE keyword is used.
      d9c541cb
  15. 10 Feb, 2016 2 commits
  16. 09 Feb, 2016 3 commits
    • Oleksandr Byelkin's avatar
      MDEV-7765: Crash (Assertion `!table || (!table->write_set ||... · 6b614c62
      Oleksandr Byelkin authored
      MDEV-7765: Crash (Assertion `!table || (!table->write_set || bitmap_is_set(table->write_set, field_index) || bitmap_is_set(table->vcol_set, field_index))' fails) on using function over not created table
      
      Problem was that created table was not marked as used (not set query_id) and so opening tables for stored function pick it up (as opened place holder for it) and used changing TABLE internals.
      6b614c62
    • Vicențiu Ciorbaru's avatar
      MDEV-7122: Assertion `0' failed in subselect_hash_sj_engine::init · 775cccca
      Vicențiu Ciorbaru authored
      The select mentioned in the bug attempted to create a temporary table
      using the maria storage engine. The table needs to have primary keys such that
      duplicates can be removed. Unfortunately this use case has a longer
      than allowed key and the tmp table got created without a temporary key.
      We must not allow materialization for the subquery if the total key
      length and key parts is greater than what the storage engine supports.
      775cccca
    • Sergei Golubchik's avatar
      Merge branch 'bb-5.5-serg' into 5.5 · 01628ce3
      Sergei Golubchik authored
      01628ce3