1. 22 Mar, 2012 4 commits
  2. 19 Mar, 2012 1 commit
    • Davi Arnaut's avatar
      Make Replication filter settings dynamic. · 9584cbe7
      Davi Arnaut authored
      Make the slave options --replicate-* dynamic variables so that these
      options can be changed dynamically while the server is running,
      which enables users to modify replication filtering rules without
      having to stop and restart the server.
      
      This is accomplished by just requiring that the slave threads are
      stopped when these options are set dynamically. Since filtering
      rules are only used by the SQL slave thread, setting them while the
      thread is not running avoids the need for locking.
      9584cbe7
  3. 21 Mar, 2012 3 commits
  4. 20 Mar, 2012 3 commits
    • Sergei Golubchik's avatar
      No commit message · 9a041944
      Sergei Golubchik authored
      No commit message
      9a041944
    • Michael Widenius's avatar
      Fixed lp:947474 "Assertion `table->file->stats.records > 0 || error' failed in... · 690d8cc6
      Michael Widenius authored
      Fixed lp:947474 "Assertion `table->file->stats.records > 0 || error' failed in join_read_const_table on concurrent SELECT and ALTER, constant Aria table"
      Remove Aria state history for drop/rename
      
      mysql-test/suite/maria/r/maria-recovery2.result:
        Updated old (wrong) test result
      sql/handler.cc:
        Fixed wrong argument to implict_commit
      storage/maria/ha_maria.cc:
        Ensure that we don't use file->trn if THD_TRN is 0. (This means that implict_commit() has been called and the trn object is not ours anymore)
      storage/maria/ma_extra.c:
        Remove Aria state history for drop/rename
      storage/maria/ma_rename.c:
        Remove Aria state history for rename
      storage/maria/ma_state.c:
        More DBUG_PRINT
      690d8cc6
    • Michael Widenius's avatar
      Cleanups: · a579adea
      Michael Widenius authored
      - Don't use SAFEMALLOC on valgrind builds (slows things down)
      - Added back lost option from 5.3: debug-mutex-deadlock-detector
      - Flush pages before taking lock mutex (speeds up closing of Aria tables).
      
      BUILD/SETUP.sh:
        - Don't use SAFEMALLOC on valgrind builds (slows things down)
      sql/lock.cc:
        Make default argument explicit (improves readability)
      sql/mysqld.cc:
        Removed compiler warnings
        Sorted debug options alphabetically
        Added back lost option from 5.3: debug-mutex-deadlock-detector
      storage/maria/ma_close.c:
        Flush pages before taking lock mutex (speeds up closing of Aria tables).
      storage/maria/ma_open.c:
        More DBUG_PRINT
      storage/maria/maria_def.h:
        Better DBUG_PRINT
      storage/maria/trnman.c:
        Better DBUG_PRINT
      a579adea
  5. 17 Mar, 2012 2 commits
  6. 16 Mar, 2012 2 commits
    • Vladislav Vaintroub's avatar
      Reduce size of windows MSI by approx. 50% · 49d6568a
      Vladislav Vaintroub authored
      - Mark test components, plugins etc with COMPONENT Test, to get them excluded from the MSI
      - Only include debug symbols for client and embedded libs and also
        mysqld.exe and server plugins (so we can still can get a callstack in case of crash)
      
      The rest (all *.pdbs, test components, MTR) can be obtained from the big ZIP distribution, if required.
      49d6568a
    • Vladislav Vaintroub's avatar
      Fix several buildot errors on Windows · c5e1fb67
      Vladislav Vaintroub authored
      - do not attempt loading federatedx dynamically - does not work on Windows embedded
      - race condition in rpl_start_stop_slave
      - fix exclusion rule to catch warning in partition test
      c5e1fb67
  7. 15 Mar, 2012 1 commit
  8. 14 Mar, 2012 7 commits
  9. 13 Mar, 2012 10 commits
    • Alexey Botchkov's avatar
      MDEV-15 Log all SQL errors. · 07a82c58
      Alexey Botchkov authored
                    Added the logger service that provides us with the rotating logs.
                    The plugin SQL_ERROR_LOG added. It logs the errors using the 'logger service'
                            for the rotating log files.
                    the example record from the log:
                      2012-03-09 15:07:29 root[root] @ localhost [] ERROR 1146: Table 'test.xyz' doesn't exist : select * from test.xyz
      07a82c58
    • Igor Babaev's avatar
      Merge. · 0f3b8ef2
      Igor Babaev authored
      0f3b8ef2
    • Igor Babaev's avatar
      Fixed LP bug #953649. · c1f5e25c
      Igor Babaev authored
      Do not call, directly or indirectly, SQL_SELECT::test_quick_select()
      for derived materialized tables / views when optimizing joins referring
      to these tables / views to get cost estimates of materialization.
      The current code does not create B-tree indexes for materialized 
      derived tables / views. So now it's not possible to get any estimates
      for ranges conditions over the results of the materialization.
      
      The function mysql_derived_create() must take into account the fact
      that array of the KEY structures specifying the keys over a derived
      table / view may be moved after the optimization phase if the
      derived table / view  is materialized.
      
      c1f5e25c
    • Michael Widenius's avatar
      Fixed bug lp:917689 "Archive table corruption crashing MariaDB signal 11" · 6f06cef0
      Michael Widenius authored
      Added 'from_end' as extra parameter to Field::unpack() to detect wrong from data.
      Change ha_archive::unpack_row() to detect wrong field lengths.
      Replication code changed to detect wrong field information in events.
      
      
      mysql-test/r/archive.result:
        dded test case for lp:917689
      sql/field.cc:
        Added 'from_end' as extra parameter to Field::unpack() to detect wrong from data.
        Removed not used 'unpack_key' functions.
      sql/field.h:
        Added 'from_end' as extra parameter to Field::unpack() to detect wrong from data.
        Removed not used 'unpack_key' functions.
        Removed some not needed unpack() functions.
      sql/filesort.cc:
        Added buffer end parameter to unpack_addon_fields()
      sql/log_event.h:
        Added end of buffer argument to unpack_row()
      sql/log_event_old.cc:
        Added end of buffer argument to unpack_row()
      sql/log_event_old.h:
        Added end of buffer argument to unpack_row()
      sql/records.cc:
        Added buffer end parameter to unpack_addon_fields()
      sql/rpl_record.cc:
        Added end of buffer argument to unpack_row()
        Added detection of wrong field information in events
      sql/rpl_record.h:
        Added end of buffer argument to unpack_row()
      sql/rpl_record_old.cc:
        Added end of buffer argument to unpack_row()
        Added detection of wrong field information in events
      sql/rpl_record_old.h:
        Added end of buffer argument to unpack_row()
      sql/table.h:
        Added buffer end parameter to unpack()
      storage/archive/ha_archive.cc:
        Change ha_archive::unpack_row() to detect wrong field lengths.
        This fixes lp:917689
      6f06cef0
    • Sergei Golubchik's avatar
    • Sergei Golubchik's avatar
      alternative method of resolving addresses for safemalloc and crash handler. · 00f2e313
      Sergei Golubchik authored
      don't link with libbfd, exec addr2line, if it's available at run time
      00f2e313
    • Sergei Golubchik's avatar
      1cbc3790
    • Sergei Golubchik's avatar
      monty's cleanup of my_thr_init.c · 262a2ab5
      Sergei Golubchik authored
      and collateral changes
      262a2ab5
    • Sergei Golubchik's avatar
    • Sergei Golubchik's avatar
      disable EXTRA_DEBUG in non-dbug builds · 3f178908
      Sergei Golubchik authored
      3f178908
  10. 12 Mar, 2012 7 commits