1. 04 Jan, 2010 1 commit
  2. 27 Dec, 2009 1 commit
    • Michael Widenius's avatar
      Fix test suite so that it works when doing configure --without-uca · 85d78b62
      Michael Widenius authored
      Simplify testing of needed characterset
      Remove ndb from --with-plugins=max build
      mysqlbug now sends email to maria-developers@lists.launchpad.net
      
      client/mysqltest.cc:
        SKIP now expands variables (for better error messages)
      mysql-test/include/have_big5.inc:
        Simplify by using have_collation.inc
      mysql-test/include/have_collation.inc:
        Test if '$collation' is supported
      mysql-test/include/have_cp1250_ch.inc:
        Simplify by using have_collation.inc
      mysql-test/include/have_cp1251.inc:
        Simplify by using have_collation.inc
      mysql-test/include/have_cp866.inc:
        Simplify by using have_collation.inc
      mysql-test/include/have_cp932.inc:
        Simplify by using have_collation.inc
      mysql-test/include/have_eucjpms.inc:
        Simplify by using have_collation.inc
      mysql-test/include/have_euckr.inc:
        Simplify by using have_collation.inc
      mysql-test/include/have_gb2312.inc:
        Simplify by using have_collation.inc
      mysql-test/include/have_gbk.inc:
        Simplify by using have_collation.inc
      mysql-test/include/have_koi8r.inc:
        Simplify by using have_collation.inc
      mysql-test/include/have_latin2_ch.inc:
        Simplify by using have_collation.inc
      mysql-test/include/have_sjis.inc:
        Simplify by using have_collation.inc
      mysql-test/include/have_tis620.inc:
        Simplify by using have_collation.inc
      mysql-test/include/have_ucs2.inc:
        Simplify by using have_collation.inc
      mysql-test/include/have_ujis.inc:
        Simplify by using have_collation.inc
      mysql-test/include/have_utf8.inc:
        Simplify by using have_collation.inc
      mysql-test/r/create-uca.result:
        Create tests that uses unicode
      mysql-test/r/create.result:
        Move test with unicode to create-uca.test
      mysql-test/r/have_big5.require:
        Not needed anymore
      mysql-test/r/have_cp1250_ch.require:
        Not needed anymore
      mysql-test/r/have_cp1251.require:
        Not needed anymore
      mysql-test/r/have_cp866.require:
        Not needed anymore
      mysql-test/r/have_cp932.require:
        Not needed anymore
      mysql-test/r/have_eucjpms.require:
        Not needed anymore
      mysql-test/r/have_euckr.require:
        Not needed anymore
      mysql-test/r/have_gb2312.require:
        Not needed anymore
      mysql-test/r/have_gbk.require:
        Not needed anymore
      mysql-test/r/have_koi8r.require:
        Not needed anymore
      mysql-test/r/have_latin2_ch.require:
        Not needed anymore
      mysql-test/r/have_sjis.require:
        Not needed anymore
      mysql-test/r/have_tis620.require:
        Not needed anymore
      mysql-test/r/have_ucs2.require:
        Not needed anymore
      mysql-test/r/have_ujis.require:
        Not needed anymore
      mysql-test/r/have_utf8.require:
        Not needed anymore
      mysql-test/r/innodb.result:
        Move tests that depends on unicode to innodb_utf8.test
      mysql-test/r/innodb_utf8.result:
        Test moved from innodb.test
      mysql-test/suite/rpl/t/rpl_ignore_table.test:
        Test for required collations
      mysql-test/t/create-uca.test:
        Create tests that uses unicode
      mysql-test/t/create.test:
        Move test with unicode to create-uca.test
      mysql-test/t/ctype_utf8.test:
        Test that require unicode
      mysql-test/t/ddl_i18n_koi8r.test:
        Test for required collations
      mysql-test/t/ddl_i18n_utf8.test:
        Test for required collations
      mysql-test/t/fulltext.test:
        Test for required collations
      mysql-test/t/fulltext2.test:
        Test for required collations
      mysql-test/t/innodb.test:
        Move tests that depends on unicode to innodb_utf8.test
      mysql-test/t/innodb_utf8.test:
        Tests that uses unicode
      mysql-test/t/query_cache_ps_no_prot.test:
        Test for required collations
      mysql-test/t/query_cache_ps_ps_prot.test:
        Test for required collations
      scripts/mysqlbug.sh:
        Send emails to maria-developers@lists.launchpad.net
      storage/ndb/plug.in:
        Don't include ndb in 'max' builds
      85d78b62
  3. 21 Dec, 2009 2 commits
  4. 16 Dec, 2009 1 commit
  5. 14 Dec, 2009 1 commit
  6. 10 Dec, 2009 2 commits
  7. 09 Dec, 2009 1 commit
    • Hakan Kuecuekyilmaz's avatar
      Fix for · da65906b
      Hakan Kuecuekyilmaz authored
          Bug #494255
          Cannot run RQG due to errors in mysql-test-run.pl v1
      
      Problem was missing variable declaration. Most likely due to a merge issue.
      da65906b
  8. 07 Dec, 2009 2 commits
  9. 06 Dec, 2009 3 commits
    • Michael Widenius's avatar
      Fixed bug #49474 Replication from 4.0 to 5.1 broken · 6dd90cc9
      Michael Widenius authored
      Reviewer: knielsens
      
      
      sql/slave.cc:
        For 4.0 server (with no time_zone variable), don't stop replication but give a warning
      6dd90cc9
    • unknown's avatar
      Fix some compiler warnings. · 961821d7
      unknown authored
      Fix bad merge causing error when specifying test case in non-default suite for mysql-test-run.
      Implement the ability to add extra flags and configure options when running BUILD/xxx scripts.
      Improve unclear help text in mysql-test-run
      
      BUILD/FINISH.sh:
        Implement the ability to add extra flags and configure options when running BUILD/xxx scripts.
      BUILD/SETUP.sh:
        Implement the ability to add extra flags and configure options when running BUILD/xxx scripts.
      extra/yassl/taocrypt/include/block.hpp:
        Fix some compiler warnings.
      mysql-test/lib/mtr_cases.pm:
        Fix bad merge causing error when specifying test case in non-default suite for mysql-test-run.
        Also remove some non-essential differences to mysql version to simplify future merges.
      mysql-test/mysql-test-run.pl:
        Improve help texts.
      plugin/fulltext/plugin_example.c:
        Fix some compiler warnings.
      vio/viosslfactories.c:
        Fix some compiler warnings.
      961821d7
    • Michael Widenius's avatar
      Changed -1 row number in some warnings to 0 · 17a7debb
      Michael Widenius authored
      (-1 doesn't make sence as a row number and when doing insert / load data, first row is 1, so 0 is free to use)
      
      
      mysql-test/r/warnings.result:
        Added test for warnings with row number
      mysql-test/suite/funcs_1/r/innodb_func_view.result:
        Updated test results
      mysql-test/suite/funcs_1/r/memory_func_view.result:
        Updated test results
      mysql-test/suite/funcs_1/r/myisam_func_view.result:
        Updated test results
      mysql-test/t/warnings.test:
        Added test for warnings with row numberAdded test for warnings with row number
      sql/my_decimal.cc:
        Don't use -1 as row number
      sql/share/errmsg.txt:
        Make row numbers unsigned
      17a7debb
  10. 04 Dec, 2009 1 commit
    • Michael Widenius's avatar
      Fixed Bug#47017 rpl_timezone fails on PB-2 with mismatch error · d8e44ef5
      Michael Widenius authored
      Fixed coredump in sql_plugin.cc:intern_plugin_lock() on mysqld start with PBXT
      
      
      sql/mysqld.cc:
        Fixed coredump in sql_plugin.cc:intern_plugin_lock() on mysqld start with PBXT
      sql/share/errmsg.txt:
        Row numbers are always positive
      sql/sql_base.cc:
        Fixed race condition in lock tables when killing insert_delayed thread.
        This fixes Bug#47017 rpl_timezone fails on PB-2 with mismatch error
        (Note that the patch only adds a continue; The rest is (required) indentation changes)
      sql/sql_class.cc:
        Fixed wrong output for high end machines in outfile_loaddata.
        (Problem was that ER_TRUNCATED_WRONG_VALUE_FOR_FIELD expects ulong, not ulonglong)
      sql/sql_insert.cc:
        Ensure that if we get a lock problem with delayed_insert, the error is logged.
      d8e44ef5
  11. 03 Dec, 2009 4 commits
  12. 02 Dec, 2009 2 commits
  13. 01 Dec, 2009 6 commits
  14. 30 Nov, 2009 5 commits
    • unknown's avatar
      Merge MySQL 5.1.41 into MariaDB trunk, including a number of after-merge fixes. · db260b19
      unknown authored
      Also merge charset patch.
      db260b19
    • Michael Widenius's avatar
      Fixes after comments from last push: · 0df8279c
      Michael Widenius authored
      - Removed some not needed casts
      - Change plugin.h to be 'binary compatible' with old versions
      - Added mysql_ft_size_t typedef to plugin.h to make it trivial to change string lengths to size_t on next ABI change
      - Made some fixes suggested by Kristian to make things more portable and future safe (when it comes to strict aliasing)
      
      include/ft_global.h:
        Introduced FT_WEIGTH, to handle fulltext weights in a slightly more portable manner
      include/mysql/plugin.h:
        Change plugin.h to be 'binary compatible' with old versions
        Added mysql_ft_size_t typedef to plugin.h to make it trivial to change string lengths to size_t on next ABI change
        Changed flags to unsigned (as flags should always be unsigned)
      mysql-test/t/information_schema.test:
        Fixed typo
      sql/sp_head.cc:
        Removed cast
      sql/sql_select.cc:
        Removed cast
      sql/table.cc:
        Removed cast
      storage/maria/ma_ft_boolean_search.c:
        Use mysql_ft_size_t instead of size_t for plugin.h code
        Changed some other string lengths to size_t
      storage/maria/ma_ft_nlq_search.c:
        Use FT_WEIGTH to make code more portable
      storage/maria/ma_ft_parser.c:
        Use mysql_ft_size_t instead of size_t for plugin.h code
        Changed some other string lengths to size_t
      storage/maria/ma_ftdefs.h:
        Changed some string lengths to size_t
      storage/maria/maria_ftdump.c:
        Use FT_WEIGTH to make code more portable
      storage/myisam/ft_boolean_search.c:
        Use mysql_ft_size_t instead of size_t for plugin.h code
      storage/myisam/ft_nlq_search.c:
        Use FT_WEIGTH to make code more portable
      storage/myisam/ft_parser.c:
        Use mysql_ft_size_t instead of size_t for plugin.h code
      storage/myisam/myisam_ftdump.c:
        Use FT_WEIGTH to make code more portable
      0df8279c
    • unknown's avatar
    • Michael Widenius's avatar
      Added more general support for sorting 2 characters as one (contractions) · 4c14f9f2
      Michael Widenius authored
      Added support for Croatian sorting orders utf8_croatian_ci and ucs2_croatian_ci.
      Patch done by Alexander Barkov. See http://www.collation-charts.org/articles/croatian.htm
      
      mysql-test/r/ctype_uca.result:
        Added testing of Croatian sort order
      mysql-test/t/ctype_uca.test:
        Added testing of Croatian sort order
      4c14f9f2
    • Michael Widenius's avatar
      Automatic merge · 5d9c3014
      Michael Widenius authored
      5d9c3014
  15. 29 Nov, 2009 2 commits
    • Michael Widenius's avatar
      Ignore temporary directory · e9839d8f
      Michael Widenius authored
      e9839d8f
    • Michael Widenius's avatar
      Remove compiler warnings (Including some warnings from -Wstrict-aliasing) · d13c5435
      Michael Widenius authored
      Don't use static link by default (in compile-pentium) as some new systems doesn't have all static libraries available
      Change type for functions in plugin.h:str_mysql_ftparser_param() to const unsigned char and string lengths to size_t.
      One effect of the above change is that one needs to include mysql_global.h or define size_t before including plugin.h
      This fixes a case where mysql_client_test failed with newer gcc that enables strict-aliasing by default
      
      
      BUILD/compile-pentium:
        Don't use static link by default as some new systems doesn't have all static libraries available
      client/mysql_upgrade.c:
        Remove not used variable
      cmd-line-utils/readline/config_readline.h:
        Define some constants to get rid of compiler warnings on Linux
      cmd-line-utils/readline/display.c:
        Get rid of compiler warnings
      cmd-line-utils/readline/history.c:
        Got rid of compiler warnings:
        - Defining some strings as const
        - Added cast
      cmd-line-utils/readline/rlmbutil.h:
        Added cast to get rid of compiler warnings
      cmd-line-utils/readline/text.c:
        Remove not needed initialization to get rid of compiler warnings
      cmd-line-utils/readline/xmalloc.c:
        Changed types to 'const char* to get rid of compiler warnings
      configure.in:
        Ensure that we use MariaDB as suffix
      include/mysql/plugin.h:
        Changed types to 'const unsigned char* to get rid of compiler warnings (in other parts of the code)
        Change length for not \0 terminated string to size_t
      include/mysql/plugin.h.pp:
        Update related to plugin.h
      libmysql/libmysql.c:
        Fixed bug that caused core dump with newer gcc when strict aliasing is not turned off
      mysql-test/t/information_schema.test:
        Test is depending on innodb
      mysql-test/t/not_partition.test:
        Fixed wrong directory name
        (Not noticed before as we don't ususally run this test)
      mysys/lf_hash.c:
        Got rid of compiler warnings from -Wstrict-aliasing
      mysys/my_redel.c:
        Removed not used variable
      regex/engine.c:
        Changed types to 'const char* to get rid of compiler warnings
      regex/engine.ih:
        Changed types to 'const char* to get rid of compiler warnings
      sql/sp_head.cc:
        Got rid of compiler warning from -Wstrict-aliasing
      sql/sql_base.cc:
        Got rid of compiler warnings from -Wstrict-aliasing
        (The original code was probably wrong as nj_col->table_field was
      sql/sql_builtin.cc.in:
        plugin.h needs to have size_t defined
      sql/sql_parse.cc:
        Remove used variable
      sql/sql_select.cc:
        Got rid of compiler warnings from -Wstrict-aliasing
      sql/sql_show.cc:
        Added #ifdef to get rid of compiler warning when not using partition engine
      sql/table.cc:
        Got rid of compiler warning from -Wstrict-aliasing
      storage/maria/ha_maria.cc:
        Got rid of compiler warnings from -Wstrict-aliasing:
        - Use the thd_killed() API function
      storage/maria/lockman.c:
        Got rid of compiler warnings from -Wstrict-aliasing
      storage/maria/ma_check.c:
        Got rid of compiler warnings from -Wstrict-aliasing
        Change to use new version of _ma_killed_ptr; Don't call it as often as before
      storage/maria/ma_check_standalone.h:
        Update to compatible _ma_killed_ptr() from ha_maria.cc
      storage/maria/ma_ft_boolean_search.c:
        Changed pointers from char -> const char* and length to size_t (to get rid of compiler warnings and casts)
      storage/maria/ma_ft_nlq_search.c:
        Got rid of compiler warnings from -Wstrict-aliasing
        Ensure that 'subkeys' is 32 bit
      storage/maria/ma_ft_parser.c:
        Changed pointers from char -> const char* and length to size_t (to get rid of compiler warnings and casts)
      storage/maria/ma_ftdefs.h:
        Changed pointers from char -> const char* and length to size_t (to get rid of compiler warnings and casts)
      storage/maria/ma_sort.c:
        Change to use new version of _ma_killed_ptr; Don't call it as often as before
      storage/maria/ma_state.c:
        Got rid of compiler warnings from -Wstrict-aliasing
      storage/maria/maria_def.h:
        Redefine ma_killed_ptr()
      storage/maria/maria_ftdump.c:
        Got rid of compiler warnings from -Wstrict-aliasing
      storage/maria/trnman.c:
        Got rid of compiler warnings from -Wstrict-aliasing
      storage/myisam/ft_boolean_search.c:
        Changed pointers from char -> const char* and length to size_t (to get rid of compiler warnings and casts)
      storage/myisam/ft_nlq_search.c:
        Got rid of compiler warnings from -Wstrict-aliasing
      storage/myisam/ft_parser.c:
        Changed pointers from char -> const char* and length to size_t (to get rid of compiler warnings and casts)
      storage/myisam/ft_stopwords.c:
        Changed pointers from char -> const char* and length to size_t (to get rid of compiler warnings and casts)
      storage/myisam/ftdefs.h:
        Changed pointers from char -> const char* and length to size_t (to get rid of compiler warnings and casts)
      storage/myisam/ha_myisam.cc:
        Got rid of compiler warnings from -Wstrict-aliasing:
        - Use the thd_killed() API function
      storage/myisam/mi_check.c:
        Use new killed_ptr() function
      storage/myisam/myisam_ftdump.c:
        Got rid of compiler warnings from -Wstrict-aliasing
      storage/myisam/myisamchk.c:
        Update to compatible killed_ptr() from ha_myisam.cc
      storage/myisam/myisamdef.h:
        Redefine killed_ptr()
      storage/myisam/myisamlog.c:
        Got rid of compiler warnings from -Wstrict-aliasing
      storage/myisam/sort.c:
        Change to use new version of killed_ptr; Don't call it as often as before
      storage/xtradb/fil/fil0fil.c:
        Fixedc ompiler warning
      storage/xtradb/trx/trx0i_s.c:
        Include mysql_plugin.h later to ensure that size_t is defined
      d13c5435
  16. 27 Nov, 2009 3 commits
  17. 26 Nov, 2009 3 commits