1. 01 Aug, 2015 1 commit
  2. 29 Jul, 2015 1 commit
  3. 27 Jul, 2015 7 commits
  4. 26 Jul, 2015 2 commits
    • Monty's avatar
      Added easy way to assert if another thread has died. · 517ef2bd
      Monty authored
      Added some extra safety asserts in MyISAM key cache.
      
      my_thread_var->init is now:
      0 at startup
      1 at init
      2 when thread dies
      517ef2bd
    • Monty's avatar
      Fixed MDEV-8428: Mangled DML statements on 2nd level slave when enabling binlog checksums · f3e578ab
      Monty authored
      Fix was to add a test in Query_log_event::Query_log_event() if we are using
      CREATE ... SELECT and in this case use trans cache, like we do on the master.
      This avoid using (with doesn't have checksum)
      
      Other things:
      - Removed dummy call my_checksum(0L, NULL, 0)
      - More DBUG_PRINT
      - Cleaned up Log_event::need_checksum() to make it more readable (similar as in MySQL 5.6)
      - Renamed variable that was hiding another one in create_table_imp()
      f3e578ab
  5. 24 Jul, 2015 1 commit
  6. 23 Jul, 2015 2 commits
    • Dmitry Lenev's avatar
      MDEV-5997 - MySQL bug#11759114 - '51401: GRANT TREATS NONEXISTENT · a6ab8ef9
      Dmitry Lenev authored
      FUNCTIONS/PRIVILEGES DIFFERENTLY'
      
      Fix for bug#11759114 - '51401: GRANT TREATS NONEXISTENT
      FUNCTIONS/PRIVILEGES DIFFERENTLY'.
      
      The problem was that attempt to grant EXECUTE or ALTER
      ROUTINE privilege on stored procedure which didn't exist
      succeed instead of returning an appropriate error like
      it happens in similar situation for stored functions or
      tables.
      
      The code which handles granting of privileges on individual
      routine calls sp_exist_routines() function to check if routine
      exists and assumes that the 3rd parameter of the latter
      specifies whether it should check for existence of stored
      procedure or function. In practice, this parameter had
      completely different meaning and, as result, this check was
      not done properly for stored procedures.
      
      This fix addresses this problem by bringing sp_exist_routines()
      signature and code in line with expectation of its caller.
      Conflicts:
      	mysql-test/r/grant.result
      	mysql-test/t/grant.test
      	sql/sp.cc
      a6ab8ef9
    • Sergey Vojtovich's avatar
      MDEV-8399 - [PATCH] Missing Sanity Checks for memory allocation in MariaDB · d897015d
      Sergey Vojtovich authored
      - since param is quite small store it on stack
      - fixed a few memory leaks
      d897015d
  7. 22 Jul, 2015 1 commit
  8. 20 Jul, 2015 2 commits
  9. 19 Jul, 2015 2 commits
  10. 16 Jul, 2015 2 commits
  11. 14 Jul, 2015 3 commits
  12. 13 Jul, 2015 3 commits
  13. 10 Jul, 2015 1 commit
    • Monty's avatar
      Updated fill_help_tables for MariaDB · d9835658
      Monty authored
      - References changed from mysql.com to mariadb.com/kb
      - NDB specfic things removed
      - Changed other MySQL related things to MariaDB
      d9835658
  14. 30 Jun, 2015 1 commit
    • Jan Lindström's avatar
      MDEV-8392: Couldn't alter field with default value for make it not nullable. · 1a8cf15d
      Jan Lindström authored
      Analysis; Problem is that InnoDB does not have support for generating
      CURRENT_TIMESTAMP or constant default.
      
      Fix: Add additional check if column has changed from NULL -> NOT NULL
      and column default has changed. If this is is first column definition
      whose SQL type is TIMESTAMP and it is defined as NOT NULL and
      it has either constant default or function default we must use
      "Copy" method for alter table.
      1a8cf15d
  15. 24 Jun, 2015 2 commits
  16. 17 Jun, 2015 2 commits
  17. 16 Jun, 2015 7 commits
    • Sergei Golubchik's avatar
      MDEV-8287 DROP TABLE suppresses all engine errors · b56ad494
      Sergei Golubchik authored
      in ha_delete_table()
      * only convert ENOENT and HA_ERR_NO_SUCH_TABLE to warnings
      * only return real error codes (that is, not ENOENT and
        not HA_ERR_NO_SUCH_TABLE)
      * intercept HA_ERR_ROW_IS_REFERENCED to generate backward
        compatible ER_ROW_IS_REFERENCED
      
      in mysql_rm_table_no_locks()
      * no special code to handle HA_ERR_ROW_IS_REFERENCED
      * no special code to handle ENOENT and HA_ERR_NO_SUCH_TABLE
      * return multi-table error ER_BAD_TABLE_ERROR <table list> only
        when there were many errors, not when there were many
        tables to drop (but only one table generated an error)
      b56ad494
    • Sergei Golubchik's avatar
      MDEV-7398 mysqld segfaults on FreeBSD 10.1 i386 when built with clang 3.4 · 66fd45af
      Sergei Golubchik authored
      in cmake tests let's treat clang like gcc (same options,
      same builtins) in many cases.
      
      * don't check the compiler when
        * testing for -fvisibility=hidden support
        * testing for HAVE_ABI_CXA_DEMANGLE
        * testing for HAVE_GCC_ATOMIC_BUILTINS
        * when removing options with string(replace)
        * when running ${CC} --version (ignore the error instead)
      * run ABI checks for clang
      * use "canonical" gcc flags for clang
      * fix groonga too
      
      Also:
      
      * add cmake detection for gcc __atomic_* builtins. they might be
        supported (__ATOMIC_SEQ_CST is defined), but not for all operand
        sizes. In particular, 64-bit atomic load is problematic on i386
      * cache check results for Windows
      * remove the test for HAVE_CXXABI_H (HAVE_ABI_CXA_DEMANGLE is
        suffifient)
      66fd45af
    • Sergei Golubchik's avatar
      7bfda275
    • Sergei Golubchik's avatar
      MDEV-8183 Adding option mysqldump --no-data-med · 26b0cf4d
      Sergei Golubchik authored
      * new mysqldump option
      * add more engines to the "external data engines" list
      * redo the check to be able to print the list of engines in --help
      26b0cf4d
    • Sergei Golubchik's avatar
      Merge branch 'connect-10.0' into 10.0 · 569d2f81
      Sergei Golubchik authored
      569d2f81
    • Sergei Golubchik's avatar
      after-merge fixes · 985e430c
      Sergei Golubchik authored
      in innobase: compilation error on windows
      other changes: perfschema merge followup
      985e430c
    • Jan Lindström's avatar
      27f0bd7d