1. 15 Dec, 2009 5 commits
    • Sergey Petrunya's avatar
      Add ds_mrr.cc to CMakeLists.txt · 43363ab0
      Sergey Petrunya authored
      43363ab0
    • Sergey Petrunya's avatar
      Fix compile failure · 449f98cc
      Sergey Petrunya authored
      449f98cc
    • Sergey Petrunya's avatar
      Backport into MariaDB-5.2 the following: · d5e46ce3
      Sergey Petrunya authored
      WL#2474 "Multi Range Read: Change the default MRR implementation to implement new MRR interface"
      WL#2475 "Batched range read functions for MyISAM/InnoDb"
              "Index condition pushdown for MyISAM/InnoDB"
      - Adjust test results (checked)
      - Code cleanup.
      d5e46ce3
    • Sergey Petrunya's avatar
      Backport into MariaDB-5.2 the following: · d06aba58
      Sergey Petrunya authored
      WL#2474 "Multi Range Read: Change the default MRR implementation to implement new MRR interface"
      WL#2475 "Batched range read functions for MyISAM/InnoDb"
              "Index condition pushdown for MyISAM/InnoDB"
      - Fix valgrind failures
      d06aba58
    • Sergey Petrunya's avatar
      Backport into MariaDB-5.2 the following: · 3bb037aa
      Sergey Petrunya authored
      WL#2474 "Multi Range Read: Change the default MRR implementation to implement new MRR interface"
      WL#2475 "Batched range read functions for MyISAM/InnoDb"
              "Index condition pushdown for MyISAM/InnoDB"
      Igor's fix from sp1r-igor@olga.mysql.com-20080330055902-07614:
        There could be observed the following problems:
        1. EXPLAIN did not mention pushdown conditions from on expressions in the 
        'extra' column.  As a result if a query had no where conditions pushed 
        down to a table, but had on conditions pushed to this table the 'extra' 
        column in the EXPLAIN for the table missed 'using where'.
        2. Conditions for ref access were not eliminated from on expressions 
        though such conditions were eliminated from the where condition.
      3bb037aa
  2. 12 Nov, 2009 1 commit
  3. 10 Nov, 2009 1 commit
  4. 07 Nov, 2009 1 commit
  5. 06 Nov, 2009 2 commits
  6. 05 Nov, 2009 1 commit
  7. 04 Nov, 2009 1 commit
  8. 03 Nov, 2009 2 commits
  9. 02 Nov, 2009 2 commits
  10. 01 Nov, 2009 3 commits
  11. 31 Oct, 2009 2 commits
  12. 30 Oct, 2009 5 commits
  13. 29 Oct, 2009 2 commits
    • Sergey Petrunya's avatar
      MWL#17: Table elimination · d2c45ebc
      Sergey Petrunya authored
      - add debug tests (were accidentally not pushed with the bulk of WL)
      d2c45ebc
    • Michael Widenius's avatar
      Compile by default MySQL clients with libmysqldclient.a (not .so) · 20c433a6
      Michael Widenius authored
      This makes them suitable for tar archices right away and also are easier to copy
      Don't disable federated storage engine by default.
      Don't allow one to disable the Maria storage engine if it's used for temp tables
      
      BUILD/SETUP.sh:
        Compile by default MySQL clients with libmysqldclient.a (not .so)
        This makes them suitable for tar archices right away and also are easier to copy
      scripts/make_binary_distribution.sh:
        Abort it clients are compiled with the shared libmysqlclient.so library
      sql/mysqld.cc:
        Don't call kill_mysql() if signal handler is not setup (causes a core dump).
        This is only relevant when starting with --gdb.
      sql/sql_plugin.cc:
        Don't disable federated storage engine by default.
        Don't allow one to disable the Maria storage engine if it's used for temp tables
      20c433a6
  14. 28 Oct, 2009 4 commits
  15. 27 Oct, 2009 1 commit
  16. 26 Oct, 2009 5 commits
    • Igor Babaev's avatar
      Merge of the latest 5.1 changes. · c0cc3e70
      Igor Babaev authored
      c0cc3e70
    • Michael Widenius's avatar
      Added symbolic link to from scripts/mysql_install_db to bin to address a documented problem · b7b5fd3f
      Michael Widenius authored
      Test if libexec exists, to go around problem if configure was done with --libexecdir=/usr/local/mysql/bin
      b7b5fd3f
    • Michael Widenius's avatar
    • Michael Widenius's avatar
      Automatic merge with maria-merge · 19413d4b
      Michael Widenius authored
      19413d4b
    • Michael Widenius's avatar
      Fixed compiler warning message · a46bb97d
      Michael Widenius authored
      - Added checking of return value for system(), freopen(), fgets() and chown()
      - Ensure that calls that require a format strings gets a format string
      - Other trivial things
      Updated test suite results (especially for pbxt and embedded server)
      Removed warning for "Invalid (old?) table or database name 'mysqld.1'" from pbxt tests
      Speed up some pbxt tests by inserting begin ; commit; around "while loops with inserts"
      Added mysqld startup option '--debug-flush'
      Create maria_recovery.trace in data directory instead of current directory
      
      client/mysql.cc:
        Check return value from system()
      client/mysql_upgrade.c:
        Check return value from fgets()
      client/mysqladmin.cc:
        Check return value from fgets()
      client/mysqlslap.c:
        Check return value from system() (but ignore it, as it's not critical)
      extra/yassl/src/crypto_wrapper.cpp:
        Check return value from fgets() (but ignore it, as it's internal file)
      extra/yassl/taocrypt/src/aes.cpp:
        Added extra {} to remove compiler warning
      extra/yassl/taocrypt/src/blowfish.cpp:
        Added extra {} to remove compiler warning
      extra/yassl/taocrypt/src/misc.cpp:
        Ifdef not used code
      include/mysys_err.h:
        Added error message for failing chown()
      mysql-test/mysql-test-run.pl:
        Don't give warning for skipping ndbcluster (never enabled in MariaDB)
      mysql-test/suite/funcs_1/r/is_columns_is_embedded.result:
        Update with new information schema information
      mysql-test/suite/funcs_1/r/is_tables_is_embedded.result:
        New test
      mysql-test/suite/funcs_1/r/is_tables_myisam_embedded.result:
        Update test results (has not been tested for a long time)
      mysql-test/suite/funcs_1/r/is_tables_mysql_embedded.result:
        Update test results (has not been tested for a long time)
      mysql-test/suite/funcs_1/t/is_tables_is.test:
        Don't run with embedded server (as results differ)
        I added a new test for embedded server
      mysql-test/suite/funcs_1/t/is_tables_is_embedded.test:
        New test
      mysql-test/suite/pbxt/my.cnf:
        Allow one to run pbxt tests without having to specify --mysqld=--default-storage-engine=pbxt
      mysql-test/suite/pbxt/t/count_distinct3.test:
        Speed up test by inserting begin; ... commit;
      mysql-test/suite/pbxt/t/subselect.test:
        Speed up test by inserting begin; ... commit;
      mysys/errors.c:
        Added error message for failing chown()
      mysys/my_copy.c:
        Added error message for failing chown()
      mysys/my_redel.c:
        Added error message for failing chown()
      mysys/safemalloc.c:
        Added cast to get rid of compiler warning
      sql/ha_partition.cc:
        Fixed wrong argument to sql_print_error() (it requires a format string)
      sql/log.cc:
        Test return value of freopen()
      sql/mysqld.cc:
        Test return value of freopen()
        Added startup option '--debug-flush' to be used when one gets a core dump (easy to explain to people on IRC)
      sql/rpl_rli.cc:
        Fixed wrong argument to sql_print_error() (it requires a format string)
      sql/set_var.cc:
        Added {} to get rid of compiler warnings
      sql/slave.cc:
        Fixed wrong argument to mi->report() and sql_print...() (they require a format string)
      sql/sql_cache.cc:
        Fixed wrong argument to sql_printinformation() (it requires a format string)
      sql/sql_parse.cc:
        Test return value of fgets()
      sql/sql_plugin.cc:
        Fixed wrong argument to sql_print_error() (it requires a format string)
      sql/sql_select.cc:
        Use unique table name for internal temp tables instead of full path
        (Simple speed & space optimization)
      sql/udf_example.c:
        Removed compiler warning about not used variable
      storage/maria/ha_maria.cc:
        Fixed wrong argument to sql_print_error() and ma_check_print_error() (they require a format string)
      storage/maria/ma_recovery.c:
        Create maria_recovery.trace in data directory instead of current directory
      storage/maria/unittest/ma_test_loghandler-t.c:
        Fixed wrong argument to ok();  Requires a format string
      storage/pbxt/src/strutil_xt.cc:
        Detect temporary tables by checking if that path for the table is in the mysql data directory.
        The database for temporary tables is after this patch, from PBXT point of view, ""
        This is needed to stop PBXT from calling filename_to_tablename() with the base directory as an argument, which caused
        ERROR: Invalid (old?) table or database name 'mysqld.1'" in the log when running the test suite.
      tests/mysql_client_test.c:
        Fixed compiler warnings
      unittest/mysys/base64-t.c:
        Fixed wrong argument to diag() (it requires a format string)
        Added a comment that the current 'print' of differing buffers doesn't print the right thing,
        but didn't fix this as it's not important (unless we find a bug in the real code)
      a46bb97d
  17. 24 Oct, 2009 2 commits
    • Sergey Petrunya's avatar
      MWL#36: Add a mysqlbinlog option to change the used database · cff27c6b
      Sergey Petrunya authored
      - Apply Alexander Ivanov's fix to testsuite
      cff27c6b
    • Sergey Petrunya's avatar
      MWL#36: Add a mysqlbinlog option to change the used database · e1e10417
      Sergey Petrunya authored
      - Review fixes
      
      client/Makefile.am:
        - Make it build on Linux
      client/mysqlbinlog.cc:
        - Coding style fixes
        - Better/more comments
        - Use client/sql_string.*, not server's sql/sql_string.*.
        - Don't declare a dummy TABLE_LIST structure in the client.
      client/sql_string.h:
        - Use client/sql_string.*, not server's sql/sql_string.*.
      sql/log_event.cc:
        = Fix coding style
        = Introduce Log_event::event_owns_temp_buf which tells whether Log_event::temp_buf is 'owned' by the Log_event object and should be my_free'd on return. 
        This is needed because rewrite_db() needs to dispose of the buffer, and 
        - when mysqlbinlog is reading directly from binlog file, the buffer 
          should be freed
        - when mysqlbinlog is reading from a server, the buffer is a part of network
          buffer and shouldn't be freed.
      sql/log_event.h:
        Introduce Log_event::event_owns_temp_buf which tells whether Log_event::temp_buf is 'owned' by the Log_event object and should be my_free'd on return. 
        This is needed because rewrite_db() needs to dispose of the buffer, and 
        - when mysqlbinlog is reading directly from binlog file, the buffer 
          should be freed
        - when mysqlbinlog is reading from a server, the buffer is a part of network
          buffer and shouldn't be freed.
      sql/mysqld.cc:
        - Better/more comments
      sql/rpl_filter.cc:
        - #ifdef-out Rpl_filter::tables_ok from the client. This allows not 
          to define dummy TABLE_LIST on the client
      sql/rpl_filter.h:
        - #ifdef-out Rpl_filter::tables_ok from the client. This allows not 
          to define dummy TABLE_LIST on the client
      sql/sql_string.cc:
        - Use client/sql_string.*, not server's sql/sql_string.*.
      sql/sql_string.h:
        - Use client/sql_string.*, not server's sql/sql_string.*.
      e1e10417