1. 08 Dec, 2006 5 commits
    • unknown's avatar
      Merge quant.(none):/ext/mysql/bkroot/mysql-5.0-rpl · 42b2cb86
      unknown authored
      into  quant.(none):/ext/mysql/bk/mysql-5.0-bug24507
      
      
      sql/sql_acl.cc:
        Auto merged
      42b2cb86
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0-rpl · 6aa09b4c
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0.b24158
      
      
      6aa09b4c
    • unknown's avatar
      Merge quant.(none):/ext/mysql/bkroot/mysql-5.0-rpl · df2af6cd
      unknown authored
      into  quant.(none):/ext/mysql/bk/mysql-5.0-bug24507
      
      
      client/mysqlbinlog.cc:
        Auto merged
      client/mysqldump.c:
        Auto merged
      mysql-test/t/disabled.def:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      df2af6cd
    • unknown's avatar
      BUG#24507 (rpl_log.test crash slave): · 9f37ea45
      unknown authored
      The problem was located to lie inside current NPTL pthread_exit() 
      implementation. Race conditions in this code can lead to segmentation
      fault. Hovewer, this can happen only in a race between first thread 
      calling pthread_exit() and other threads. 
      
      Workaround implemented in this patch spawns a dummy thread, which
      exits immediately, during thread lib initialization. This will exclude
      segment violations when further threads exit.
       
      
      
      include/my_pthread.h:
        define macro NPTL_PTHREAD_EXIT_BUG which controls whether workaround
        in my_thread_global_init() is included or not.
      mysys/my_thr_init.c:
        Spawn a dummy thread in my_thread_global_init() to initialize pthread 
        lib internal variables.
      9f37ea45
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0-rpl · b93baf48
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0.b20396
      
      
      b93baf48
  2. 05 Dec, 2006 3 commits
    • unknown's avatar
      Merging bug#22645 "LC_TIME_NAMES: Statement not replicated" from 4.1. · 21b9187a
      unknown authored
      
      mysql-test/t/disabled.def:
        Disabling test in 5.0 temporarily
      sql/mysql_priv.h:
        Adding number_par agrument to constructor
      sql/sql_locale.cc:
        Using constructor, instead of structure initialization.
      21b9187a
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-4.1.b22645 · 3eafe5cf
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0.b22645
      
      
      mysql-test/r/variables.result:
        Auto merged
      mysql-test/t/variables.test:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/log.cc:
        Removing one_shot from 5.0.
      sql/sql_locale.cc:
        After merge fix
      sql/set_var.cc:
        After merge fix
      sql/set_var.h:
        After merge fix
      3eafe5cf
    • unknown's avatar
      Bug#22645 LC_TIME_NAMES: Statement not replicated · 4474cc84
      unknown authored
      Problem: replication of LC_TIME_NAMES didn't work.
      Thus, INSERTS or UPDATES using date_format() always
      worked with en_US on the slave side.
      Fix: adding ONE_SHOT implementation for LC_TIME_NAMES.
      
      
      mysql-test/r/variables.result:
        Adding various tests with LC_TIME_NAMES and
        string and numeric constants and expressions.
      mysql-test/t/variables.test:
        Adding various tests with LC_TIME_NAMES and
        string and numeric constants and expressions.
      sql/log.cc:
        Adding ONE_SHOT trick for lc_time_names.
      sql/mysql_priv.h:
        Adding new member "number" - for unique locale IDs.
        Adding prototype for my_locale_by_number().
      sql/set_var.cc:
        Modifying lc_time_names variable to understand both:
        - string valyes (using locale name)
        - number values (using locale IDs)
      sql/set_var.h:
        - Marking lc_time_names as ONE_SHOT capable.
        - Marking lc_time_names as INT_RESULT compatible.
      sql/sql_locale.cc:
        - adding local IDs
        - better layout for locale data declarations
          (splitting long lines into short ones)
        - adding DBUG_ASSERT into my_locale_by_name()
          and moving this function towards the end of file -
          after "my_locales" declaration
        - adding my_locale_by_number() implementation
      sql/sql_parse.cc:
        Adding initialization of lc_time_names
        to its default value (en_US)
      mysql-test/r/rpl_locale.result:
        Adding test case
      mysql-test/t/rpl_locale.test:
        Adding test case
      4474cc84
  3. 30 Nov, 2006 1 commit
    • unknown's avatar
      Bug#24158 SET PASSWORD in binary log fails under ANSI_QUOTES · fa46c803
      unknown authored
      Problem: ``SET PASSWORD FOR foo@localhost'' was written into
      binary log using double quites: ``SET PASSWORD FOR "foo"@"localhost"...''.
      If sql_mode was set to ANSI_QUOTES, parser on slave considered
      "foo" and "localhost" as identifiers instead of strigns constants,
      so it failed to parse, generated syntax error and slave then stopped.
      Fix: changing binary log entries to use single quotes:
      ``SET PASSWORD FOR 'foo'@'localhost'...'' not to depend on ANSI_QUOTES.
      
      
      mysql-test/r/rpl_do_grant.result:
        Adding test case
      mysql-test/t/rpl_do_grant.test:
        Adding test case
      sql/sql_acl.cc:
        Using single quotes instead of double quotes,
        not to fails when sql_mode=ANSI_QUOTES.
      fa46c803
  4. 28 Nov, 2006 9 commits
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.0-build · 00fec63a
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      
      00fec63a
    • unknown's avatar
      Merge trift2.:/M50/mysql-5.0 · fa26de19
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      
      fa26de19
    • unknown's avatar
      netware/BUILD/nwbootstrap : Editing "mwenv" is now obsolete and even plain wrong - drop it. · 5be953f8
      unknown authored
      
      netware/BUILD/nwbootstrap:
        Editing "mwenv" is now obsolete,
        as this file gets its variable settings from the environment already;
        and it is even plain wrong,
        because the assignments to those variables are written in such a way that
        replacing the variables by values (as tried here) yields invalid shell lines.
      5be953f8
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0-build · d41b660b
      unknown authored
      into  mysql.com:/home/kent/bk/mysql-5.0-build
      
      
      d41b660b
    • unknown's avatar
      Makefile.am: · 89a71063
      unknown authored
        Handle the case "sql_yacc.cc" is pregenerated or not, and that the
        case where the source and build tree is the same or not.
      
      
      sql/Makefile.am:
        Handle the case "sql_yacc.cc" is pregenerated or not, and that the
        case where the source and build tree is the same or not.
      89a71063
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/mysql-4.1-build · 4d08b747
      unknown authored
      into  mysql.com:/home/kent/bk/mysql-5.0-build
      
      
      Docs/Makefile.am:
        Auto merged
      4d08b747
    • unknown's avatar
      Makefile.am: · 0fb76499
      unknown authored
        If using \$(srcdir)/mysql.info in action, use same in rule.
      
      
      Docs/Makefile.am:
        If using \$(srcdir)/mysql.info in action, use same in rule.
      0fb76499
    • unknown's avatar
      Bug#20396 Bin Log does not get DELIMETER cmd - Recover StoredProc fails · 36c7cfd7
      unknown authored
      Problem: when loading mysqlbinlog dumps, CREATE PROCEDURE having semicolons
      in their bodies failed.
      Fix: Using safe delimiter "/*!*/;" to dump log entries.
      
      
      client/mysqlbinlog.cc:
        - Adding PRINT_EVENT_INFO argument to dump_xxx_log_entries()
        - Setting delimiter to "/*!*/;" before calling dump functions
      mysql-test/r/ctype_ucs_binlog.result:
        Fixing test results
      mysql-test/r/mix_innodb_myisam_binlog.result:
        Fixing test results
      mysql-test/r/mysqlbinlog.result:
        Fixing test results
        Adding test case
      mysql-test/r/mysqlbinlog2.result:
        Fixing test results
      mysql-test/r/rpl_charset.result:
        Fixing test results
      mysql-test/r/rpl_timezone.result:
        Fixing test results
      mysql-test/r/user_var-binlog.result:
        Fixing test results
      mysql-test/t/mix_innodb_myisam_binlog.test:
        Fixing LIKE expression
      mysql-test/t/mysqlbinlog.test:
        Adding test case
      sql/log_event.cc:
        Using print_event_info->delimiter instead of
        hard-coded semicolon as a query end marker.
      sql/log_event.h:
        Adding new member to store delimiter.
      36c7cfd7
    • unknown's avatar
      Merge trift2.:/M50/mysql-5.0 · c8b23c37
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      
      extra/yassl/taocrypt/taocrypt.dsp:
        Auto merged
      extra/yassl/yassl.dsp:
        Auto merged
      extra/yassl/yassl.vcproj:
        Auto merged
      extra/yassl/taocrypt/taocrypt.vcproj:
        Auto merged
      extra/yassl/taocrypt/benchmark/benchmark.dsp:
        Auto merged
      extra/yassl/taocrypt/test.dsp:
        Auto merged
      extra/yassl/testsuite/testsuite.dsp:
        Auto merged
      c8b23c37
  5. 27 Nov, 2006 11 commits
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/mysql-4.1-build · 344db8ab
      unknown authored
      into  mysql.com:/home/kent/bk/mysql-5.0-build
      
      
      344db8ab
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 · 048dfce0
      unknown authored
      into  mysql.com:/home/kent/bk/mysql-5.0-merge
      
      
      sql-common/my_time.c:
        Auto merged
      048dfce0
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · eb63927c
      unknown authored
      into  mysql.com:/home/kent/bk/mysql-4.1-merge
      
      
      eb63927c
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0-build · e9c502b3
      unknown authored
      into  mysql.com:/home/kent/bk/mysql-5.0
      
      
      e9c502b3
    • unknown's avatar
      ha_innodb.m4, Makefile.am, ha_ndbcluster.m4, Makefile.shared, ha_berkeley.m4: · 16918343
      unknown authored
        Reenabled build outside source tree
      
      
      config/ac-macros/ha_berkeley.m4:
        Reenabled build outside source tree
      config/ac-macros/ha_innodb.m4:
        Reenabled build outside source tree
      config/ac-macros/ha_ndbcluster.m4:
        Reenabled build outside source tree
      extra/yassl/src/Makefile.am:
        Reenabled build outside source tree
      extra/yassl/taocrypt/benchmark/Makefile.am:
        Reenabled build outside source tree
      extra/yassl/taocrypt/src/Makefile.am:
        Reenabled build outside source tree
      extra/yassl/taocrypt/test/Makefile.am:
        Reenabled build outside source tree
      extra/yassl/testsuite/Makefile.am:
        Reenabled build outside source tree
      libmysql/Makefile.shared:
        Reenabled build outside source tree
      ndb/src/mgmsrv/Makefile.am:
        Reenabled build outside source tree
      16918343
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-5.0-release · 4ab2a016
      unknown authored
      into  mysql.com:/Users/kent/mysql/bk/build/mysql-5.0-build
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      4ab2a016
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/mysql-4.1 · cae25b0c
      unknown authored
      into  mysql.com:/home/kent/bk/mysql-5.0
      
      
      cae25b0c
    • unknown's avatar
      Makefile.am: · f53733db
      unknown authored
        BSD compatibility
      
      
      Docs/Makefile.am:
        BSD compatibility
      f53733db
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/mysql-4.1 · 14ba2178
      unknown authored
      into  mysql.com:/home/kent/bk/mysql-5.0
      
      
      BitKeeper/deleted/.del-acinclude.m4~f4ab416bac5003:
        Auto merged
      bdb/dist/gen_rec.awk:
        Auto merged
      libmysql_r/Makefile.am:
        Auto merged
      ndb/config/type_ndbapitools.mk.am:
        Auto merged
      ndb/src/kernel/Makefile.am:
        Auto merged
      14ba2178
    • unknown's avatar
      gen_rec.awk: · 8d6f67f3
      unknown authored
        Fix undefined behaviour.
      Many files:
        Reenabled build outside ource tree
      
      
      bdb/dist/gen_rec.awk:
        Fix undefined behaviour.
      acinclude.m4:
        Reenabled build outside ource tree
      configure.in:
        Reenabled build outside ource tree
      libmysql_r/Makefile.am:
        Reenabled build outside ource tree
      libmysqld/Makefile.am:
        Reenabled build outside ource tree
      ndb/config/common.mk.am:
        Reenabled build outside ource tree
      ndb/config/type_kernel.mk.am:
        Reenabled build outside ource tree
      ndb/config/type_ndbapi.mk.am:
        Reenabled build outside ource tree
      ndb/config/type_ndbapitest.mk.am:
        Reenabled build outside ource tree
      ndb/config/type_ndbapitools.mk.am:
        Reenabled build outside ource tree
      ndb/config/type_util.mk.am:
        Reenabled build outside ource tree
      ndb/src/kernel/Makefile.am:
        Reenabled build outside ource tree
      8d6f67f3
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 880b3d84
      unknown authored
      into  dl145s.mysql.com:/data0/bk/team_tree_merge/MERGE/mysql-5.0-opt
      
      
      libmysql/libmysql.c:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      mysql-test/t/type_newdecimal.test:
        Auto merged
      sql/filesort.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql-common/client.c:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      sql-common/my_time.c:
        Auto merged
      strings/decimal.c:
        Auto merged
      880b3d84
  6. 24 Nov, 2006 3 commits
    • unknown's avatar
      mysql-test-run.pl: · f47d5500
      unknown authored
        Removed "use diagnostics", reduces Perl speed significantly. Can be
        enabled with "perl -Mdiagnostics mysql-test-run.pl".
      mtr_report.pl:
        Don't try output "skipped" comment if there is none (bug#24471)
      
      
      mysql-test/mysql-test-run.pl:
        Removed "use diagnostics", reduces Perl speed significantly. Can be
        enabled with "perl -Mdiagnostics mysql-test-run.pl".
      mysql-test/lib/mtr_report.pl:
        Don't try output "skipped" comment if there is none (bug#24471)
      f47d5500
    • unknown's avatar
      Merge kahlann.erinye.com:/home/df/mysql/build/mysql-4.1-build-work · 23003bfa
      unknown authored
      into  kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-build-work
      
      
      23003bfa
    • unknown's avatar
      fixes for mtr_unique.pl · 6de6b97e
      unknown authored
      
      mysql-test/lib/mtr_unique.pl:
        - add info message to mtr_require_unique_id_and_wait as suggested
        - fix for security issue
        - locks for pids of processes that don't exist anymore are reused, if ps is present and working as expected
      6de6b97e
  7. 23 Nov, 2006 7 commits
    • unknown's avatar
      Merge mysqldev@production.mysql.com:my/mysql-5.0-release · 3d033fb3
      unknown authored
      into  mysql.com:/Users/kent/mysql/bk/mysql-5.0-release
      
      
      3d033fb3
    • unknown's avatar
      Many files: · e09f0cb9
      unknown authored
        Adjuster project files to reflect move of "mySTL" directory
      
      
      extra/yassl/taocrypt/benchmark/benchmark.dsp:
        Adjuster project files to reflect move of "mySTL" directory
      extra/yassl/taocrypt/taocrypt.dsp:
        Adjuster project files to reflect move of "mySTL" directory
      extra/yassl/taocrypt/taocrypt.vcproj:
        Adjuster project files to reflect move of "mySTL" directory
      extra/yassl/taocrypt/test.dsp:
        Adjuster project files to reflect move of "mySTL" directory
      extra/yassl/testsuite/testsuite.dsp:
        Adjuster project files to reflect move of "mySTL" directory
      extra/yassl/yassl.dsp:
        Adjuster project files to reflect move of "mySTL" directory
      extra/yassl/yassl.vcproj:
        Adjuster project files to reflect move of "mySTL" directory
      e09f0cb9
    • unknown's avatar
      Added option --mtr-build-thread to mysql-test-run.pl · 52fc261b
      unknown authored
      Load shared libraries from zlib (fixed that mysql-test-run.pl didn't work on some Solaris boxes)
      Added connect timeout to test to make im_daemon_life_cycle more predictable
      
      
      mysql-test/mysql-test-run.pl:
        Added option --mtr-build-thread
        Load shared libraries from zlib (fixed that mysql-test-run.pl didn't work on some Solaris boxes)
      mysql-test/t/wait_for_socket.sh:
        Added connect timeout (to make test predictable)
      52fc261b
    • unknown's avatar
      Added some missing DBUG_RETURN · 42f6fd5f
      unknown authored
      Fixed that --valgrind works again with mysql-test-run.sh
      Extended error messages when loosing connection during mysql_real_connect()
      
      
      client/mysqldump.c:
        Added some missing DBUG_RETURN
      include/errmsg.h:
        Extended error messages when loosing connection during mysql_real_connect()
      libmysql/errmsg.c:
        Extended error messages when loosing connection during mysql_real_connect()
      mysql-test/mysql-test-run.pl:
        Don't remove .reject files at startup
      mysql-test/mysql-test-run.sh:
        Fixed that --valgrind works again
        Don't give warnings for directores in var/tmp
      sql-common/client.c:
        Extended error messages when loosing connection during mysql_real_connect()
      42f6fd5f
    • unknown's avatar
      46721030
    • unknown's avatar
      Build fixes for NetWare · 63512802
      unknown authored
      63512802
    • unknown's avatar
      Fix my_system_gmt_sec function declaration to be same as definition · c9cc82f2
      unknown authored
      
      sql-common/my_time.c:
        Function declaration must be same as definition
      c9cc82f2
  8. 22 Nov, 2006 1 commit