1. 08 Nov, 2007 2 commits
  2. 07 Nov, 2007 2 commits
    • unknown's avatar
      Merge ramayana.hindu.god:/home/tsmith/m/bk/build/50 · db5b6170
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/build/b20748/50
      
      
      include/my_sys.h:
        Auto merged
      db5b6170
    • unknown's avatar
      Bug #20748: Configuration files should not be read more than once · 9a7ca70e
      unknown authored
      A user could not override system-wide settings in their ~/.my.cnf,
      because the DEFAULT_SYSCONFDIR was being searched last.  Also, in
      some configurations (especially when the --sysconfdir compile-time
      option is set to /etc or /etc/mysql), the system-wide my.cnf file
      was read multiple times, causing confusion and potential problems.
      
      Rearrange default directories to conform to the manual and logic.
      Move --sysconfdir=<path> (DEFAULT_SYSCONFDIR) from the last default
      directory to the middle of the list.  $HOME/.my.cnf should be last,
      so the user is able to override the system-wide settings.
      
      Change init_default_directories() to remove duplicates from the
      list.
      
      
      include/my_sys.h:
        Add array_append_string_unique(), from mf_arr_appstr.c
      libmysql/Makefile.shared:
        Add new mf_arr_appstr.lo object
      mysys/CMakeLists.txt:
        Add new mf_arr_appstr.c source.
      mysys/Makefile.am:
        Add new mf_arr_appstr.c source.
      mysys/default.c:
        Change order in which defaults files are added to default_directories,
        in order to conform to the manual (and to common sense).  This fixes
        a particularly bad problem on Unix, where ~/.my.cnf was read before
        /usr/local/etc/my.cnf.
        
        Also, don't add duplicate entries; move the existing entry to the
        end of the list instead.
        
        
        Here is a comparison of the order of defaults files, BEFORE and AFTER
        this patch.
        
        On Windows:
        
        BEFORE:  C:\, GetWindowsDirectory(), GetSystemWindowsDirectory(),
                 $MYSQL_HOME, defaults-extra-file, INSTALLDIR
        
        AFTER:  GetSystemWindowsDirectory(), GetWindowsDirectory(), C:\,
                INSTALLDIR, $MYSQL_HOME, defaults-extra-file
        
        GetSystemWindowsDirectory() is moved before GetWindowsDirectory() because
        the former is shared by all Terminal Services users, while the latter is
        private for each user.
        
        
        On Netware (no change):
        
        BEFORE:  sys:/etc/, $MYSQL_HOME, defaults-extra-file
        
        AFTER:  sys:/etc, $MYSQL_HOME, defaults-extra-file
        
        
        On OS/2:
        
        BEFORE:  $ETC, /etc, $MYSQL_HOME, defaults-extra-file
        
        AFTER:  /etc, $ETC, $MYSQL_HOME, defaults-extra-file
        
        
        On everything else (general Unix):
        
        BEFORE:  /etc, $MYSQL_HOME, defaults-extra-file, ~/, --sysconfdir
        
        AFTER:  /etc/, --sysconfdir, $MYSQL_HOME, defaults-extra-file, ~/
        
        The BEFORE code added --sysconfdir on all systems, but only the
        Unix build system actually defined a value for it.
      mysys/mf_arr_appstr.c:
        BitKeeper file /home/tsmith/m/bk/build/50-b20748/mysys/mf_arr_appstr.c
      9a7ca70e
  3. 05 Nov, 2007 2 commits
  4. 02 Nov, 2007 12 commits
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0 · b6c1fa08
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb-merge
      
      
      ndb/include/ndbapi/Ndb.hpp:
        Auto merged
      b6c1fa08
    • unknown's avatar
      Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb · 9534dfca
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb-merge
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      9534dfca
    • unknown's avatar
      Bug#31319 CMake build does not check for minimum required version · 2e3d030f
      unknown authored
      - Add check
      
      2e3d030f
    • unknown's avatar
      Makefile.am: · 564fd7db
      unknown authored
        Removed place holder for 'manual.chm'
      .del-manual.chm:
        Delete: Docs/manual.chm
      
      
      BitKeeper/deleted/.del-manual.chm:
        Delete: Docs/manual.chm
      Docs/Makefile.am:
        Removed place holder for 'manual.chm'
      564fd7db
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/bug25205/mysql-4.1-build · 9033b279
      unknown authored
      into  mysql.com:/home/kent/bk/bug25205/mysql-5.0-build
      
      9033b279
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/bug25205/mysql-4.0 · cfb2900a
      unknown authored
      into  mysql.com:/home/kent/bk/bug25205/mysql-4.1-build
      
      cfb2900a
    • unknown's avatar
      Makefile.am: · 965b6677
      unknown authored
        Don't install INSTALL-BINARY, handled by build scripts
      
      
      Docs/Makefile.am:
        Don't install INSTALL-BINARY, handled by build scripts
      965b6677
    • unknown's avatar
      Makefile.am: · 1f97ea24
      unknown authored
        Added manual.chm to EXTRA_DIST
        Removed install of INSTALL-BINARY, handled
        by install scripts.
      ReadMe.txt, INSTALL-WIN-SOURCE, INSTALL-BINARY, INSTALL-SOURCE:
        Updated links to version 5.0 of the manual
      
      
      Docs/INSTALL-BINARY:
        Updated links to version 5.0 of the manual
      INSTALL-SOURCE:
        Updated links to version 5.0 of the manual
      INSTALL-WIN-SOURCE:
        Updated links to version 5.0 of the manual
      support-files/MacOSX/ReadMe.txt:
        Updated links to version 5.0 of the manual
      Docs/Makefile.am:
        Added manual.chm to EXTRA_DIST
        Removed install of INSTALL-BINARY, handled
        by install scripts.
      1f97ea24
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/bug25205/mysql-4.1-build · d1f1f8fa
      unknown authored
      into  mysql.com:/home/kent/bk/bug25205/mysql-5.0-build
      
      
      BitKeeper/deleted/.del-generate-text-files.pl:
        SCCS merged
      Docs/Makefile.am:
        SCCS merged
      d1f1f8fa
    • unknown's avatar
      INSTALL-WIN-SOURCE: · 942e9052
      unknown authored
        BitKeeper file /home/kent/bk/bug25205/mysql-4.1-build/INSTALL-WIN-SOURCE
      
      
      INSTALL-WIN-SOURCE:
        BitKeeper file /home/kent/bk/bug25205/mysql-4.1-build/INSTALL-WIN-SOURCE
      942e9052
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/bug25205/mysql-4.0 · b7df9619
      unknown authored
      into  mysql.com:/home/kent/bk/bug25205/mysql-4.1-build
      
      b7df9619
    • unknown's avatar
      mysql.info, INSTALL-BINARY, INSTALL-SOURCE, ReadMe.txt, Docs/Makefile.am: · 7d46f000
      unknown authored
        Let place holders for real documentation have text that
        makes sense to the user (Bug#25205)
      
      
      BitKeeper/deleted/.del-generate-text-files.pl:
        Delete: Docs/Support/generate-text-files.pl
      Docs/INSTALL-BINARY:
        BitKeeper file /home/kent/bk/bug25205/mysql-4.0/Docs/INSTALL-BINARY
      INSTALL-SOURCE:
        BitKeeper file /home/kent/bk/bug25205/mysql-4.0/INSTALL-SOURCE
      support-files/MacOSX/ReadMe.txt:
        BitKeeper file /home/kent/bk/bug25205/mysql-4.0/support-files/MacOSX/ReadMe.txt
      Docs/mysql.info:
        More of a end-user text
      Docs/Makefile.am:
        Don't generate text files from the documentation
      7d46f000
  5. 01 Nov, 2007 3 commits
  6. 31 Oct, 2007 3 commits
    • unknown's avatar
      Fix for · 7ce51732
      unknown authored
         Bug#29290 type_datetime.test failure in 5.1
      
      
      mysql-test/t/type_datetime.test:
        - If we are too close to midnight sleep till we reach 
          at least midnight + 1 second.
        - Replace error numbers with error names.
      7ce51732
    • unknown's avatar
      Merge adventure.(none):/home/thek/Development/cpp/bug31347/my50-bug31347 · 65a7d559
      unknown authored
      into  adventure.(none):/home/thek/Development/cpp/mysql-5.0-runtime
      
      
      sql/sql_acl.cc:
        Auto merged
      65a7d559
    • unknown's avatar
      Bug#31347 Increase in memory usage after many DROP USER statements · 6ee3ecef
      unknown authored
      Dropping users causes huge increase in memory usage because field values were
      allocated on the server memory root for temporary usage but never deallocated.
      
      This patch changes the target memory root to be that of the thread handler
      instead since this root is cleared between each statement.
      
      
      sql/sql_acl.cc:
        Changed memory root from server life time memory to thread life time memory.
      6ee3ecef
  7. 30 Oct, 2007 4 commits
    • unknown's avatar
      Makefile.am: · 92cd1de5
      unknown authored
        Ensure use of libedit "config.h" by adding "-I. -I$(srcdir)" to DEFS,
        work around for problem with automake 1.10 (bug#24809)
      
      
      cmd-line-utils/libedit/Makefile.am:
        Ensure use of libedit "config.h" by adding "-I. -I$(srcdir)" to DEFS,
        work around for problem with automake 1.10 (bug#24809)
      92cd1de5
    • unknown's avatar
      Merge dfischer@bk-internal.mysql.com:/home/bk/mysql-5.0-build · f806dcae
      unknown authored
      into  pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build
      
      f806dcae
    • unknown's avatar
      bug#30630 · 85c79e49
      unknown authored
      85c79e49
    • unknown's avatar
      Merge moksha.local:/Users/davi/mysql/bugs/31669-5.0 · 2c56c2b9
      unknown authored
      into  moksha.local:/Users/davi/mysql/mysql-5.0-runtime
      
      
      libmysql/libmysql.c:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      2c56c2b9
  8. 29 Oct, 2007 5 commits
    • unknown's avatar
      Merge lambda.weblab:/home/malff/TREE/mysql-5.0-base · 609d2150
      unknown authored
      into  lambda.weblab:/home/malff/TREE/mysql-5.0-rt-merge
      
      
      sql/sql_table.cc:
        Auto merged
      609d2150
    • unknown's avatar
      Merge trift2.:/MySQL/M41/push-4.1 · e4e91e1c
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      e4e91e1c
    • unknown's avatar
      Merge trift2.:/MySQL/M50/clone-5.0 · b4308259
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      
      mysql-test/r/derived.result:
        Auto merged
      mysql-test/r/ps_2myisam.result:
        Auto merged
      mysql-test/r/ps_3innodb.result:
        Auto merged
      mysql-test/r/ps_4heap.result:
        Auto merged
      mysql-test/r/ps_5merge.result:
        Auto merged
      mysql-test/r/ps_6bdb.result:
        Auto merged
      mysql-test/r/ps_7ndb.result:
        Auto merged
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/r/type_datetime.result:
        Auto merged
      mysql-test/t/derived.test:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      mysql-test/r/type_date.result:
        Null-merge 5.0.50 build clone:
        The test for bug#31221 is already in the receiving tree.
      mysql-test/t/type_date.test:
        Null-merge 5.0.50 build clone:
        The test for bug#31221 is already in the receiving tree.
      b4308259
    • unknown's avatar
      Merge trift2.:/MySQL/M50/mysql-5.0 · 12f53900
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      12f53900
    • unknown's avatar
      Merge trift2.:/MySQL/M41/mysql-4.1 · b76dc0ce
      unknown authored
      into  trift2.:/MySQL/M41/push-4.1
      
      b76dc0ce
  9. 25 Oct, 2007 6 commits
    • unknown's avatar
      Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-4.1-build · dcee5da0
      unknown authored
      into  pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build
      
      dcee5da0
    • unknown's avatar
      add new trigger to prevent certain naming clashes · 542afc17
      unknown authored
      
      BitKeeper/triggers/pre-commit.check-case.pl:
        catch duplicate file names, ignoring capitalisation, mostly to avoid changesets where a deleted file foobar and a deleted file FooBar break a tree on case insensitive file systems
      542afc17
    • unknown's avatar
      Merge loke.(none):/home/knielsen/devel/bug31810 · 809ef8a7
      unknown authored
      into  loke.(none):/home/knielsen/devel/mysql-5.0-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      809ef8a7
    • unknown's avatar
      Merge loke.(none):/home/knielsen/devel/bug31761 · e631fd54
      unknown authored
      into  loke.(none):/home/knielsen/devel/mysql-5.0-ndb
      
      
      ndb/include/kernel/AttributeHeader.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbutil/DbUtil.cpp:
        Auto merged
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        SCCS merged
      e631fd54
    • unknown's avatar
      BUG#31810: Potential infinite loop with autoincrement failures in ndb · 43aced65
      unknown authored
      Fix extra semicolon causing if-statement to be disabled.
      
      
      sql/ha_ndbcluster.cc:
        Fix extra semicolon causing if-statement to be disabled.
      43aced65
    • unknown's avatar
      BUG#31761: Code for cluster is not safe for strict-alias optimization in new gcc · 750ae98f
      unknown authored
      Fix problem with AttributeHeader::init() seen with gcc 4.2.1.
      
      Using the same object as both Uint32 and class AttributeHeader violates
      strict aliasing rule.
      
      
      ndb/include/kernel/AttributeHeader.hpp:
        Fix problem with AttributeHeader::init() seen with gcc 4.2.1.
        
        Using the same object as both Uint32 and class AttributeHeader violates
        strict aliasing rule.
      ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        Fix problem with AttributeHeader::init() seen with gcc 4.2.1.
        
        Using the same object as both Uint32 and class AttributeHeader violates
        strict aliasing rule.
      ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        Fix problem with AttributeHeader::init() seen with gcc 4.2.1.
        
        Using the same object as both Uint32 and class AttributeHeader violates
        strict aliasing rule.
      ndb/src/kernel/blocks/dbutil/DbUtil.cpp:
        Fix problem with AttributeHeader::init() seen with gcc 4.2.1.
        
        Using the same object as both Uint32 and class AttributeHeader violates
        strict aliasing rule.
      ndb/src/ndbapi/NdbOperationDefine.cpp:
        Fix problem with AttributeHeader::init() seen with gcc 4.2.1.
        
        Using the same object as both Uint32 and class AttributeHeader violates
        strict aliasing rule.
      750ae98f
  10. 24 Oct, 2007 1 commit