1. 15 Jan, 2005 10 commits
    • unknown's avatar
      Porting fix for bug #7586 "TIMEDIFF for sec+microsec not working properly" · 26e0d1e4
      unknown authored
      to 5.0 tree (since it was lost during last merge).
      
      
      mysql-test/r/func_sapdb.result:
        Updated test result after fixing bug #7586 "TIMEDIFF for sec+microsec not
        working properly" in 5.0 tree.
      sql/item_timefunc.cc:
        calc_time_diff():
          Use simplier and less error-prone implementation. Now we are counting
          difference between time values in microseconds and then convert it to
          seconds + microseconds value (instead of using seconds and taking
          difference in "second_part"s into account).
      26e0d1e4
    • unknown's avatar
      After merge fixes · 9d983231
      unknown authored
      Fix for BIT(X) field as string
      
      
      mysql-test/r/func_gconcat.result:
        Fix wrong merge
      mysql-test/r/func_sapdb.result:
        Use results so that dimitry can fix them properly
      mysql-test/r/innodb.result:
        Update test after fast TRUNCATE in InnoDB
      mysql-test/r/ps_1general.result:
        After megre fixes
      mysql-test/r/type_bit.result:
        New test to verify patch for Bit fields
      mysql-test/t/ps_1general.test:
        After merge fixes
      mysql-test/t/type_bit.test:
        New test to verify patch for Bit fields
      sql/field.cc:
        Fix for new my_strntod()
        Fix for BIT(X) field as string
      sql/item.h:
        Fix for new my_strntod()
      sql/item_func.h:
        Fix for new my_strntod()
      sql/item_sum.h:
        Fix for new my_strntod()
      sql/procedure.h:
        Fix for new my_strntod()
      sql/sql_base.cc:
        Port fix for INSERT DELAYED with prepared statements to 5.0
      9d983231
    • unknown's avatar
      Merge with global tree · d2ed1d0d
      unknown authored
      
      BitKeeper/etc/ignore:
        auto-union
      Build-tools/Do-compile:
        Auto merged
      configure.in:
        Auto merged
      innobase/include/row0mysql.h:
        Auto merged
      innobase/os/os0file.c:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      mysql-test/r/ctype_latin1_de.result:
        Auto merged
      mysql-test/r/ctype_tis620.result:
        Auto merged
      mysql-test/r/ctype_ucs.result:
        Auto merged
      mysql-test/r/ctype_ujis.result:
        Auto merged
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/r/ps_1general.result:
        Auto merged
      mysql-test/r/show_check.result:
        Auto merged
      mysql-test/r/type_float.result.es:
        Auto merged
      mysql-test/r/type_float.result:
        Auto merged
      mysql-test/t/ctype_ucs.test:
        Auto merged
      mysql-test/t/ps_1general.test:
        Auto merged
      mysql-test/t/show_check.test:
        Auto merged
      ndb/src/kernel/vm/Configuration.cpp:
        Auto merged
      scripts/mysql_install_db.sh:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/filesort.cc:
        Auto merged
      sql/ha_berkeley.cc:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      strings/ctype-big5.c:
        Auto merged
      strings/ctype-bin.c:
        Auto merged
      strings/ctype-czech.c:
        Auto merged
      strings/ctype-gbk.c:
        Auto merged
      strings/ctype-latin1.c:
        Auto merged
      strings/ctype-mb.c:
        Auto merged
      strings/ctype-simple.c:
        Auto merged
      strings/ctype-sjis.c:
        Auto merged
      strings/ctype-tis620.c:
        Auto merged
      strings/ctype-uca.c:
        Auto merged
      strings/ctype-ucs2.c:
        Auto merged
      strings/ctype-utf8.c:
        Auto merged
      strings/ctype-win1250ch.c:
        Auto merged
      sql/sql_show.cc:
        No changes
      strings/ctype-cp932.c:
        No changes
      support-files/mysql.spec.sh:
        No changes
      d2ed1d0d
    • unknown's avatar
      Merge with 4.1 · b243e1ef
      unknown authored
      
      BitKeeper/etc/ignore:
        auto-union
      Build-tools/Do-compile:
        Auto merged
      client/mysqladmin.cc:
        Auto merged
      heap/hp_create.c:
        Auto merged
      heap/hp_write.c:
        Auto merged
      include/my_sys.h:
        Auto merged
      innobase/data/data0type.c:
        Auto merged
      innobase/include/row0mysql.h:
        Auto merged
      innobase/os/os0file.c:
        Auto merged
      innobase/rem/rem0cmp.c:
        Auto merged
      innobase/row/row0sel.c:
        Auto merged
      innobase/srv/srv0start.c:
        Auto merged
      mysql-test/r/ctype_latin1_de.result:
        Auto merged
      mysql-test/r/ctype_tis620.result:
        Auto merged
      mysql-test/r/ctype_ucs.result:
        Auto merged
      mysql-test/r/ctype_ujis.result:
        Auto merged
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/r/func_gconcat.result:
        Auto merged
      mysql-test/r/func_sapdb.result:
        Auto merged
      mysql-test/r/show_check.result:
        Auto merged
      mysql-test/r/type_float.result.es:
        Auto merged
      mysql-test/r/type_float.result:
        Auto merged
      mysql-test/r/type_timestamp.result:
        Auto merged
      mysql-test/t/ctype_ucs.test:
        Auto merged
      mysql-test/t/func_sapdb.test:
        Auto merged
      mysql-test/t/show_check.test:
        Auto merged
      mysql-test/t/type_float.test:
        Auto merged
      mysql-test/t/type_timestamp.test:
        Auto merged
      mysys/mf_iocache.c:
        Auto merged
      ndb/src/kernel/vm/Configuration.cpp:
        Auto merged
      scripts/mysql_install_db.sh:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/ha_berkeley.cc:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/item_sum.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      strings/ctype-big5.c:
        Auto merged
      strings/ctype-bin.c:
        Auto merged
      strings/ctype-czech.c:
        Auto merged
      strings/ctype-gbk.c:
        Auto merged
      strings/ctype-latin1.c:
        Auto merged
      strings/ctype-mb.c:
        Auto merged
      strings/ctype-simple.c:
        Auto merged
      strings/ctype-sjis.c:
        Auto merged
      strings/ctype-tis620.c:
        Auto merged
      strings/ctype-uca.c:
        Auto merged
      strings/ctype-ucs2.c:
        Auto merged
      strings/ctype-utf8.c:
        Auto merged
      strings/ctype-win1250ch.c:
        Auto merged
      configure.in:
        Use local values
      mysql-test/r/ps_1general.result:
        Update results
      mysql-test/t/func_gconcat.test:
        no changes
      mysql-test/t/ps_1general.test:
        Use local code
      ndb/src/common/util/version.c:
        Use local code
      sql/filesort.cc:
        Empty line changes
      sql/ha_heap.cc:
        Merge
      sql/item_timefunc.cc:
        Keep local code
      sql/mysql_priv.h:
        Update to 5.0
      sql/sql_show.cc:
        Hand merge
      support-files/mysql.spec.sh:
        No changes
      b243e1ef
    • unknown's avatar
      Added ndb_types.h to ignore · b1b74daa
      unknown authored
      
      BitKeeper/etc/ignore:
        added ndb/include/ndb_types.h
      b1b74daa
    • unknown's avatar
      Changed interface for my_strntod() to make it more general and more portable · b6f04ed5
      unknown authored
      
      BUILD/compile-solaris-sparc-purify:
        Cleanup (Changes from Kent)
      include/m_string.h:
        New interface for my_strtod()
      mysql-test/mysql-test-run.sh:
        Added option --use-old-data to allow one to run a test case on an existing table
        (Good for debugging)
      mysql-test/r/strict.result:
        Updated results
      mysql-test/r/type_float.result:
        More tests
      mysql-test/t/strict.test:
        Safety fix
      mysql-test/t/type_float.test:
        More tests
      mysys/mf_iocache.c:
        Change flush_io_cache() to my_b_flush_io_cache()
        More debugging
      mysys/thr_lock.c:
        Added comment
      sql/field.cc:
        Use new my_strntod()
      sql/filesort.cc:
        Indentation fixes
      sql/item.cc:
        Use new my_strntod()
      sql/item_strfunc.cc:
        Use new my_strntod()
      sql/item_sum.cc:
        Use new my_strntod()
      strings/ctype-cp932.c:
        strnncollsp was missing one argument
      strings/ctype-simple.c:
        Use new my_strntod()
      strings/ctype-ucs2.c:
        Use new my_strntod()
      strings/strtod.c:
        Changed interface:
        - Force user to supply pointer to end of string (eliminates the need for an end \0)
        - More strict error checking (depend less off if INF is set), which makes this more portable
        - Better handling of numbers of type 0.000000....E+...
        - Return pointer to + in case of '+.'
        
        The above should fix a that strict.test failed on Solaris-sparc.
      b6f04ed5
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · da2ba0d2
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      da2ba0d2
    • unknown's avatar
      func_gconcat.result, func_gconcat.test: · 401e5f05
      unknown authored
        Added a test case for bug #7769.
      item_sum.h:
        Fixed bug #7769: a crash for queries with group_concat and
        having when the query table was empty.
        The bug was due an unsafe dereferencing.
      
      
      sql/item_sum.h:
        Fixed bug #7769: a crash for queries with group_concat and
        having when the query table was empty.
        The bug was due an unsafe dereferencing.
      mysql-test/t/func_gconcat.test:
        Added a test case for bug #7769.
      mysql-test/r/func_gconcat.result:
        Added a test case for bug #7769.
      401e5f05
    • unknown's avatar
      Merge · 4e502f4b
      unknown authored
      
      include/my_sys.h:
        Auto merged
      sql/filesort.cc:
        Auto merged
      mysys/mf_iocache.c:
        SCCS merged
      4e502f4b
    • unknown's avatar
      Fixed possible access to unintialized memory in filesort when using many buffers · 7a9e9fb0
      unknown authored
      
      include/my_sys.h:
        Added function to call if IO_CACHE is moved
      mysys/mf_iocache.c:
        Added function to call if IO_CACHE is moved
      sql/filesort.cc:
        Tell that io_cache is moved
      7a9e9fb0
  2. 14 Jan, 2005 20 commits
  3. 13 Jan, 2005 10 commits
    • unknown's avatar
      Merge anna@bk-internal.mysql.com:/home/bk/mysql-5.0 · f9180912
      unknown authored
      into arthur.local:/my/mysql-5.0-clean
      
      f9180912
    • unknown's avatar
      fix C++ comments in C file (fixed in 5.0 already) · 4e252340
      unknown authored
      
      strings/ctype-uca.c:
        fix C++ comments in C file
      4e252340
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · c0a875ec
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      c0a875ec
    • unknown's avatar
      Fix bug in INSERT DELAYED with prepared statements · 4c43672a
      unknown authored
      The bug was that if you have two TL_WRITE_DELAYED at the same time,
      mi_lock_databases() could be done in the wrong order and we could write the wrong header to the MyISAM index file.
      
      
      sql/mysql_priv.h:
        Fix bug in insert delayed with prepared statements
      sql/sql_base.cc:
        Fix bug in insert delayed with prepared statements
      sql/sql_prepare.cc:
        Fix bug in insert delayed with prepared statements
        The bug was that if you have two TL_WRITE_DELAYED at the same time,
        mi_lock_databases() could be done in the wrong order and we could write the wrong header to the MyISAM index file.
      4c43672a
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-clean · 8d574e73
      unknown authored
      into mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      mysql-test/r/ctype_utf8.result:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      8d574e73
    • unknown's avatar
      Update results files · 3cc06145
      unknown authored
      
      mysql-test/r/ctype_utf8.result:
        Update results
      mysql-test/r/show_check.result:
        Update results
      3cc06145
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 07a87f98
      unknown authored
      into mysql.com:/home/jimw/my/mysql-5.0-clean
      
      07a87f98
    • unknown's avatar
      ha_innodb.cc: · dcffebca
      unknown authored
        "Add a comment why data modifying SQL statements MUST always use a locking read in tables that they read: otherwise the execution is not serializable, and in many cases is not well-defined; we also merged the associated bug fix from 4.1"
      
      
      sql/ha_innodb.cc:
        Add a comment why data modifying SQL statements MUST always use a locking read in tables that they read: otherwise the exxecution is not serializable, and in many cases is not well-defined; 5 minutes ago we merged the associated bug fix from 4.0 and 4.1
      dcffebca
    • unknown's avatar
      Fix mysql_install_db to look for libexecdir relative to basedir when · 0898b40c
      unknown authored
      it has been specified. (Bug #7347)
      
      
      scripts/mysql_install_db.sh:
        When basedir is specified, look for libexecdir relative to that
      0898b40c
    • unknown's avatar
      Merge anna@bk-internal.mysql.com:/home/bk/mysql-5.0 · 07f314f9
      unknown authored
      into arthur.local:/my/mysql-5.0-clean
      
      07f314f9