1. 02 Dec, 2007 2 commits
    • unknown's avatar
      Merge polly.(none):/home/kaa/src/maint/bug26788/my50-bug26788 · 60d134ab
      unknown authored
      into  polly.(none):/home/kaa/src/maint/bug26788/my51-bug26788
      
      
      mysql-test/t/insert.test:
        Auto merged
      mysql-test/t/variables.test:
        Auto merged
      sql/field.cc:
        Auto merged
      60d134ab
    • unknown's avatar
      Windows-specific fixes in floating point tests. · f7bd0808
      unknown authored
      
      mysql-test/t/insert.test:
        Windows implements a different rounding rules in printf("%g"), thus we still need to do replace_result
      mysql-test/t/variables.test:
        We need to do replace_result because variables are printed by another procedure.
      sql/field.cc:
        Fixed the code to limit the precision to DBL_DIG.
      f7bd0808
  2. 01 Dec, 2007 6 commits
    • unknown's avatar
      Merge polly.(none):/home/kaa/src/maint/bug26788/my50-bug26788 · f917ca0c
      unknown authored
      into  polly.(none):/home/kaa/src/maint/bug26788/my51-bug26788
      
      
      mysql-test/r/insert.result:
        Auto merged
      mysql-test/t/cast.test:
        Auto merged
      mysql-test/t/insert.test:
        Auto merged
      sql/field.cc:
        Auto merged
      f917ca0c
    • unknown's avatar
      Fixed the floating point number tests on Windows. · cf4b8f6a
      unknown authored
      
      mysql-test/r/insert.result:
        Fixed the test cases.
      mysql-test/t/cast.test:
        We need to do replace_result because warnings are printed by another procedure.
      mysql-test/t/insert.test:
        Windows implements a different rounding rules in printf("%g"), thus we still need to do replace_result.
      sql/field.cc:
        Limit the precision to avoid garbage past the significant digits.
      cf4b8f6a
    • unknown's avatar
      Merge polly.(none):/home/kaa/src/maint/bug26788/my50-bug26788 · b2c7af4a
      unknown authored
      into  polly.(none):/home/kaa/src/maint/bug26788/my51-bug26788
      
      
      sql/field.cc:
        Auto merged
      b2c7af4a
    • unknown's avatar
      Fixed the build failure on Windows. It does not have trunc() defined in... · 371514ec
      unknown authored
      Fixed the build failure on Windows. It does not have trunc() defined in math.h, so we should not use it code.
      
      
      371514ec
    • unknown's avatar
      Merge polly.(none):/home/kaa/src/maint/bug26788/my50-bug26788 · 5e5f4ba8
      unknown authored
      into  polly.(none):/home/kaa/src/maint/bug26788/my51-bug26788
      
      
      mysql-test/r/insert.result:
        Auto merged
      mysql-test/t/cast.test:
        Auto merged
      mysql-test/t/insert.test:
        Auto merged
      mysql-test/t/type_float.test:
        Auto merged
      mysql-test/t/variables.test:
        Auto merged
      sql/field.cc:
        SCCS merged
      5e5f4ba8
    • unknown's avatar
      Fix for bug #26788 "mysqld (debug) aborts when inserting specific · 10f11bcd
      unknown authored
      numbers into char fields" and bug #12860 "Difference in zero padding of
      exponent between Unix and Windows"
      
      Rewrote the code that determines what 'precision' argument should be
      passed to sprintf() to fit the string representation of the input number
      into the field.
      We get finer control over conversion by pre-calculating the exponent, so
      we are able to determine which conversion format, 'e' or 'f', will be
      used by sprintf().
      We also remove the leading zero from the exponent on Windows to make it
      compatible with the sprintf() output on other platforms.
      
      
      mysql-test/r/insert.result:
        Added test cases for bug #26788 and bug #31152.
      mysql-test/t/cast.test:
        Removed --replace_result, since the result is now correct on Windows.
      mysql-test/t/insert.test:
        Added test cases for bug #26788 and bug #31152.
      mysql-test/t/type_float.test:
        Removed --replace_result, since the result is now correct on Windows.
      mysql-test/t/variables.test:
        Removed --replace_result, since the result is now correct on Windows.
      sql/field.cc:
        Rewrote the code that determines what 'precision' argument should be
        passed to sprintf() to fit the string representation of the input number
        into the field.
        We get finer control over conversion by pre-calculating the exponent, so
        we are able to determine which conversion format, 'e' or 'f', will be
        used by sprintf().
      10f11bcd
  3. 02 Oct, 2007 8 commits
  4. 28 Sep, 2007 3 commits
  5. 27 Sep, 2007 2 commits
  6. 26 Sep, 2007 2 commits
  7. 25 Sep, 2007 3 commits
  8. 24 Sep, 2007 7 commits
    • unknown's avatar
      Merge sita.local:/Users/tsmith/m/bk/maint/50 · 8e7decbf
      unknown authored
      into  sita.local:/Users/tsmith/m/bk/maint/51
      
      
      mysql-test/include/windows.inc:
        SCCS merged
      8e7decbf
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · cef45d82
      unknown authored
      into  sita.local:/Users/tsmith/m/bk/maint/50
      
      cef45d82
    • unknown's avatar
      Add test for named pipes on windows · 43a4facc
      unknown authored
      Improve test for  shm on windows
      
      
      mysql-test/include/windows.inc:
        improve "skip message" and don't require a result file
      mysql-test/r/shm.result:
        Update result after adding more tests
      mysql-test/t/shm-master.opt:
        Add $MTR_BUILD_THREAD to get a unique shared memory base name
      mysql-test/t/shm.test:
        Run a bunch of more test to check shm
      mysql-test/r/named_pipe.result:
        New BitKeeper file ``mysql-test/r/named_pipe.result''
      mysql-test/t/named_pipe-master.opt:
        New BitKeeper file ``mysql-test/t/named_pipe-master.opt''
      mysql-test/t/named_pipe.test:
        New BitKeeper file ``mysql-test/t/named_pipe.test''
      43a4facc
    • unknown's avatar
      Merge production.mysql.com:/usersnfs/jperkin/bk/build-5.0 · 281e6d03
      unknown authored
      into  production.mysql.com:/usersnfs/jperkin/bk/build-5.1
      
      
      BitKeeper/deleted/.del-CMakeLists.txt~dd682cce1d53c0b4:
        Auto merged
      281e6d03
    • unknown's avatar
      Merge sita.local:/Users/tsmith/m/bk/maint/50 · 2b663b4c
      unknown authored
      into  sita.local:/Users/tsmith/m/bk/maint/51
      
      
      client/mysql.cc:
        Auto merged
      client/mysqldump.c:
        Auto merged
      mysql-test/Makefile.am:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      2b663b4c
    • unknown's avatar
      Merge sita.local:/Users/tsmith/m/bk/51 · 9f27ede2
      unknown authored
      into  sita.local:/Users/tsmith/m/bk/maint/51
      
      
      client/mysql.cc:
        Auto merged
      client/mysqldump.c:
        Auto merged
      mysql-test/Makefile.am:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      9f27ede2
    • unknown's avatar
      Merge sita.local:/Users/tsmith/m/bk/50 · 9f5f0a49
      unknown authored
      into  sita.local:/Users/tsmith/m/bk/maint/50
      
      
      client/mysql.cc:
        Auto merged
      client/mysqldump.c:
        Auto merged
      mysql-test/Makefile.am:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      9f5f0a49
  9. 22 Sep, 2007 6 commits
    • unknown's avatar
      Revert previous attempt to fix bug#27693, the files removed from the · 21f2b3cd
      unknown authored
      cmake list are auto-generated and thus still required.  Correct fix
      not yet known.
      
      
      bdb/CMakeLists.txt:
        Revert previous change, it is incorrect as those files are automatically
        generated.
      21f2b3cd
    • unknown's avatar
      Merge shellback.(none):/home/msvensson/mysql/mysql-5.0-maint · 1a6ab3e9
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/my51-bug30843
      
      
      mysql-test/r/archive.result:
        Merge 5.0->5.1
      mysql-test/t/archive.test:
        Merge 5.0->5.1
      1a6ab3e9
    • unknown's avatar
      Bug#30843 Bad Test addition to t/archive.test · 8bf0dc20
      unknown authored
      
      mysql-test/r/archive.result:
        Don't care about the "after insert delayed" record when since
        we can't guarantee the order it's been inserted
      mysql-test/t/archive.test:
        Don't care about the "after insert delayed" record when since
        we can't guarantee the order it's been inserted
      8bf0dc20
    • unknown's avatar
      Merge shellback.(none):/home/msvensson/mysql/mysql-5.0-maint · de2bcae5
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/my51-bug30843
      
      
      BitKeeper/deleted/.del-configure.js:
        Auto merged
      client/mysql.cc:
        Auto merged
      client/mysql_upgrade.c:
        Auto merged
      client/mysqldump.c:
        Auto merged
      client/mysqltest.c:
        Auto merged
      configure.in:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      mysql-test/Makefile.am:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/udf.result:
        Auto merged
      mysql-test/t/udf.test:
        Auto merged
      scripts/Makefile.am:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/udf_example.def:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      sql/udf_example.c:
        Merge 5.0->5.1
      de2bcae5
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-maint · 42d117e7
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/my51-bug30843
      
      42d117e7
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 7884652d
      unknown authored
      into  alf.(none):/src/bug15327/my50-bug15327
      
      
      win/configure.js:
        Auto merged
      7884652d
  10. 21 Sep, 2007 1 commit
    • unknown's avatar
      Bug #15327: configure: --with-tcp-port option being partially ignored · 59d85c74
      unknown authored
          
      make sure that if builder configured with a non-standard (!= 3306)
      default TCP port that value actually gets used throughout.
      
      
      win/configure.js:
        Bug #15327: configure: --with-tcp-port option being partially ignored
                
        If MYSQL_TCP_PORT defaulted in configure (factory default 3306
        at the time of this writing), set MYSQL_TCP_PORT to factory
        default, then clear factory default after. That way, we lose no
        information, and we can distinguish between "defaulted" and the
        pathological case "builder specifically configured a port that
        coincides with factory default." This can in theory happen if
        builder configures and builds several servers from a script
        (--with-tcp-port=3306, --with-tcp-port=3316, --with-tcp-port=3326).
        Not all that probable, but much preferable to having more "magic"
        happen in the server when we can solve this without any guesswork.
      59d85c74