1. 16 Oct, 2011 1 commit
    • Michael Widenius's avatar
      Fixed wrong info message for mysqld --general-log · 87b5f9ab
      Michael Widenius authored
      Fixed wrong parameter type for --general-log. Now one can enable it with --general-log= 1 | true | on
      Fixed that bool parameters can also take 'on' and 'off' as parameters. This is in line with the values assigned to them in mysqld.
      
      
      mysys/my_getopt.c:
        Fixed that bool parameters can also take 'on' and 'off' as parameters.
      sql/mysqld.cc:
        Fixed wrong info message for mysqld --general-log
        Fixed wrong parameter type for --general-log. Now one can enable it with --general-log= 1 | true | on
      87b5f9ab
  2. 12 Oct, 2011 1 commit
  3. 11 Oct, 2011 2 commits
  4. 10 Oct, 2011 2 commits
  5. 08 Oct, 2011 1 commit
  6. 06 Oct, 2011 8 commits
  7. 05 Oct, 2011 4 commits
  8. 04 Oct, 2011 6 commits
    • Sergei Golubchik's avatar
      tests for feedback plugin, · 2a8987bb
      Sergei Golubchik authored
      bugfix: garbage in PLUGIN_VAR_STR variables when INSTALL'ing a plugin
      
      mysql-test/include/default_mysqld.cnf:
        disable feedback plugin by default.
        when enabled - tag is as a test run
      2a8987bb
    • Sergei Golubchik's avatar
      merge feedback plugin · 31f49f26
      Sergei Golubchik authored
      31f49f26
    • Sergei Golubchik's avatar
      fix for static plugins in mariadb. · c0e11db7
      Sergei Golubchik authored
      send "startup" message 5 minutes after startup, not immediately
      
      Makefile.am:
        mariadb uses .la libraries for static plugins.
        mysql - .a libraries
      plug.in:
        mariadb uses .la libraries for static plugins.
        mysql - .a libraries
      sender_thread.cc:
        send "startup" message 5 minutes after startup, not immediately
      url_http.cc:
        avoid "unused variable https" warning
      c0e11db7
    • Sergei Golubchik's avatar
      support for plugins on windows · 1f8cbe22
      Sergei Golubchik authored
      CMakeLists.txt:
        1. add -DSAFEMALLOC -DSAFE_MUTEX in the top-level CMakeLists.txt
           don't force plugins to copy-paste these lines in their CMakeLists.txt
        2.1 search plugin/* for plugins (not only storage/*),
        2.2 recognize MYSQL_PLUGIN (not only MYSQL_STORAGE_ENGINE),
        2.3 extract library names from the plug.in (don't force library names to
            be ha_<engine>.dll and <engine>.lib)
      include/mysql/plugin.h:
        define MYSQL_PLUGIN_EXPORT appropriately
        (backport from 5.5)
      libmysqld/CMakeLists.txt:
        remove unnecessary workaround
      plugin/fulltext/CMakeLists.txt:
        build fulltext example plugin on windows
      storage/maria/CMakeLists.txt:
        The library is called libmaria_s.lib, not maria.lib
      storage/maria/unittest/CMakeLists.txt:
        The library is called libmaria_s.lib, not maria.lib
      storage/myisam/CMakeLists.txt:
        The library is called libmyisam_s.lib, not myisam.lib
      storage/mysql_storage_engine.cmake:
        introduce MYSQL_PLUGIN macro.
        don't force library names to be ha_<engine>.dll and <engine>.lib
      storage/xtradb/CMakeLists.txt:
        remove a condition from include
      win/README:
        don't use deprecated syntax
      win/configure-mariadb.sh:
        don't use deprecated syntax
      win/configure.js:
        1. support MYSQL_PLUGIN in addition to MYSQL_STORAGE_ENGINE.
        2. support plugin/* in addition to storage/*
      1f8cbe22
    • Sergei Golubchik's avatar
      my_gethwaddr() on Solaris and Windows · b3e0991b
      Sergei Golubchik authored
      b3e0991b
    • Sergei Golubchik's avatar
      remove redundant declarations · c7b7c5d6
      Sergei Golubchik authored
      c7b7c5d6
  9. 03 Oct, 2011 1 commit
  10. 01 Oct, 2011 1 commit
  11. 16 Sep, 2011 3 commits
  12. 15 Sep, 2011 2 commits
  13. 14 Sep, 2011 1 commit
  14. 13 Sep, 2011 1 commit
    • Michael Widenius's avatar
      Increased version number · cbad4f48
      Michael Widenius authored
      Give proper error to client on shutdown.
      
      configure.in:
        Increased version number
      mysql-test/mysql-test-run.pl:
        Ignore errors that one can get while running with --mysqld=--log-warnings=2
      mysql-test/r/variables.result:
        Remember original value of log_warnings
      mysql-test/suite/rpl/r/rpl_idempotency.result:
        Ignore errors that one can get while running with --mysqld=--log-warnings=2
      mysql-test/suite/rpl/t/rpl_idempotency.test:
        Ignore errors that one can get while running with --mysqld=--log-warnings=2
      mysql-test/t/variables.test:
        Remember original value of log_warnings
      sql/mysqld.cc:
        Give proper error to close_connection() on shutdown
      storage/maria/ha_maria.cc:
        Added missing DBUG_RETURN
      cbad4f48
  15. 10 Sep, 2011 1 commit
  16. 09 Sep, 2011 1 commit
    • Michael Widenius's avatar
      Fixed that automatic killing of delayed insert thread (in flush, alter table... · b08627f9
      Michael Widenius authored
      Fixed that automatic killing of delayed insert thread (in flush, alter table etc) will not abort auto-repair of MyISAM table.
      Give more information when finding an error in a MyISAM table.
      When killing system thread, use KILL_SYSTEM_THREAD instead of KILL_CONNECTION to make it easier to ignore the signal in sensitive context (like auto-repair)
      Added new kill level: KILL_SERVER that will in the future to be used to signal killed by shutdown.
      Add more warnings about killed connections when warning level > 3
      
      include/myisamchk.h:
        Added counting of printed info/notes
      mysys/mf_iocache.c:
        Remove duplicate assignment
      sql/handler.cc:
        Added test of KILL_SERVER
      sql/log.cc:
        Ignore new 'kill' error ER_NEW_ABORTING_CONNECTION when requesting query error code.
      sql/mysqld.cc:
        Add more warnings for killed connections when warning level > 3
      sql/scheduler.cc:
        Added checks for new kill signals
      sql/slave.cc:
        Ignore new kill signal ER_NEW_ABORTING_CONNECTION
      sql/sp_head.cc:
        Fixed assignment to bool
        Added testing of new kill signals
      sql/sql_base.cc:
        Use KILL_SYSTEM_THREAD to auto-kill system threads
      sql/sql_class.cc:
        Add more warnings for killed connections when warning level > 3
        thd_killed() now ignores KILL_BAD_DATA and THD::KILL_SYSTEM_THREAD as these should not abort sensitive operations.
      sql/sql_class.h:
        Added KILL_SYSTEM_THREAD and KILL_SERVER
      sql/sql_connect.cc:
        Added handling of KILL_SERVER
      sql/sql_insert.cc:
        Use KILL_SYSTEM_THREAD to auto-kill system threads
        Added handling of KILL_SERVER
      sql/sql_parse.cc:
        Add more warnings for killed connections when warning level > 3
        Added checking that thd->abort_on_warning is reset at end of query.
      sql/sql_show.cc:
        Update condition for when a query is 'killed'
      storage/myisam/ha_myisam.cc:
        Added counting of info/notes printed
      storage/myisam/mi_check.c:
        Always print an an error if we find data errors when checking/repairing a MyISAM table.
        When a repair was killed, don't retry repair.
        Added assert if sort_get_next_record() returned an error without an error message.
        Removed nonsence check "if (sort_param->read_cache.error < 0)" in repair.
      storage/myisam/myisamchk.c:
        Added counting of notes printed
      storage/pbxt/src/thread_xt.cc:
        Better error message.
      b08627f9
  17. 08 Sep, 2011 1 commit
    • unknown's avatar
      LP BUG#813418 fix. · 8820f80a
      unknown authored
      The problem was that optimization code did not take into account later feature when instad of NOT before BETWEEN it has negated flag into the Item_func_between inherited from Item_func_neg_opt. So optimizer tried process NOT BETWEEN as BETWEEN.
      
      The patch just switches off the optimisation for NOT BETWEEN as it was before when NOT function was really used.
      8820f80a
  18. 05 Sep, 2011 2 commits
    • unknown's avatar
      Fix of LP BUG#780386. · 9625b891
      unknown authored
        
        ALL subquery should return TRUE if subquery rowa set is empty independently
        of left part.  The problem was that Item_func_(eq,ne,gt,ge,lt,le) do not
        call execution of second argument if first is NULL no in this case subquery
        will not be executed and when Item_func_not_all calls any_value() of the
        subquery or aggregation function which report that there was rows. So for
        NULL < ALL (SELECT...) result was FALSE instead of TRUE.
        
        Fix is just swapping of arguments of Item_func_(eq,ne,gt,ge,lt,le) (with
        changing the operation if it is needed) so that result will be the same
        (for examole a < b is equal to b > a). This fix exploit the fact that
        first argument will be executed in any case.
      9625b891
    • unknown's avatar
      52397f16
  19. 02 Sep, 2011 1 commit
    • Michael Widenius's avatar
      Fixed lp:814238 "safe_mutex issues must be assertions in debug binary" · a0917f26
      Michael Widenius authored
      Added --debug-assert-on-error variable which, if set, will cause safe_mutex to assert if it founds an error.
      
      include/my_sys.h:
        Added my_assert_on_error
      mysys/my_static.c:
        Added my_assert_on_error
      mysys/thr_mutex.c:
        Assert when found wrong mutex usage if my_assert_on_error is set
      sql/mysqld.cc:
        Added setting of my_assert_on_error
      a0917f26