1. 31 Jan, 2007 4 commits
    • unknown's avatar
      Merge mysql.com:/home/ram/work/b19690/b19690.5.0 · b48a5cdb
      unknown authored
      into  mysql.com:/home/ram/work/b19690/b19690.5.1
      
      
      mysql-test/r/type_float.result:
        Auto merged
      mysql-test/t/type_float.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/init.cc:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/field.h:
        merging
      sql/item_sum.cc:
        merging
      sql/sql_select.cc:
        merging
      b48a5cdb
    • unknown's avatar
      after-merge fix. · f5eb04bd
      unknown authored
      f5eb04bd
    • unknown's avatar
      Merge mysql.com:/home/ram/work/b19690/b19690.4.1 · ad57ed7d
      unknown authored
      into  mysql.com:/home/ram/work/b19690/b19690.5.0
      
      
      mysql-test/r/type_float.result:
        Auto merged
      mysql-test/t/type_float.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/field.h:
        merging
      sql/init.cc:
        merging
      sql/item_cmpfunc.cc:
        merging
      sql/mysql_priv.h:
        merging
      sql/sql_select.cc:
        merging
      ad57ed7d
    • unknown's avatar
      fix for bug #19690: ORDER BY eliminates rows from the result · 03f5218e
      unknown authored
      Depending on the queries we use different data processing methods
      and can lose some data in case of double (and decimal in 4.1) fields.
      
      The fix consists of two parts:
      1. double comparison changed, now double a is equal to double b 
      if (a-b) is less than 5*0.1^(1 + max(a->decimals, b->decimals)). 
      For example, if a->decimals==1, b->decimals==2, a==b if (a-b)<0.005
      2. if we use a temporary table, store double values there as is 
      to avoid any data conversion (rounding).
      
      
      mysql-test/r/type_float.result:
        fix for bug #19690: ORDER BY eliminates rows from the result
          - test result
      mysql-test/t/type_float.test:
        fix for bug #19690: ORDER BY eliminates rows from the result
          - test case
      sql/field.cc:
        fix for bug #19690: ORDER BY eliminates rows from the result
          - use not_fixed flag instead of dec to check bounds.
      sql/field.h:
        fix for bug #19690: ORDER BY eliminates rows from the result
          - Field_Double::not_fixed flag introduced, which is set if dec == NOT_FIXED_DEC
            and is used in the ::store() to check bounds. 
          - new constructor introduced (with not_fixed_arg parameter).
      sql/init.cc:
        fix for bug #19690: ORDER BY eliminates rows from the result
          - fill log_01[] array with 0.1 powers.
      sql/item_cmpfunc.cc:
        fix for bug #19690: ORDER BY eliminates rows from the result
          - compare_real_fixed() and compare_e_real_fixed() introduced,
            they consider double a == double b if a-b is less than 'precision',
            'precision' is set to 5*0.1^(1 + max(a->decimals, b->decimals)), 
            for example, if a->decimals==1, b->decimals==2, 'precision' is 0.005
          - use the above functions if both arguments are fixed.
      sql/item_cmpfunc.h:
        fix for bug #19690: ORDER BY eliminates rows from the result
          - Arg_comparator::presision introduced.
          - Arg_comparator::compare_real_fixed(), Arg_comparator::compare_e_real_fixed() introduced.
      sql/mysql_priv.h:
        fix for bug #19690: ORDER BY eliminates rows from the result
          - log_01 array of 0.1 powers added.
      sql/mysqld.cc:
        fix for bug #19690: ORDER BY eliminates rows from the result
          - log_01 array of 0.1 powers added.
      sql/sql_select.cc:
        fix for bug #19690: ORDER BY eliminates rows from the result
          - if we create double field in a temporary table, set not_fixed flag
            (use proper constructor) to avoid data conversion 
            in the Field_double::store(). Otherwise we can lose some data.
      03f5218e
  2. 25 Jan, 2007 1 commit
  3. 24 Jan, 2007 4 commits
  4. 23 Jan, 2007 3 commits
  5. 22 Jan, 2007 19 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-maint · cca7d2f3
      unknown authored
      into  qualinost.(none):/home/mtaylor/src/mysql-5.1-new-maint
      
      cca7d2f3
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint · 8c6a9740
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-maint
      
      
      extra/yassl/include/openssl/ssl.h:
        Auto merged
      extra/yassl/src/ssl.cpp:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/mysqltest.result:
        Auto merged
      mysql-test/t/mysqltest.test:
        Auto merged
      BitKeeper/deleted/.del-CMakeLists.txt~10:
        Auto merged
      8c6a9740
    • unknown's avatar
      Import yaSSL version 1.5.8 · 13c219ed
      unknown authored
       - Includes patch for Bug#25189
      
      
      extra/yassl/README:
        Import patch yassl.diff
      extra/yassl/include/openssl/ssl.h:
        Import patch yassl.diff
      extra/yassl/src/make.bat:
        Import patch yassl.diff
      extra/yassl/src/ssl.cpp:
        Import patch yassl.diff
      extra/yassl/src/yassl_error.cpp:
        Import patch yassl.diff
      extra/yassl/taocrypt/benchmark/make.bat:
        Import patch yassl.diff
      extra/yassl/taocrypt/include/asn.hpp:
        Import patch yassl.diff
      extra/yassl/taocrypt/include/error.hpp:
        Import patch yassl.diff
      extra/yassl/taocrypt/include/file.hpp:
        Import patch yassl.diff
      extra/yassl/taocrypt/src/asn.cpp:
        Import patch yassl.diff
      extra/yassl/taocrypt/src/coding.cpp:
        Import patch yassl.diff
      extra/yassl/taocrypt/src/integer.cpp:
        Import patch yassl.diff
      extra/yassl/taocrypt/src/make.bat:
        Import patch yassl.diff
      extra/yassl/taocrypt/test/make.bat:
        Import patch yassl.diff
      extra/yassl/taocrypt/test/test.cpp:
        Import patch yassl.diff
      extra/yassl/testsuite/make.bat:
        Import patch yassl.diff
      extra/yassl/testsuite/testsuite.cpp:
        Import patch yassl.diff
      13c219ed
    • unknown's avatar
    • unknown's avatar
      after-merge fix. · 4ea84740
      unknown authored
      
      mysql-test/r/select.result:
        results adjusted.
      4ea84740
    • unknown's avatar
      Merge mysql.com:/home/ram/work/b22026/b22026.5.0 · 8b96b361
      unknown authored
      into  mysql.com:/home/ram/work/b22026/b22026.5.1
      
      
      mysql-test/r/select.result:
        Auto merged
      mysql-test/t/select.test:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      8b96b361
    • unknown's avatar
      Fix for bug #22026: Warning when using IF statement and large unsigned bigint · cecefeb8
      unknown authored
        
      We use INT_RESULT type if all arguments are of type INT for 'if', 'case', 
      'coalesce' functions regardless of arguments' unsigned flag, so sometimes we can
      exceed the INT bounds.
      
      
      mysql-test/r/select.result:
        Fix for bug #22026: Warning when using IF statement and large unsigned bigint
          - test result.
      mysql-test/t/select.test:
        Fix for bug #22026: Warning when using IF statement and large unsigned bigint
          - test case.
      sql/item_cmpfunc.cc:
        Fix for bug #22026: Warning when using IF statement and large unsigned bigint
          - take into account unsigned flags aggregating result types:                    
            return INT_RESULT only if two items with INT_RESULT type                      
            have equal unsigned_flags, otherwise return REAL_RESULT.
      cecefeb8
    • unknown's avatar
      2bfeb2a4
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-maint · 5b566961
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      5b566961
    • unknown's avatar
      Merge ymer.(none):/usr/local/mysql/mysql-4.1-maint · e370cea0
      unknown authored
      into  ymer.(none):/usr/local/mysql/x/mysql-5.1-new-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      e370cea0
    • unknown's avatar
      Merge ymer.(none):/usr/local/mysql/mysql-4.1-maint · faf0b52e
      unknown authored
      into  ymer.(none):/usr/local/mysql/x/mysql-5.0-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      faf0b52e
    • unknown's avatar
      Merge siva.hindu.god:/home/tsmith/m/inno/jan20/50 · 844c57da
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/inno/jan20/51
      
      
      mysql-test/r/range.result:
        SCCS merged
      sql/item.cc:
        SCCS merged
      storage/innobase/dict/dict0dict.c:
        Use local
      storage/innobase/handler/ha_innodb.h:
        Use local
      844c57da
    • unknown's avatar
      Merge siva.hindu.god:/home/tsmith/m/inno/jan20/50 · c4330c11
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/inno/jan20/51
      
      
      mysql-test/r/range.result:
        Auto merged
      sql/item.cc:
        Auto merged
      c4330c11
    • unknown's avatar
      Merge siva.hindu.god:/home/tsmith/m/inno/jan20/50 · 00abfb1e
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/inno/jan20/51
      
      
      mysys/string.c:
        Auto merged
      00abfb1e
    • unknown's avatar
      Merge siva.hindu.god:/home/tsmith/m/inno/jan20/41 · 9622ab0d
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/inno/jan20/50
      
      
      innobase/dict/dict0dict.c:
        Use local
      9622ab0d
    • unknown's avatar
      Merge siva.hindu.god:/home/tsmith/m/inno/jan20/41 · d54aa5b8
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/inno/jan20/50
      
      
      mysql-test/r/range.result:
        Auto merged
      sql/item.cc:
        Auto merged
      d54aa5b8
    • unknown's avatar
      Applied innodb-4.1-ss36 and innodb-4.1-ss38 snapshots · 76e23c81
      unknown authored
      Fixes:
      - Bug #24299: 
      - Bug #25596: 
      
      
      innobase/dict/dict0dict.c:
        Applied innodb-4.1-ss36 and innodb-4.1-ss38 snapshots
        
        Revision r36:
        innodb-4.1: Port r1030 from innodb/branches/5.0:
        
        Replace isspace() with a wrapper ib_isspace(), because on
        Win32 isspace(0xa0) appears to hold.  (Bug #24299)
        
        
        Revision r38:
        ib_isspace(c): Check for c being the null character.  (Bug #25596)
      76e23c81
    • unknown's avatar
      Applied innodb-5.1-ss1186 · 1c0ed4cd
      unknown authored
      Fixes bugs:
      - Bug #20877: InnoDB data dictionary memory footprint is too big
      - Bug #24741: existing cascade clauses disappear when adding foreign keys
      
      
      mysql-test/r/innodb.result:
        Applied innodb-5.1-ss1186
        
        Revision r1186:
        dict_load_foreign(): Use a local variable instead of the 10-bit field
        foreign->n_fields in order to preserve ON UPDATE CASCADE and
        ON DELETE CASCADE flags.  For some reason, gcc does not warn about
        shifting a 10-bit field to right by 24 bits.  (Bug #24741)
        
        This bug was introduced while reducing the memory footprint of the
        InnoDB data dictionary (Bug #20877).
        
        innodb.test, innodb.result: Add a test case.
      mysql-test/t/innodb.test:
        Applied innodb-5.1-ss1186
        
        Revision r1186:
        dict_load_foreign(): Use a local variable instead of the 10-bit field
        foreign->n_fields in order to preserve ON UPDATE CASCADE and
        ON DELETE CASCADE flags.  For some reason, gcc does not warn about
        shifting a 10-bit field to right by 24 bits.  (Bug #24741)
        
        This bug was introduced while reducing the memory footprint of the
        InnoDB data dictionary (Bug #20877).
        
        innodb.test, innodb.result: Add a test case.
      storage/innobase/buf/buf0flu.c:
        Applied innodb-5.1-ss1186
        
        Revision r1168:
        buf_flush_batch(): Remove the test page_count != ULINT_UNDEFINED.
        The variable is initialized to zero, and after that it is only added to.
        Maybe the one who introduced the variable srv_buf_pool_flushed overlooked
        that there is a separate return statement for returning ULINT_UNDEFINED?
      storage/innobase/dict/dict0load.c:
        Applied innodb-5.1-ss1186
        
        Revision r1186:
        dict_load_foreign(): Use a local variable instead of the 10-bit field
        foreign->n_fields in order to preserve ON UPDATE CASCADE and
        ON DELETE CASCADE flags.  For some reason, gcc does not warn about
        shifting a 10-bit field to right by 24 bits.  (Bug #24741)
        
        This bug was introduced while reducing the memory footprint of the
        InnoDB data dictionary (Bug #20877).
        
        innodb.test, innodb.result: Add a test case.
      storage/innobase/include/ut0ut.h:
        Applied innodb-5.1-ss1186
        
        Revision r1165:
        ut_2_power_up(): Add __attribute__((const)), because otherwise this function
        is repeatedly called in buf_flush_free_margin() due to the definitions
        of BUF_READ_AHEAD_AREA and other macros starting with BUF_READ_AHEAD_.
      storage/innobase/que/que0que.c:
        Applied innodb-5.1-ss1186
        
        Revision r1158:
        Modify que_fork_start_command() to do only one pass over the thread list
        instead of three.
      1c0ed4cd
    • unknown's avatar
      Applied innodb-5.0-ss1230 snapshot · 4fc2127e
      unknown authored
      Fixes:
      - Bug #25596: 
      
      
      innobase/dict/dict0dict.c:
        Applied innodb-5.0-ss1230 snapshot.
        
        r1230
        
        branches/5.0: ib_isspace(c): Check for c being the null character.
        (Bug #25596)
      sql/ha_innodb.h:
        Applied innodb-5.0-ss1230
        
        Trivial indent SPACES -> TAB change.
      4fc2127e
  6. 21 Jan, 2007 1 commit
  7. 20 Jan, 2007 6 commits
  8. 19 Jan, 2007 2 commits
    • unknown's avatar
      One final time making the path right. · be4219cf
      unknown authored
      
      configure.in:
        I cut and pasted in the wrong direction I think. We don't have storage until 5.1... 
        ---
        missed storage in one more place
        ---
        added storage back to patch after merge from 5.0-maint
      be4219cf
    • unknown's avatar
      Merge qualinost.(none):/home/mtaylor/src/mysql-5.0-maint · 6d76d05a
      unknown authored
      into  qualinost.(none):/home/mtaylor/src/mysql-5.1-new-maint
      
      
      BitKeeper/etc/ignore:
        auto-union
      configure.in:
        Auto merged
      mysys/string.c:
        Auto merged
      storage/ndb/src/Makefile.am:
        Auto merged
      6d76d05a