1. 06 Feb, 2007 4 commits
  2. 05 Feb, 2007 1 commit
  3. 01 Feb, 2007 2 commits
  4. 31 Jan, 2007 5 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1-maint · 1113bf8d
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-4.1-maint
      
      
      configure.in:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      scripts/mysqld_multi.sh:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      1113bf8d
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 0d59dfaa
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-4.1-maint
      
      
      configure.in:
        Auto merged
      mysql-test/r/range.result:
        Auto merged
      mysql-test/t/range.test:
        Auto merged
      0d59dfaa
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1-maint · 9f9772b6
      unknown authored
      into  qualinost.(none):/home/mtaylor/src/mysql-4.1-maint
      
      9f9772b6
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1-maint · 57408106
      unknown authored
      into  mysql.com:/home/ram/work/b19690/b19690.4.1
      
      
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      57408106
    • 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
  5. 29 Jan, 2007 4 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1-maint · 2f303b14
      unknown authored
      into  qualinost.(none):/home/mtaylor/src/mysql-4.1-maint
      
      2f303b14
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1-maint · 1efa8190
      unknown authored
      into  pilot.mysql.com:/home/msvensson/mysql/mysql-4.1-maint
      
      1efa8190
    • unknown's avatar
      Merge pilot.mysql.com:/home/msvensson/mysql/bug22943/my41-bug22943 · a4ce2fac
      unknown authored
      into  pilot.mysql.com:/home/msvensson/mysql/mysql-4.1-maint
      
      
      sql/mysql_priv.h:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      a4ce2fac
    • unknown's avatar
      Bug#22943 syscall pruning in libmysql · e1ec8bec
      unknown authored
       - Set the timeout values only where needed
      
      
      sql/mysql_priv.h:
        Add new functions for setting read and write timeout on "net"
      sql/mysqld.cc:
        - Move the setting of "read_timeout" to the value of "connect_timeout" to
          just before 'check_connection' which is the function where we want
          to use the different timeout
        - With the new functions to set timeout on "net", there is no need to
          specifically set the default wait_timeout on windows.
      sql/net_serv.cc:
        Add new functions for setting read and write timeout of "net, when
        server is compiled not to use alarms it will set the write/read timeout
        directly on connection using 'vio_timeout'(using setsockopt if socket)
      sql/repl_failsafe.cc:
        Put unused code within "#if NOT_USED"
      sql/set_var.cc:
        Use 'net_set_*_timeout' when adjusting timeout value
        on the current connection
      sql/slave.cc:
        The read timeout used when connecting to master server is set
        using 'mysql_options' in 'connect_to_master' function
      sql/sql_parse.cc:
        - Set read and write timeout values to "connect_timeout" during
        connect phase
        - Use "read_timeout" value during sslaccept phase, since this is during
        connect phase it implies "connect-timeout"
        - Set read and write timeout value back to default after connect phase
        - Set "read_timeout" to "wait_timeout" while waiting for client.
      sql/sql_repl.cc:
        Set "read_timeout" to "wait_timeout" while ask other mysqld to send file
      sql-common/client.c:
        Call 'vio_timeout' to set up the read and write timeout's for the
        newly created connection. It only need to be done once at connect time.
      vio/vio.c:
        Use 'vio_timeout' for setting timeout also on an SSL connection
        since they both use sockets
      vio/viossl.c:
        Remove 'vio_ssl_timeout' function
      e1ec8bec
  6. 26 Jan, 2007 2 commits
  7. 24 Jan, 2007 3 commits
  8. 23 Jan, 2007 2 commits
  9. 22 Jan, 2007 12 commits
    • unknown's avatar
      Fixed bug #25637: LEFT JOIN with BOOLEAN FULLTEXT loses left table matches. · ab9b668a
      unknown authored
      The bug is actually a duplicate of the bug 14708.
      Down-ported the fix for 14708 from 5.0.  
      Merged the test case for bug 14708 from 5.0.
      
      
      mysql-test/r/fulltext_left_join.result:
        Added a test case for bug #25637 (duplicate .of bug 14708).
        Merged the test case for bug 14708 from 5.0.
      mysql-test/t/fulltext_left_join.test:
        Added a test case for bug #25637 (duplicate of bug 14708).
        Merged the test case for bug 14708 from 5.0.
      sql/item_func.cc:
        Fixed bug #25637: LEFT JOIN with BOOLEAN FULLTEXT loses left table matches.
        The bug is actually a duplicate of the bug 14708.
        Down-ported the fix for 14708 from 5.0.
      ab9b668a
    • unknown's avatar
      Merge kahlann.erinye.com:/home/df/mysql/build/mysql-4.1-build-work · 8cad210c
      unknown authored
      into  kahlann.erinye.com:/home/df/mysql/build/mysql-4.1-build
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      8cad210c
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1-maint · 04a9a2c3
      unknown authored
      into  qualinost.(none):/home/mtaylor/src/mysql-4.1-maint
      
      04a9a2c3
    • unknown's avatar
      Merge kahlann.erinye.com:/home/df/mysql/build/mysql-4.1-build-work-24780 · 58e94b90
      unknown authored
      into  kahlann.erinye.com:/home/df/mysql/build/mysql-4.1-build-work
      
      
      scripts/mysqld_multi.sh:
        Auto merged
      58e94b90
    • unknown's avatar
      after-merge fix · a032bef9
      unknown authored
      a032bef9
    • unknown's avatar
      Merge kahlann.erinye.com:/home/df/mysql/build/mysql-4.1-build-work1-testcases-20061 · eb284994
      unknown authored
      into  kahlann.erinye.com:/home/df/mysql/build/mysql-4.1-build-work
      
      
      BUILD/check-cpu:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/t/myisam.test:
        Auto merged
      eb284994
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1-maint · 9706f23b
      unknown authored
      into  pilot.mysql.com:/home/msvensson/mysql/mysql-4.1-maint
      
      9706f23b
    • unknown's avatar
      Merge dfischer@bk-internal.mysql.com:/home/bk/mysql-4.1-build · c1c7e201
      unknown authored
      into  kahlann.erinye.com:/home/df/mysql/build/mysql-4.1-build
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      c1c7e201
    • unknown's avatar
      Merge ymer.(none):/usr/local/mysql/mysql-4.1-maint · 46a53aaf
      unknown authored
      into  ymer.(none):/usr/local/mysql/x/mysql-4.1-maint
      
      46a53aaf
    • 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
      Merge a88-113-38-195.elisa-laajakaista.fi:/home/my/bk/mysql-4.0 · d9cc00e2
      unknown authored
      into  a88-113-38-195.elisa-laajakaista.fi:/home/my/bk/mysql-4.1
      
      
      include/thr_alarm.h:
        Auto merged
      mysys/my_pthread.c:
        Auto merged
      BUILD/SETUP.sh:
        Merged from 4.0
      configure.in:
        Merged from 4.0
      include/my_global.h:
        Merged from 4.0
      include/my_pthread.h:
        Merged from 4.0
      mysys/thr_alarm.c:
        Merged from 4.0
      sql/mysqld.cc:
        Merged from 4.0
      BUILD/SETUP.sh.rej:
        Merged from 4.0
      configure.in.rej:
        Merged from 4.0
      include/my_global.h.rej:
        Merged from 4.0
      include/my_pthread.h.rej:
        Merged from 4.0
      mysys/thr_alarm.c.rej:
        Merged from 4.0
      sql/mysqld.cc.rej:
        Merged from 4.0
      d9cc00e2
    • unknown's avatar
      Fix for configure to detect library correctly. · 0a03b27c
      unknown authored
      Fix to check library in use during runtime.
      Fix for Bug#16995, "idle connections not being killed due to timeout when NPTL is used".
      
      
      BUILD/SETUP.sh:
        To avoid warnings during compilation.
      configure.in:
        Fixed configure so that it can correctly detect
        between NPTL and Linuxthreads.
      include/my_global.h:
        Fix for Linuxthreads.
      include/my_pthread.h:
        Added defines for different libraries that can be detected.
        Currently only 'other', 'nptl', and 'lt' (linuxthreads) are
        being used.
        
        changed sigset() and signal() to my_sigset() and my_signal()
      include/thr_alarm.h:
        Removed defines for Linuxthreads. This is now detected during
        runtime and handled in the thr_alarm.c
      mysys/my_pthread.c:
        Runtime check for library.
      mysys/thr_alarm.c:
        Runtime checks for library and corresponding
        signals.
      sql/mysqld.cc:
        Added function for detecting thread library in use
        during start-up.
        
        THR_KILL_SIGNAL removed, setting signals during runtime.
      0a03b27c
  10. 20 Jan, 2007 1 commit
  11. 19 Jan, 2007 4 commits