1. 03 Sep, 2009 2 commits
    • Michael Widenius's avatar
      Updated documentation files to reflect MariaDB and not the Maria storage engine or MySQL · f417c043
      Michael Widenius authored
      Added (rewritten) patch from Percona to get extended statistics in slow.log:
      - Added handling of 'set' variables to set_var.cc. Changed sql_mode to use this
      - Added extra logging to slow log of 'Thread_id, Schema, Query Cache hit, Rows sent and Rows examined'
      - Added optional logging to slow log, through log_slow_verbosity, of query plan statistics
      - Added new user variables log_slow_rate_limit, log_slow_verbosity, log_slow_filter
      - Added log-slow-file as synonym for 'slow-log-file', as most slow-log variables starts with 'log-slow'
      - Added log-slow-time as synonym for long-query-time
      Some trivial MyISAM optimizations:
      - In prepare for drop, flush key blocks
      - Don't call mi_lock_database if my_disable_locking is used
      ******
      Automatic merge with trunc
      ******
      Updated documentation files to reflect MariaDB and not the Maria storage engine or MySQL
      Added (rewritten) patch from Percona to get extended statistics in slow.log:
      - Added handling of 'set' variables to set_var.cc. Changed sql_mode to use this
      - Added extra logging to slow log of 'Thread_id, Schema, Query Cache hit, Rows sent and Rows examined'
      - Added optional logging to slow log, through log_slow_verbosity, of query plan statistics
      - Added new user variables log_slow_rate_limit, log_slow_verbosity, log_slow_filter
      - Added log-slow-file as synonym for 'slow-log-file', as most slow-log variables starts with 'log-slow'
      - Added log-slow-time as synonym for long-query-time
      Some trivial MyISAM optimizations:
      - In prepare for drop, flush key blocks
      - Don't call mi_lock_database if my_disable_locking is used
      
      
      KNOWN_BUGS.txt:
        Updated file to reflect MariaDB and not the Maria storage engine
        ******
        Updated file to reflect MariaDB and not the Maria storage engine
      README:
        Updated file to reflect MariaDB
        ******
        Updated file to reflect MariaDB
      mysql-test/r/log_slow.result:
        Test new options for slow query log
        ******
        Test new options for slow query log
      mysql-test/r/variables.result:
        Updated result (old version cut of things at 79 characters)
        ******
        Updated result (old version cut of things at 79 characters)
      mysql-test/t/log_slow.test:
        Test new options for slow query log
        ******
        Test new options for slow query log
      sql/Makefile.am:
        Added log_slow.h
        ******
        Added log_slow.h
      sql/event_data_objects.cc:
        Removed not needed test for enable_slow_log (is done when the flag is tested elsewhere)
        ******
        Removed not needed test for enable_slow_log (is done when the flag is tested elsewhere)
      sql/events.cc:
        Use the general make_set() function instead of 'symbolic_mode_representation'
        ******
        Use the general make_set() function instead of 'symbolic_mode_representation'
      sql/filesort.cc:
        Added status for used query plans
        ******
        Added status for used query plans
      sql/log.cc:
        Reset counters if no query_length (from Percona's patch; Not sure if needed, but can do no harm)
        Added extra logging to slow log of 'Thread_id, Schema, Query Cache hit, Rows sent and Rows examined'
        Added optional logging to slow log, through log_slow_verbosity, of query plan statistics
        Fixed wrong test of error condition
        ******
        Reset counters if no query_length (from Percona's patch; Not sure if needed, but can do no harm)
        Added extra logging to slow log of 'Thread_id, Schema, Query Cache hit, Rows sent and Rows examined'
        Added optional logging to slow log, through log_slow_verbosity, of query plan statistics
        Fixed wrong test of error condition
      sql/log_slow.h:
        Defines and variables for log_slow_verbosity and log_slow_filter
        ******
        Defines and variables for log_slow_verbosity and log_slow_filter
      sql/mysql_priv.h:
        Include log_slow.h
        ******
        Include log_slow.h
      sql/mysqld.cc:
        Added new user variables log_slow_rate_limit, log_slow_verbosity, log_slow_filter
        Added log-slow-file as synonym for 'slow-log-file', as most slow-log variables starts with 'log-slow'
        Added log-slow-time as synonym for long-query-time
        Added note that one should use log-slow-filter instead of log-slow-admin-statements
        Updated comment from 'slow_query_log_file'
        
        
        ******
        Added new user variables log_slow_rate_limit, log_slow_verbosity, log_slow_filter
        Added log-slow-file as synonym for 'slow-log-file', as most slow-log variables starts with 'log-slow'
        Added log-slow-time as synonym for long-query-time
        Added note that one should use log-slow-filter instead of log-slow-admin-statements
        Updated comment from 'slow_query_log_file'
      sql/set_var.cc:
        Added long_slow_time as synonym for long_query_time
        Added new user variables log_slow_rate_limit, log_slow_verbosity, log_slow_filter
        dded handling of 'set' variables to set_var.cc. Changed sql_mode to use this
        ******
        Added long_slow_time as synonym for long_query_time
        Added new user variables log_slow_rate_limit, log_slow_verbosity, log_slow_filter
        dded handling of 'set' variables to set_var.cc. Changed sql_mode to use this
      sql/set_var.h:
        - Added handling of 'set' variables. Changed sql_mode to use this
        ******
        - Added handling of 'set' variables. Changed sql_mode to use this
      sql/slave.cc:
        Use global filter also for slaves
        ******
        Use global filter also for slaves
      sql/sp_head.cc:
        Simplify saving of general_slow_log state
        Use the general make_set() function instead of 'symbolic_mode_representation'
        
        ******
        Simplify saving of general_slow_log state
        Use the general make_set() function instead of 'symbolic_mode_representation'
      sql/sql_cache.cc:
        Added status for used query plans
        ******
        Added status for used query plans
      sql/sql_class.cc:
        Remember/restore query_plan_flags over complex statements
        ******
        Remember/restore query_plan_flags over complex statements
      sql/sql_class.h:
        Added variables to handle extended slow log statistics
        ******
        Added variables to handle extended slow log statistics
      sql/sql_parse.cc:
        Added status for used query plans
        Added test for filtering slow_query_log
        ******
        Added status for used query plans
        Added test for filtering slow_query_log
      sql/sql_select.cc:
        Added status for used query plans
        ******
        Added status for used query plans
      sql/sql_show.cc:
        Use the general make_set() function instead of 'symbolic_mode_representation'
        ******
        Use the general make_set() function instead of 'symbolic_mode_representation'
      sql/strfunc.cc:
        Report first error (not last) if something is wrong in a set
        Removed compiler warning
        ******
        Report first error (not last) if something is wrong in a set
        Removed compiler warning
      storage/myisam/mi_extra.c:
        In prepare for drop, flush key blocks (speed optimization)
        ******
        In prepare for drop, flush key blocks (speed optimization)
      storage/myisam/mi_locking.c:
        Don't call mi_lock_database if my_disable_locking is used (speed optimization)
        ******
        Don't call mi_lock_database if my_disable_locking is used (speed optimization)
      f417c043
    • Michael Widenius's avatar
      Updated documentation files to reflect MariaDB and not the Maria storage engine or MySQL · cd3047fc
      Michael Widenius authored
      Added (rewritten) patch from Percona to get extended statistics in slow.log:
      - Added handling of 'set' variables to set_var.cc. Changed sql_mode to use this
      - Added extra logging to slow log of 'Thread_id, Schema, Query Cache hit, Rows sent and Rows examined'
      - Added optional logging to slow log, through log_slow_verbosity, of query plan statistics
      - Added new user variables log_slow_rate_limit, log_slow_verbosity, log_slow_filter
      - Added log-slow-file as synonym for 'slow-log-file', as most slow-log variables starts with 'log-slow'
      - Added log-slow-time as synonym for long-query-time
      Some trivial MyISAM optimizations:
      - In prepare for drop, flush key blocks
      - Don't call mi_lock_database if my_disable_locking is used
      
      KNOWN_BUGS.txt:
        Updated file to reflect MariaDB and not the Maria storage engine
      README:
        Updated file to reflect MariaDB
      mysql-test/r/log_slow.result:
        Test new options for slow query log
      mysql-test/r/variables.result:
        Updated result (old version cut of things at 79 characters)
      mysql-test/t/log_slow.test:
        Test new options for slow query log
      sql/Makefile.am:
        Added log_slow.h
      sql/event_data_objects.cc:
        Removed not needed test for enable_slow_log (is done when the flag is tested elsewhere)
      sql/events.cc:
        Use the general make_set() function instead of 'symbolic_mode_representation'
      sql/filesort.cc:
        Added status for used query plans
      sql/log.cc:
        Reset counters if no query_length (from Percona's patch; Not sure if needed, but can do no harm)
        Added extra logging to slow log of 'Thread_id, Schema, Query Cache hit, Rows sent and Rows examined'
        Added optional logging to slow log, through log_slow_verbosity, of query plan statistics
        Fixed wrong test of error condition
      sql/log_slow.h:
        Defines and variables for log_slow_verbosity and log_slow_filter
      sql/mysql_priv.h:
        Include log_slow.h
      sql/mysqld.cc:
        Added new user variables log_slow_rate_limit, log_slow_verbosity, log_slow_filter
        Added log-slow-file as synonym for 'slow-log-file', as most slow-log variables starts with 'log-slow'
        Added log-slow-time as synonym for long-query-time
        Added note that one should use log-slow-filter instead of log-slow-admin-statements
        Updated comment from 'slow_query_log_file'
      sql/set_var.cc:
        Added long_slow_time as synonym for long_query_time
        Added new user variables log_slow_rate_limit, log_slow_verbosity, log_slow_filter
        dded handling of 'set' variables to set_var.cc. Changed sql_mode to use this
      sql/set_var.h:
        - Added handling of 'set' variables. Changed sql_mode to use this
      sql/slave.cc:
        Use global filter also for slaves
      sql/sp_head.cc:
        Simplify saving of general_slow_log state
        Use the general make_set() function instead of 'symbolic_mode_representation'
      sql/sql_cache.cc:
        Added status for used query plans
      sql/sql_class.cc:
        Remember/restore query_plan_flags over complex statements
      sql/sql_class.h:
        Added variables to handle extended slow log statistics
      sql/sql_parse.cc:
        Added status for used query plans
        Added test for filtering slow_query_log
      sql/sql_select.cc:
        Added status for used query plans
      sql/sql_show.cc:
        Use the general make_set() function instead of 'symbolic_mode_representation'
      sql/strfunc.cc:
        Report first error (not last) if something is wrong in a set
        Removed compiler warning
      storage/myisam/mi_extra.c:
        In prepare for drop, flush key blocks (speed optimization)
      storage/myisam/mi_locking.c:
        Don't call mi_lock_database if my_disable_locking is used (speed optimization)
      cd3047fc
  2. 02 Sep, 2009 2 commits
  3. 01 Sep, 2009 4 commits
    • Sergey Petrunya's avatar
      Merge · 2656709a
      Sergey Petrunya authored
      2656709a
    • Sergey Petrunya's avatar
      Merge · 34d901c0
      Sergey Petrunya authored
      34d901c0
    • Sergey Petrunya's avatar
      MWL#17: Table elimination · 24c2fea6
      Sergey Petrunya authored
      - Address review feedback R4: better comments, formatting
      
      24c2fea6
    • Sergey Petrunya's avatar
      Trivial fixes for windows compile failures · d841ea23
      Sergey Petrunya authored
      - Add strmov_overlapp.c where it's needed
      - Add libevent where it is required
      - Fix typo in unittest/mysys/waiting_threads-t.c
      - fix xtradb C language source so that they have variable declarations before
        any operators, as it is (or was?) required in C.
      
      libmysql/CMakeLists.txt:
        - Add strmov_overlapp.c where it's needed
      sql/CMakeLists.txt:
        - Add strmov_overlapp.c where it's needed
        - Add libevent where it is required
      storage/xtradb/btr/btr0cur.c:
        - fix xtradb C language source so that they have variable declarations before
          any operators, as it is (or was?) required in C.
      storage/xtradb/buf/buf0buddy.c:
        - fix xtradb C language source so that they have variable declarations before
          any operators, as it is (or was?) required in C.
      storage/xtradb/buf/buf0flu.c:
        - fix xtradb C language source so that they have variable declarations before
          any operators, as it is (or was?) required in C.
      storage/xtradb/fil/fil0fil.c:
        - fix xtradb C language source so that they have variable declarations before
          any operators, as it is (or was?) required in C.
      storage/xtradb/handler/i_s.cc:
        - fix xtradb C language source so that they have variable declarations before
          any operators, as it is (or was?) required in C.
      storage/xtradb/srv/srv0srv.c:
        - fix xtradb C language source so that they have variable declarations before
          any operators, as it is (or was?) required in C.
      strings/CMakeLists.txt:
        - Add strmov_overlapp.c where it's needed
      unittest/mysys/waiting_threads-t.c:
        - Fix typo in unittest/mysys/waiting_threads-t.c
      d841ea23
  4. 31 Aug, 2009 3 commits
    • Sergey Petrunya's avatar
      MWL#17: Table-elimination · d762bf21
      Sergey Petrunya authored
      - Addressing review feedback, generation 4.
      
      include/my_global.h:
        Make ALIGN_PTR's action correspond to that of ALIGN_SIZE
      sql/item.cc:
        MWL#17: Table-elimination
        - Review feedback: function renames, better comments
      sql/item.h:
        MWL#17: Table-elimination
        - Review feedback: function renames, better comments
      sql/item_cmpfunc.cc:
        MWL#17: Table-elimination
        - Review feedback: function renames, better comments
      sql/item_subselect.cc:
        MWL#17: Table-elimination
        - Review feedback: function renames, better comments
      sql/item_subselect.h:
        MWL#17: Table-elimination
        - Review feedback: function renames, better comments
      sql/opt_table_elimination.cc:
        MWL#17: Table-elimination
        - Addressing review feedback, generation 4: abstract everything in case
          we would need to change it for something else in the future.
      sql/sql_list.h:
        MWL#17: Table-elimination
        - Introduce exchange_sort(List<T> ...) template function
      sql/sql_select.cc:
        MWL#17: Table-elimination
        - Review feedback: function renames, better comments
      d762bf21
    • unknown's avatar
      Merge Paul's maria-pbxt-rc2 branch into MariaDB. · 177f0249
      unknown authored
      Includes disabling PBMS (per Paul's recommendation) and test file fixes.
      Signed-off-by: default avatarKristian Nielsen <knielsen@knielsen-hq.org>
      177f0249
    • unknown's avatar
      PBXT merge fixes. · 12ca4899
      unknown authored
       - Disable PBMS in MariaDB (as per recommendation of Paul).
       - Add missing *-master.opt files to make testsuite work on case-sensitive file systems.
       - Result file updates.
      12ca4899
  5. 29 Aug, 2009 2 commits
  6. 26 Aug, 2009 1 commit
    • Sergey Petrunya's avatar
      MWL#17: Table elimination: · 005c24e9
      Sergey Petrunya authored
      - Fix a trivial problem when OR-merging two multi-equalities
      - Amend testsuite to provide full gcov coverage
      
      mysql-test/r/table_elim.result:
        MWL#17: Table elimination:
        - Amend testsuite to provide full gcov coverage
      mysql-test/t/table_elim.test:
        MWL#17: Table elimination:
        - Amend testsuite to provide full gcov coverage
      005c24e9
  7. 25 Aug, 2009 4 commits
    • Sergey Petrunya's avatar
      Gcov support improvements · c4834377
      Sergey Petrunya authored
      - add process-gcov-annotations.pl script that processes .gcov files 
        according to purecov annotations in source code
      - add --gcov-src-dir=subdir option to mysql-test-run so that one can
        do gcov processing only for source files in a certain directory.
      
      c4834377
    • Sergey Petrunya's avatar
      MWL#17: Table elimination · 0e7a18e4
      Sergey Petrunya authored
      - Mark gcov deadcode
      
      0e7a18e4
    • Sergey Petrunya's avatar
      MWL#17: Table elimination · de41681a
      Sergey Petrunya authored
      - More test coverage
      - Remove unused code
      
      de41681a
    • Sergey Petrunya's avatar
      MWL#17: Table elimination · 9400700b
      Sergey Petrunya authored
      - Add more testcases.
      - Fix trivial compile failure
      - Remove handling of "column IN (one_element)". This is converted to equality 
        elsewhere
      
      mysql-test/r/table_elim.result:
        MWL#17: Table elimination
        - Add more testcases.
        - Fix trivial compile failure
      mysql-test/t/table_elim.test:
        MWL#17: Table elimination
        - Add more testcases
      sql/mysqld.cc:
        MWL#17: Table elimination
        - Fix trivial compile failure
      sql/opt_table_elimination.cc:
        MWL#17: Table elimination
        - Add more testcases.
        - Remove handling of "column IN (one_element)".This is converted to equality 
          elsewhere
      9400700b
  8. 24 Aug, 2009 2 commits
    • Sergey Petrunya's avatar
      MWL#17: Table elimination: last fixes · d294aae6
      Sergey Petrunya authored
      - Add an @@optimizer_switch flag for table_elimination for debug build
      - Better comments 
      
      mysql-test/t/index_merge_myisam.test:
        MWL#17: Table elimination: last fixes
        - Add an @@optimizer_switch flag for table_elimination for debug build
      sql/mysql_priv.h:
        MWL#17: Table elimination: last fixes
        - Add an @@optimizer_switch flag for table_elimination for debug build
      sql/mysqld.cc:
        MWL#17: Table elimination: last fixes
        - Add an @@optimizer_switch flag for table_elimination for debug build
      d294aae6
    • Sergey Petrunya's avatar
      MWL#17: Table elimination · 21d25739
      Sergey Petrunya authored
      - Correctly handle the case where we have multi-table DELETE and a table
        that we're deleting from looks like it could be eliminated.
      
      21d25739
  9. 21 Aug, 2009 2 commits
    • Sergey Petrunya's avatar
      MWL#17: Table elimination · f3d0b1c0
      Sergey Petrunya authored
      - Remove a piece of code that's not needed anymore.
      
      f3d0b1c0
    • Sergey Petrunya's avatar
      MWL#17: Table elimination · 9c133680
      Sergey Petrunya authored
      - More testcases
      - Set correct dependencies for non-bound multi-equalities.
      
      mysql-test/r/table_elim.result:
        MWL#17: Table elimination
        - More testcases
      mysql-test/t/table_elim.test:
        MWL#17: Table elimination
        - More testcases
      sql/opt_table_elimination.cc:
        MWL#17: Table elimination
        - Set correct dependencies for non-bound multi-equalities.
      9c133680
  10. 20 Aug, 2009 1 commit
  11. 19 Aug, 2009 2 commits
  12. 18 Aug, 2009 5 commits
  13. 17 Aug, 2009 4 commits
  14. 16 Aug, 2009 6 commits