1. 16 Nov, 2009 1 commit
    • Michael Widenius's avatar
      Safety change to ensure read/black trees (used with heap tables) works on 64... · 815b9fed
      Michael Widenius authored
      Safety change to ensure read/black trees (used with heap tables) works on 64 bit setups where ulong <> size_t
      Don't retry test cases by default
      Fixed bug where we could (under unlikely error conditions) access not initialized variable
      
      include/my_tree.h:
        Safety change to ensure read/black trees (used with heap tables) works on 64 bit setups where ulong <> size_t
        (Pointed out by Bryan Aker)
      mysql-test/mysql-test-run.pl:
        Don't retry test cases by default
        This makes it too easy to miss failures and we have anyway to fix race conditions, not ignore them.
      mysys/tree.c:
        Safety change to ensure read/black trees (used with heap tables) works on 64 bit setups where ulong <> size_t
      sql/sql_delete.cc:
        Fixed bug where we could (under unlikely error conditions) access not initialized variable.
        (Pointed out by Bryan Aker)
      815b9fed
  2. 14 Nov, 2009 3 commits
  3. 13 Nov, 2009 3 commits
  4. 11 Nov, 2009 2 commits
  5. 10 Nov, 2009 2 commits
  6. 07 Nov, 2009 2 commits
  7. 06 Nov, 2009 2 commits
  8. 05 Nov, 2009 1 commit
  9. 03 Nov, 2009 2 commits
  10. 02 Nov, 2009 2 commits
  11. 01 Nov, 2009 3 commits
  12. 31 Oct, 2009 2 commits
  13. 30 Oct, 2009 5 commits
  14. 29 Oct, 2009 2 commits
    • Sergey Petrunya's avatar
      MWL#17: Table elimination · 1d135003
      Sergey Petrunya authored
      - add debug tests (were accidentally not pushed with the bulk of WL)
      
      1d135003
    • Michael Widenius's avatar
      Compile by default MySQL clients with libmysqldclient.a (not .so) · 664fa25e
      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
      664fa25e
  15. 28 Oct, 2009 2 commits
  16. 26 Oct, 2009 3 commits
    • Michael Widenius's avatar
      Added symbolic link to from scripts/mysql_install_db to bin to address a documented problem · b587e79b
      Michael Widenius authored
      Test if libexec exists, to go around problem if configure was done with --libexecdir=/usr/local/mysql/bin
      b587e79b
    • Michael Widenius's avatar
      Automatic merge with maria-merge · f3e3fe86
      Michael Widenius authored
      f3e3fe86
    • Michael Widenius's avatar
      Fixed compiler warning message · 5bddbc44
      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)
      5bddbc44
  17. 23 Oct, 2009 3 commits
    • Michael Widenius's avatar
      Automatic merge · b9ea90b0
      Michael Widenius authored
      b9ea90b0
    • Michael Widenius's avatar
      Fixes for binary distribution in tar file · afd0a456
      Michael Widenius authored
      - mysql_install_db doesn't require --basedir option anymore
      - Fix that mysql_install_db mysqld_safe mysql_fix_privilege_tables has right paths for tar binary install
      - Move some files from share/mysql to where they have always been (1.0 - 5.0)
      - Move scripts used when installing MariaDB to the scripts directory (Added symlinks in old place for compatibility)
      - Move man files to 'man' (from 'share/man')
      - Ensure that all scripts are executable
      
      mysql_secure_installation.sh
      - Added support for --basedir flag
      - Don't assume that the mysql binary is in the path
      
      Other:
      - Fixed crash when one got kill signal during bootstrap
      
      Docs/INSTALL-BINARY:
        Change references from MySQL to MariaDB
      Docs/mysql.info:
        Change references from MySQL to MariaDB
      README:
        Removed duplicate row
      configure.in:
        Change references from MySQL to MariaDB
      libmysql/libmysql.c:
        Assume that if version string contains '-maria-' we are also using MariaDB
      scripts/make_binary_distribution.sh:
        Fix that mysql_install_db mysqld_safe mysql_fix_privilege_tables has right paths for tar binary install
        Remove some files that should not be part of a MariaDB binary install
        Move some files from share/mysql to where they have always been (1.0 - 5.0)
        Move man files to 'man' (from 'share/man')
        Move scripts used when installing MariaDB to the scripts directory (Added symlinks in old place for compatibility)
        Removed generation of 'netware/init_db.sql', as it was never used
        Remove old reference to bk tree
      scripts/mysql_secure_installation.sh:
        Added support for --basedir flag
        Don't assume that the mysql binary is in the path
        Use .my.cnf files
        Removed a lot of useless 'echo' rows
      sql/mysqld.cc:
        Fixed crash when one got kill signal during bootstrap
      storage/maria/Makefile.am:
        Don't add internal test files to binary distributions
      storage/myisam/Makefile.am:
        Don't add internal test files to binary distributions
      support-files/Makefile.am:
        Make scripts executable
      support-files/config.huge.ini.sh:
        Removed execution bit
      support-files/config.medium.ini.sh:
        Removed execution bit
      support-files/config.small.ini.sh:
        Removed execution bit
      support-files/mysql.server.sh:
        Ensure this works also mysqld is in the 'bin' directory
      afd0a456
    • unknown's avatar
      Merge Peter Lieverdink's fixes: · b9f5aba8
      unknown authored
       - configtest target in rc script.
       - type fix usefull -> useful.
      b9f5aba8