1. 08 Dec, 2006 5 commits
    • unknown's avatar
      Merge quant.(none):/ext/mysql/bkroot/mysql-5.0-rpl · 33825a00
      unknown authored
      into  quant.(none):/ext/mysql/bk/mysql-5.0-bug24507
      
      
      sql/sql_acl.cc:
        Auto merged
      33825a00
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0-rpl · b68c8fec
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0.b24158
      
      b68c8fec
    • unknown's avatar
      Merge quant.(none):/ext/mysql/bkroot/mysql-5.0-rpl · 5c3c7222
      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
      5c3c7222
    • unknown's avatar
      BUG#24507 (rpl_log.test crash slave): · f15e8a6a
      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.
      f15e8a6a
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0-rpl · b7e2d666
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0.b20396
      
      b7e2d666
  2. 05 Dec, 2006 3 commits
    • unknown's avatar
      Merging bug#22645 "LC_TIME_NAMES: Statement not replicated" from 4.1. · d641ef24
      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.
      d641ef24
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-4.1.b22645 · f0b4cad3
      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
      f0b4cad3
    • unknown's avatar
      Bug#22645 LC_TIME_NAMES: Statement not replicated · 7627a342
      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
      7627a342
  3. 30 Nov, 2006 1 commit
    • unknown's avatar
      Bug#24158 SET PASSWORD in binary log fails under ANSI_QUOTES · d37fafee
      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.
      d37fafee
  4. 28 Nov, 2006 9 commits
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.0-build · 9a132e36
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      9a132e36
    • unknown's avatar
      Merge trift2.:/M50/mysql-5.0 · 4ce74b9a
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      4ce74b9a
    • unknown's avatar
      netware/BUILD/nwbootstrap : Editing "mwenv" is now obsolete and even plain wrong - drop it. · 299dfead
      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.
      299dfead
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0-build · 20b0bb48
      unknown authored
      into  mysql.com:/home/kent/bk/mysql-5.0-build
      
      20b0bb48
    • unknown's avatar
      Makefile.am: · da441ffe
      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.
      da441ffe
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/mysql-4.1-build · ce279937
      unknown authored
      into  mysql.com:/home/kent/bk/mysql-5.0-build
      
      
      Docs/Makefile.am:
        Auto merged
      ce279937
    • unknown's avatar
      Makefile.am: · 3d9319e6
      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.
      3d9319e6
    • unknown's avatar
      Bug#20396 Bin Log does not get DELIMETER cmd - Recover StoredProc fails · d505e3de
      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.
      d505e3de
    • unknown's avatar
      Merge trift2.:/M50/mysql-5.0 · 6ba1d4bf
      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
      6ba1d4bf
  5. 27 Nov, 2006 11 commits
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/mysql-4.1-build · c70530e5
      unknown authored
      into  mysql.com:/home/kent/bk/mysql-5.0-build
      
      c70530e5
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 · 46b0cf80
      unknown authored
      into  mysql.com:/home/kent/bk/mysql-5.0-merge
      
      
      sql-common/my_time.c:
        Auto merged
      46b0cf80
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · 3ebe7e2a
      unknown authored
      into  mysql.com:/home/kent/bk/mysql-4.1-merge
      
      3ebe7e2a
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0-build · 8639ad0f
      unknown authored
      into  mysql.com:/home/kent/bk/mysql-5.0
      
      8639ad0f
    • unknown's avatar
      ha_innodb.m4, Makefile.am, ha_ndbcluster.m4, Makefile.shared, ha_berkeley.m4: · d09bcbe6
      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
      d09bcbe6
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-5.0-release · e5970bc3
      unknown authored
      into  mysql.com:/Users/kent/mysql/bk/build/mysql-5.0-build
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      e5970bc3
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/mysql-4.1 · 87bbeb16
      unknown authored
      into  mysql.com:/home/kent/bk/mysql-5.0
      
      87bbeb16
    • unknown's avatar
      Makefile.am: · 0169639a
      unknown authored
        BSD compatibility
      
      
      Docs/Makefile.am:
        BSD compatibility
      0169639a
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/mysql-4.1 · 6bf44c38
      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
      6bf44c38
    • unknown's avatar
      gen_rec.awk: · ba1dde1a
      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
      ba1dde1a
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 77435f0f
      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
      77435f0f
  6. 24 Nov, 2006 3 commits
    • unknown's avatar
      mysql-test-run.pl: · 0d7ea919
      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)
      0d7ea919
    • unknown's avatar
      Merge kahlann.erinye.com:/home/df/mysql/build/mysql-4.1-build-work · a4d9ea9c
      unknown authored
      into  kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-build-work
      
      a4d9ea9c
    • unknown's avatar
      fixes for mtr_unique.pl · 0cdb8896
      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
      0cdb8896
  7. 23 Nov, 2006 7 commits
    • unknown's avatar
      Merge mysqldev@production.mysql.com:my/mysql-5.0-release · 01308a86
      unknown authored
      into  mysql.com:/Users/kent/mysql/bk/mysql-5.0-release
      
      01308a86
    • unknown's avatar
      Many files: · 50275c99
      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
      50275c99
    • unknown's avatar
      Added option --mtr-build-thread to mysql-test-run.pl · 1ec639a4
      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)
      1ec639a4
    • unknown's avatar
      Added some missing DBUG_RETURN · b41f51dc
      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()
      b41f51dc
    • unknown's avatar
      2ee92d76
    • unknown's avatar
      Build fixes for NetWare · 6b82b8a1
      unknown authored
      6b82b8a1
    • unknown's avatar
      Fix my_system_gmt_sec function declaration to be same as definition · beacbb11
      unknown authored
      
      sql-common/my_time.c:
        Function declaration must be same as definition
      beacbb11
  8. 22 Nov, 2006 1 commit