1. 05 May, 2005 1 commit
    • unknown's avatar
      A lot of fixes to Precision math · 94dca613
      unknown authored
      Mostly about precision/decimals of the results of the operations
      
      
      include/decimal.h:
        decimal interface changed a little
      sql/field.cc:
        a lot of precision/decimals related changes to the Field_new_decimal
      sql/field.h:
        Field_new_decimal interface changed
      sql/ha_ndbcluster.cc:
        f->precision should be used here
      sql/item.cc:
        precision/decimals counting related changes
      sql/item.h:
        precision/decimals counting related changes
      sql/item_cmpfunc.cc:
        precision/decimals counting related changes
      sql/item_cmpfunc.h:
        precision/decimals counting related changes
      sql/item_func.cc:
        precision/decimals counting related changes
      sql/item_func.h:
        precision/decimals counting related changes
      sql/item_sum.cc:
        precision/decimals counting related changes
      sql/item_sum.h:
        precision/decimals counting related changes
      sql/my_decimal.cc:
        precision/decimals counting related changes
      sql/my_decimal.h:
        precision/decimals counting related changes
      sql/mysqld.cc:
        precision/decimals counting related changes
      sql/set_var.cc:
        precision/decimals counting related changes
      sql/sp_head.cc:
        dbug_decimal_print was replaced with dbug_decimal_as_string
      sql/sql_class.h:
        div_precincrement variable added
      sql/sql_parse.cc:
        precision/decimals counting related changes
      sql/sql_select.cc:
        precision/decimals counting related changes
      sql/sql_show.cc:
        Field::representation_length was removed
      strings/decimal.c:
        decimal_actual_fraction was introduced
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      94dca613
  2. 04 May, 2005 3 commits
  3. 03 May, 2005 4 commits
  4. 02 May, 2005 11 commits
  5. 01 May, 2005 3 commits
  6. 30 Apr, 2005 11 commits
    • unknown's avatar
      yassl changeset 2: · 07918c8c
      unknown authored
        remove FIX_GCC_LINKING_PROBLEM and -DDEFINE_CXA_PURE_VIRTUAL
        replace echo in configure.in with AC_MSG_WARN/AC_MSG_ERROR
        don't set -DUSE_MYSYS_NEW for gcc 2.95
        set $USE_MYSYS_NEW even if CXX is g++
        yassl bugfixes
        instantiate all yassl templates explicitly
      
      
      client/Makefile.am:
        mysqlbinlog as a c++ program may need my_new.cc (if CXX=gcc)
        no FIX_GCC_LINKING_PROBLEM anymore - it's in my_new.cc
      client/mysqladmin.cc:
        no FIX_GCC_LINKING_PROBLEM anymore - it's in my_new.cc
      client/mysqlbinlog.cc:
        no FIX_GCC_LINKING_PROBLEM anymore - it's in my_new.cc
      configure.in:
        echo should be AC_MSG_WARN or AC_MSG_ERROR
        don't set -DUSE_MYSYS_NEW for gcc 2.95 (to restore old behaviour)
        set $USE_MYSYS_NEW even if CXX is g++ (for yassl, as it can be linked with C programs)
        remove -DDEFINE_CXA_PURE_VIRTUAL - -DUSE_MYSYS_NEW is enough
      extra/yassl/mySTL/list.hpp:
        bugfixes
      extra/yassl/src/Makefile.am:
        no need to mess with CXXFLAGS anymore. Instantiate all templates explicitly
      extra/yassl/src/crypto_wrapper.cpp:
        instantiate templates explicitly
      extra/yassl/src/yassl_imp.cpp:
        instantiate templates explicitly
      extra/yassl/src/yassl_int.cpp:
        instantiate templates explicitly
      extra/yassl/taocrypt/include/runtime.hpp:
        use -DUSE_MYSYS_NEW not -DDEFINE_CXA_PURE_VIRTUAL
        assert in __cxa_pure_virtual
        remove dummy (and thus dangerous) __cxa_guard_acquire/__cxa_guard_release
      extra/yassl/taocrypt/src/Makefile.am:
        no need to mess with CXXFLAGS anymore. Instantiate all templates explicitly
      extra/yassl/taocrypt/src/integer.cpp:
        instantiate templates explicitly
      extra/yassl/taocrypt/src/rsa.cpp:
        instantiate templates explicitly
      include/my_global.h:
        no FIX_GCC_LINKING_PROBLEM anymore - it's in my_new.cc
      mysys/my_new.cc:
        no FIX_GCC_LINKING_PROBLEM anymore - it's in my_new.cc
      server-tools/instance-manager/command.cc:
        no FIX_GCC_LINKING_PROBLEM anymore - it's in my_new.cc
      sql/ha_blackhole.cc:
        typo fixed
      sql/ha_innodb.cc:
        warning fixed
      sql/item_func.cc:
        use LL()
      sql/mysqld.cc:
        no FIX_GCC_LINKING_PROBLEM anymore - it's in my_new.cc
      07918c8c
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · e5a05ffe
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-test-5.0
      
      
      sql/item.h:
        Auto merged
      e5a05ffe
    • unknown's avatar
      postreview changes · d617da7c
      unknown authored
      
      sql/item.cc:
        changed parameters order
      sql/item.h:
        changed parameters order
      sql/sql_base.cc:
        fixed comment
        changed parameters order
      d617da7c
    • unknown's avatar
      After merge fixes · 8d06dc45
      unknown authored
      
      Makefile.am:
        Added target test-force
      mysql-test/r/cast.result:
        Updated results after merge
      8d06dc45
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · b94d7b5a
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-test-5.0
      
      b94d7b5a
    • unknown's avatar
      Merge with 4.1 · 37613385
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      configure.in:
        Auto merged
      include/config-win.h:
        Auto merged
      include/my_global.h:
        Auto merged
      mysql-test/r/drop.result:
        Auto merged
      mysys/default.c:
        Auto merged
      mysys/mf_keycache.c:
        Auto merged
      sql/field.h:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      BitKeeper/deleted/.del-errmsg.txt~f96b7055cac394e:
        Auto merged
      mysql-test/r/cast.result:
        Merge
      mysql-test/t/cast.test:
        Merge
      sql/sql_insert.cc:
        Merge
      sql/sql_select.cc:
        Merge
      37613385
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · b6b13d73
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      
      tests/mysql_client_test.c:
        Auto merged
      b6b13d73
    • unknown's avatar
      A fix and a test case for Bug#9520 "SELECT DISTINCT crashes server · d20d0013
      unknown authored
      with cursor". The patch refactors do_select/sub_select
      functions, which implement the nested loop algorithm, and reuses them to
      fetch rows for cursors as well.
      Pushing with view.test failing (--ps-protocol).
      
      
      sql/sql_prepare.cc:
         Cursor::fetch() now returns void
      sql/sql_select.cc:
        A fix for Bug#9520 "SELECT DISTINCT crashes server with cursor":
        * rename sub_select returns codes to be able to track down what's going
          on in which case.
        * move record processing and outer join record processing to a separate
          function, out of sub_select read-record loop.
        * use generalized sub_select() nested loop function for
        cursors instead of own loop implementation used in Cursor::fetch() before
      sql/sql_select.h:
        Replace all return values of sub_select family with enum.
        Add JOIN::resume_nested_loop flag to indicate we are restarting the nested loop
        for execution of next chunk of cursor's rows.
      tests/mysql_client_test.c:
        A test case for Bug#9520 "SELECT DISTINCT crashes server with cursor"
      d20d0013
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 906cace6
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      
      sql/handler.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_func.h:
        Auto merged
      906cace6
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 67c13e87
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      sql/sql_select.cc:
        Auto merged
      67c13e87
    • unknown's avatar
      Setting a variable to CAST(NULL as X) set the result type of the variable to X. (Bug #6598) · de3d34b7
      unknown authored
      
      mysql-test/r/bigint.result:
        Test to show show that the parser threats big longlong values as unsigned
      mysql-test/r/user_var.result:
        Test of CAST(NULL as SIGNED/UNSIGNED)
      mysql-test/t/bigint.test:
        Test to show show that the parser threats big longlong values as unsigned
      mysql-test/t/user_var.test:
        Test of CAST(NULL as SIGNED/UNSIGNED)
      sql/item_func.cc:
        Setting a variable to CAST(NULL as X) set the result type of the variable to X. (Bug #6598)
        Setting a variable to NULL doesn't change the old result type.
      sql/item_func.h:
        Detect setting a variable to NULL
      sql/unireg.cc:
        Safety fix
      de3d34b7
  7. 29 Apr, 2005 7 commits