1. 02 Apr, 2007 1 commit
    • unknown's avatar
      BUG#25729 - boolean full text search is confused by NULLs produced by · 3c763afc
      unknown authored
                  LEFT JOIN
      Fixed that in certain situations MATCH ... AGAINST returns false hits
      for NULLs produced by LEFT JOIN when there is no fulltext index
      available.
      
      
      mysql-test/r/fulltext_left_join.result:
        A test case for BUG#25729.
      mysql-test/t/fulltext_left_join.test:
        A test case for BUG#25729.
      sql/item_func.cc:
        concat_ws(NULL) returns empty string instead of NULL. There is not much
        sense to calculate relevance for empty strings, thus return 0 immediately
        if we got NULL or empty string from concat_ws.
      sql/item_func.h:
        Item_func_match::concat renamed to concat_ws.
      3c763afc
  2. 01 Feb, 2007 9 commits
    • unknown's avatar
      Merge chilla.local:/home/mydev/mysql-4.1-axmrg · cd4670a7
      unknown authored
      into  chilla.local:/home/mydev/mysql-5.0-axmrg
      
      
      BitKeeper/deleted/.del-valgrind.supp:
        Delete: mysql-test/valgrind.supp
      mysql-test/r/ps.result:
        SCCS merged
      mysql-test/r/symlink.result:
        Null merged
      mysql-test/t/ps.test:
        SCCS merged
      mysql-test/t/symlink.test:
        Null merged
      sql/field_conv.cc:
        Null merged
      sql/mysqld.cc:
        Null merged
      vio/viosslfactories.c:
        Null merged
      cd4670a7
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · da984b33
      unknown authored
      into  chilla.local:/home/mydev/mysql-5.0-axmrg
      
      
      BUILD/SETUP.sh:
        Auto merged
      configure.in:
        Auto merged
      da984b33
    • unknown's avatar
      Bug#25844: "make test" does not find mysql-test-run.pl · 8c2c5271
      unknown authored
      Need to change directory before calling mysql-test-run.pl
      
      
      8c2c5271
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 5698114c
      unknown authored
      into  chilla.local:/home/mydev/mysql-4.1-axmrg
      
      
      mysql-test/r/symlink.result:
        Auto merged
      mysql-test/t/symlink.test:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      5698114c
    • unknown's avatar
      Valgrind error fixes · 2df29225
      unknown authored
      Notes:
      This patch doesn't fix all issues in the tree and we need jani's fix for that
      This patch shoud not be merged into 5.0
      
      
      mysql-test/r/ps.result:
        result fix
      mysql-test/r/symlink.result:
        result fix
      mysql-test/t/ps.test:
        test is moved to 'symlink' test
      mysql-test/t/symlink.test:
        test from 'ps' test
      sql/field_conv.cc:
        valgrind error fix: backport from 5.0
      sql/mysqld.cc:
        release of ssl_context
      vio/viosslfactories.c:
        release of ssl_context
      mysql-test/valgrind.supp:
        New BitKeeper file ``mysql-test/valgrind.supp''
        This file is backported from 5.0, added suppressing of OpenSSL errors
      2df29225
    • unknown's avatar
      Merge chilla.local:/home/mydev/mysql-4.1-axmrg · 8772cb16
      unknown authored
      into  chilla.local:/home/mydev/mysql-5.0-axmrg
      
      
      include/my_global.h:
        Auto merged
      include/thr_alarm.h:
        Auto merged
      mysys/my_pthread.c:
        Auto merged
      mysys/thr_alarm.c:
        Auto merged
      include/my_pthread.h:
        Manual merged
      mysys/default.c:
        Manual merged
      mysys/my_thr_init.c:
        Manual merged
      sql/mysqld.cc:
        Manual merged
      8772cb16
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0-engines · ad7a4ebb
      unknown authored
      into  chilla.local:/home/mydev/mysql-5.0-axmrg
      
      
      ad7a4ebb
    • unknown's avatar
      Merge chilla.local:/home/mydev/mysql-4.0-axmrg · 62fdcb54
      unknown authored
      into  chilla.local:/home/mydev/mysql-4.1-axmrg
      
      
      include/my_global.h:
        Auto merged
      include/my_pthread.h:
        Auto merged
      include/thr_alarm.h:
        Auto merged
      mysys/default.c:
        Auto merged
      mysys/my_pthread.c:
        Auto merged
      mysys/thr_alarm.c:
        Auto merged
      mysys/my_thr_init.c:
        Manual merged
      sql/mysqld.cc:
        Manual merged
      62fdcb54
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1-engines · a94b1b50
      unknown authored
      into  chilla.local:/home/mydev/mysql-4.1-axmrg
      
      
      a94b1b50
  3. 31 Jan, 2007 9 commits
    • unknown's avatar
      Merge kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-build · 4a7724b7
      unknown authored
      into  kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-build-work
      
      
      support-files/mysql.spec.sh:
        Auto merged
      4a7724b7
    • unknown's avatar
      MTR_BUILD_THREAD=auto for test runs during RPM build · 50c3198d
      unknown authored
      
      support-files/mysql.spec.sh:
        MTR_BUILD_THREAD=auto for test runs
      50c3198d
    • unknown's avatar
      Merge trift2.:/MySQL/M50/bug23293-5.0 · 717850d3
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      
      717850d3
    • unknown's avatar
      Merge trift2.:/MySQL/M50/bug12676-5.0 · 30b90282
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      
      configure.in:
        Auto merged
      30b90282
    • unknown's avatar
      After merge fix (WL#3567). · 8233b914
      unknown authored
      8233b914
    • unknown's avatar
      Fix bug#23293 "readline detection broken on NetBSD": · 7a71303c
      unknown authored
      Its root cause is a difference between the "readline" and "libedit" (header files)
      definitions of "rl_completion_entry_function", where the "libedit" one is wrong anyway:
      This variable is used as a pointer to a function returning "char *",
      but "libedit" declares it as returning "int" and then adds casts on usage.
      
      Change it to "CPFunction *" and get rid of the casts.
      
      
      client/mysql.cc:
        Fix bug#23293 "readline detection broken on NetBSD":
        
        Now that the "libedit" header files declares "rl_completion_entry_function" correctly,
        it need not be cast on usage, and "no_completion()" can be declared to return "char *".
      cmd-line-utils/libedit/readline.c:
        Fix bug#23293 "readline detection broken on NetBSD":
        
        Now that the "libedit" header files declares "rl_completion_entry_function" correctly,
        it need not be cast on usage, and "complet_func()" is a "CPFunction *" as well.
      cmd-line-utils/libedit/readline/readline.h:
        Fix bug#23293 "readline detection broken on NetBSD":
        
        Declare "rl_completion_entry_function()" to be a "CPFunction *", this avoids casts
        and brings "libedit" in sync with "readline".
      7a71303c
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/WL3567/mysql-4.1-engines · 3e35fffa
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/WL3567/mysql-5.0-engines
      
      
      mysql-test/t/merge.test:
        Auto merged
      mysql-test/r/merge.result:
        Manually merged.
      sql/ha_myisam.cc:
        Manually merged.
      sql/ha_myisammrg.cc:
        Manually merged.
      3e35fffa
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/bk/mysql-4.1-engines · ab3abe12
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/WL3567/mysql-4.1-engines
      
      
      ab3abe12
    • unknown's avatar
      WL#3567 - MERGE engine: a check for underlying table conformance · f7b3c7c5
      unknown authored
      When a merge table is opened compare column and key definition of
      underlying tables against column and key definition of merge table.
      
      If any of underlying tables have different column/key definition
      refuse to open merge table.
      
      
      mysql-test/r/merge.result:
        A test case for WL#3456.
      mysql-test/t/merge.test:
        A test case for WL#3456.
      sql/ha_myisam.cc:
        Moved a part of code that converts TABLE object to MyISAM key and column
        definition to a separate function.
        
        Added check_definition() function that compares MyISAM table definitions.
      sql/ha_myisammrg.cc:
        Check if underlying table definition conforms to merge table definition,
        and in case underlying table definition differs, refuse to open merge
        table.
      f7b3c7c5
  4. 30 Jan, 2007 4 commits
    • unknown's avatar
      gen_lex_hash.cc: · 0142be55
      unknown authored
        If inserting a GPL header, include a complete one
      Makefile.am, mysql.dsw, mysql.sln:
        Removed C version of mysql-test-run
      mysql.spec.sh:
        Specify GPL license only in GPL sources
      .del-my_manage.h:
        Delete: mysql-test/my_manage.h
      mysql.spec.sh:
        Added GPL header
      .del-mysql_test_run_new.c:
        Delete: mysql-test/mysql_test_run_new.c
      .del-mysql_test_run_new.dsp:
        Delete: VC++Files/mysql-test/mysql_test_run_new.dsp
      .del-my_create_tables.c:
        Delete: mysql-test/my_create_tables.c
      .del-mysql_test_run_new_ia64.dsp:
        Delete: VC++Files/mysql-test/mysql_test_run_new_ia64.dsp
      msql2mysql.sh:
        Use up-to-date GPL header
      .del-mysql_test_run_new.vcproj:
        Delete: VC++Files/mysql-test/mysql_test_run_new.vcproj
      .del-my_manage.c:
        Delete: mysql-test/my_manage.c
      
      
      scripts/msql2mysql.sh:
        Use up-to-date GPL header
      support-files/mysql.spec.sh:
        Added GPL header
      sql/gen_lex_hash.cc:
        If inserting a GPL header, include a complete one
      BitKeeper/deleted/.del-mysql_test_run_new.c:
        Delete: mysql-test/mysql_test_run_new.c
      BitKeeper/deleted/.del-mysql_test_run_new.dsp:
        Delete: VC++Files/mysql-test/mysql_test_run_new.dsp
      BitKeeper/deleted/.del-mysql_test_run_new.vcproj:
        Delete: VC++Files/mysql-test/mysql_test_run_new.vcproj
      BitKeeper/deleted/.del-mysql_test_run_new_ia64.dsp:
        Delete: VC++Files/mysql-test/mysql_test_run_new_ia64.dsp
      BitKeeper/deleted/.del-my_create_tables.c:
        Delete: mysql-test/my_create_tables.c
      BitKeeper/deleted/.del-my_manage.c:
        Delete: mysql-test/my_manage.c
      BitKeeper/deleted/.del-my_manage.h:
        Delete: mysql-test/my_manage.h
      VC++Files/mysql.dsw:
        Removed C version of mysql-test-run
      VC++Files/mysql.sln:
        Removed C version of mysql-test-run
      mysql-test/Makefile.am:
        Removed C version of mysql-test-run
      0142be55
    • unknown's avatar
      Merge bk://localhost:5559 · 7be3cad4
      unknown authored
      into  production.mysql.com:/usersnfs/jamppa/mysql-4.0
      
      
      include/my_global.h:
        Auto merged
      include/my_pthread.h:
        Auto merged
      mysys/default.c:
        Auto merged
      mysys/my_pthread.c:
        Auto merged
      mysys/my_thr_init.c:
        Auto merged
      mysys/thr_alarm.c:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      7be3cad4
    • unknown's avatar
      Cleanup of thread-type (linuxthread or NTPL) detection code · cdf6001a
      unknown authored
      Move get_thread_lib to mysys/my_pthread.c
      Set 'thr_client_alarm' to signal number used by thr_alarm to give alarms
      
      
      include/my_global.h:
        Fixed to be same as in 5.1
      include/my_pthread.h:
        Move things around to be more in line with rest of code
      mysys/default.c:
        Fixed two wrong pointer incrementations.
      mysys/my_pthread.c:
        Cleanup: Use variable thr_client_alarm
      mysys/my_thr_init.c:
        Detect thread library at startup.
        Set also thr_client_alarm signal here, so that we get
        it in init_signals() in mysqld
      mysys/thr_alarm.c:
        Set thr_client_alarm depending on which thread library we are using
      sql/mysqld.cc:
        Move get_thread_lib to mysys/my_pthread.c
      cdf6001a
    • unknown's avatar
      Merge kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-build-work · 0fd19170
      unknown authored
      into  kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-build-work-25530
      
      
      0fd19170
  5. 29 Jan, 2007 2 commits
    • unknown's avatar
      Merge chilla.local:/home/mydev/mysql-4.1-axmrg · 1042a25a
      unknown authored
      into  chilla.local:/home/mydev/mysql-5.0-axmrg
      
      
      BUILD/SETUP.sh:
        Auto merged
      configure.in:
        Auto merged
      include/my_global.h:
        Auto merged
      include/thr_alarm.h:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/symlink.result:
        Auto merged
      mysql-test/t/myisam.test:
        Auto merged
      mysql-test/t/symlink.test:
        Auto merged
      mysys/my_pthread.c:
        Auto merged
      sql/item_func.cc:
        Auto merged
      include/my_pthread.h:
        Manual merged
      mysql-test/r/myisam.result:
        Manual merged
      mysys/thr_alarm.c:
        Manual merged
      sql/ha_ndbcluster.cc:
        Manual merged
      sql/mysqld.cc:
        Manual merged
      1042a25a
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · d3087993
      unknown authored
      into  chilla.local:/home/mydev/mysql-4.1-axmrg
      
      
      mysql-test/r/symlink.result:
        Auto merged
      mysql-test/t/symlink.test:
        Auto merged
      mysql-test/r/myisam.result:
        Manual merged
      mysql-test/t/myisam.test:
        Manual merged
      d3087993
  6. 26 Jan, 2007 2 commits
  7. 25 Jan, 2007 4 commits
    • unknown's avatar
      Cleanup of thread-type (linuxthread or NTPL) detection code · 2ec2fa6d
      unknown authored
      Move get_thread_lib to mysys/my_pthread.c
      Set 'thr_client_alarm' to signal number used by thr_alarm to give alarms
      
      
      
      include/my_global.h:
        Fixed to be same as in 5.1
      include/my_pthread.h:
        Move things around to be more in line with rest of code
      include/thr_alarm.h:
        extern of thr_client_alarm
      mysys/default.c:
        Fixed two wrong pointer incrementations.
      mysys/my_pthread.c:
        Cleanup: Use variable thr_client_alarm
      mysys/my_thr_init.c:
        Detect thread library at startup
      mysys/thr_alarm.c:
        Set thr_client_alarm depending on which thread library we are using
      sql/mysqld.cc:
        Move get_thread_lib to mysys/my_pthread.c
      2ec2fa6d
    • unknown's avatar
      For Linux systems running RHEL 4 (which includes SE-Linux), we need to provide · 8ef50277
      unknown authored
      additional files that specify some actions which are allowed to the MySQL binaries.
          
      Create a new subdirectory "supportfiles/RHEL4-SElinux" for them, and process it.
      
      This fixes bug#12676.
      
      
      configure.in:
        New "support-files/RHEL4-SElinux/Makefile.am" must be processed by "automake" etc.
      support-files/Makefile.am:
        For Linux systems running RHEL 4 (which includes SE-Linux), we need to provide
        additional files that specify some actions which are allowed to the MySQL binaries.
        
        Create a new subdirectory "supportfiles/RHEL4-SElinux" for them, and process it.
      support-files/RHEL4-SElinux/Makefile.am:
        BitKeeper file /MySQL/M50/bug12676-5.0/support-files/RHEL4-SElinux/Makefile.am
      support-files/RHEL4-SElinux/mysql.fc:
        BitKeeper file /MySQL/M50/bug12676-5.0/support-files/RHEL4-SElinux/mysql.fc
      support-files/RHEL4-SElinux/mysql.te:
        BitKeeper file /MySQL/M50/bug12676-5.0/support-files/RHEL4-SElinux/mysql.te
      8ef50277
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · ea41474b
      unknown authored
      into  mockturtle.local:/home/dlenev/src/mysql-5.0-merge
      
      
      ea41474b
    • unknown's avatar
      BUG#25530 --with-readline fails with commercial source packages · 6cfffb50
      unknown authored
      
      BUILD/SETUP.sh:
        BUG#25530 --with-readline fails with commercial source packages
        
        The compile-* scripts should not use --with-readline explicitly when no readline is present.
      configure.in:
        BUG#25530 --with-readline fails with commercial source packages
        
        Configuring --with-readline should fail when libreadline is not bundled.
        A system libreadline is only used when there is a bundled libreadline too, so the commercial source code isn't linked with GPL libreadline by accident.
      6cfffb50
  8. 24 Jan, 2007 9 commits