1. 17 Dec, 2004 1 commit
    • unknown's avatar
      Fix for BUG#6825: When calculating Item_func_neg::max_length, add 1 for '-'. · 0aebc17c
      unknown authored
      For numeric constants we only need to add, since the parser doesn't produce 
      negative numbers. 
      For strings we only add (we actually could substract 1 if given string is a constant 
      and it has '-number' form but we're not doing that because 
       * we set max_length bigger then necessary in other cases as well.  
       * the current solution is simpler and safer (bigger max_length is better then cutting out)
      
      
      mysql-test/r/func_concat.result:
        Test for BUG#6825
      mysql-test/r/metadata.result:
        Ajusted results according to fix of bug BUG#6825:length(-1) = 2 , not 1
      mysql-test/t/func_concat.test:
        Test for BUG#6825
      0aebc17c
  2. 16 Dec, 2004 4 commits
    • unknown's avatar
      Test for BUG#6054. The bug itsel is fixed by the fix for #5837. · f775b3da
      unknown authored
      
      mysql-test/r/update.result:
        test result
      mysql-test/t/update.test:
        test queries
      f775b3da
    • unknown's avatar
      Making 4.1 tree compile with -ansi -pedantic · 39a1942e
      unknown authored
      
      include/raid.h:
        Fixing compile-time warning: pragma interface is not supported in C,
        let's move it to C++ part of the header.
      ndb/include/kernel/signaldata/CreateEvnt.hpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/include/kernel/signaldata/PackedSignal.hpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/include/kernel/signaldata/SumaImpl.hpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/common/debugger/signaldata/DictTabInfo.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/common/debugger/signaldata/NFCompleteRep.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/common/logger/FileLogHandler.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/backup/BackupInit.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/dbacc/DbaccInit.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/dbdih/DbdihInit.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/dblqh/DblqhInit.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/dbtc/DbtcInit.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/dbtux/Dbtux.hpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/dbtux/DbtuxGen.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/dbutil/DbUtil.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/grep/GrepInit.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/ndbcntr/NdbcntrInit.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/ndbfs/Ndbfs.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/ndbfs/VoidFs.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/qmgr/QmgrInit.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/suma/Suma.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/suma/SumaInit.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/kernel/blocks/trix/Trix.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/ndbapi/NdbEventOperation.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/src/ndbapi/NdbScanFilter.cpp:
        - remove extra erroneous ; from ends of function definitions
      ndb/tools/restore/Restore.cpp:
        - remove extra erroneous ; from ends of function definitions
      sql/item_create.h:
        - remove extra erroneous ;
      sql/sql_cache.cc:
        - remove extra erroneous ;
      tests/client_test.c:
        - fix -pedantic warning
      39a1942e
    • unknown's avatar
    • unknown's avatar
      - bumped up version number in configure.in from 4.1.8 to 4.1.9 · e79a0c45
      unknown authored
      - tagged ChangeSet 1.2173 as "mysql-4.1.8"
      
      
      configure.in:
        - bumped up version number from 4.1.8 to 4.1.9
      e79a0c45
  3. 15 Dec, 2004 1 commit
  4. 14 Dec, 2004 17 commits
    • unknown's avatar
      A fix of return value of mysql_stmt_bind_result() and cleanup. · 06b7c998
      unknown authored
      
      include/errmsg.h:
        New libmysql error status code CR_NO_STMT_METADATA
      libmysql/errmsg.c:
        Error message for CR_STMT_NO_METADATA.
        Adding an empty line to shorten further diffs when new error
        messages are added (as suggested by Monty).
      libmysql/libmysql.c:
        Return error from mysql_stmt_bind_result() if the statement contains
        no metadata.
        A few comments fixed.
      tests/client_test.c:
        Tests fixed: mysql_stmt_bind_result now returns error if there is no
        metadata.
      06b7c998
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · fcbb9ce6
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/4.1
      
      fcbb9ce6
    • unknown's avatar
      Clean-up. · 45f266bc
      unknown authored
      TYPE=MyISAM replaced with ENGINE=MyISAM.
      
      45f266bc
    • unknown's avatar
      corrected mysqltest.dsp · 5e603239
      unknown authored
      corrected mysql_test_run_new.dsp
      added dependency
      corrected path of mysql_test_run_new.dsp
      fixed wrong code
      added my_create_tables.c
      removed command_line
      fixed #elif
      restored NAME_MAX and MAX_FNAME
      added create_system_files()
      added compare() for windows
      added all files of testes in script
      added mysql-test in script
      
      
      BitKeeper/etc/ignore:
        Added mysql-4.1.8-win-src.zip to the ignore list
      VC++Files/client/mysqltest.dsp:
        corrected dsp file
      VC++Files/mysql-test/mysql_test_run_new.dsp:
        corrected mysql_test_run_new.dsp
      VC++Files/mysql.dsw:
        added dependency
        corrected path of mysql_test_run_new.dsp
      client/mysqltest.c:
        fixed wrong code
      mysql-test/Makefile.am:
        added my_create_tables.c
      mysql-test/my_manage.c:
        removed command_line
        fixed #elif
      mysql-test/my_manage.h:
        restored NAME_MAX and MAX_FNAME
      mysql-test/mysql_test_run_new.c:
        added create_system_files()
        added compare for windows
      scripts/make_win_src_distribution.sh:
        added all files of testes
        added mysql-test
      5e603239
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · dba80d9c
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/4.1
      
      
      sql/item.h:
        Auto merged
      dba80d9c
    • unknown's avatar
      bug#6275 "client_test" fail in 4.1.7 make test · efa3f502
      unknown authored
      bug#6911 resultset metadata always return client character set
      
      efa3f502
    • unknown's avatar
      A quick fix for bug #7257: Crash in default tests: 'subselect' · 832f6a99
      unknown authored
      
      sql/item.h:
        A quick fix for bug #7257: Crash in default tests: 'subselect'
        We have to pass &item instead of &store to the Item_ref_null_helper() 
        then set ref.
      832f6a99
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · cbb2f362
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/4.1
      
      cbb2f362
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · c31bc143
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-clean
      
      c31bc143
    • unknown's avatar
      mysql-test-run.sh: · 8f44b90d
      unknown authored
        removed diskless option for ndb test
      
      
      mysql-test/mysql-test-run.sh:
        removed diskless option for ndb test
      8f44b90d
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · e6cb22f1
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/4.1
      
      e6cb22f1
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1 · 7befaf32
      unknown authored
      into mysql.com:/dbdata/psergey/mysql-4.1-merge-fix
      
      7befaf32
    • unknown's avatar
      Bug#7242 · d0caf71a
      unknown authored
      The "insert_update" causes a server crash when using prepared statements
      
      Must clear table->insert_values after completing every prepared statement
      
      d0caf71a
    • unknown's avatar
      Test for BUG#7242: Testing prepare + several times execute · 06fc7b5c
      unknown authored
      (here in client_test.c because we need to check if several PS execution works and the bug shows up with binary protocol only ) 
      
      
      tests/client_test.c:
        Test for BUG#7242: Testing prepare + several times execute
      06fc7b5c
    • unknown's avatar
      Portability fix (bug #7203: "delayed" test fails on QNX when using prepared statements) · 1910ee8c
      unknown authored
      
      
      mysql-test/t/delayed.test:
        Portability fix (bug #7203: "delayed" test fails on QNX when using prepared statements)
        1 is not enough delay for QNX.
      1910ee8c
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1 · 677f2a1a
      unknown authored
      into mysql.com:/dbdata/psergey/mysql-4.1-merge-fix
      
      677f2a1a
    • unknown's avatar
      * Added comments and one assert · 0e5537ec
      unknown authored
       * Backport of safety measures from 5.0: make numeorous replaces:
          s/item->fix_fields()/if (!item->fixed) item->fix_fields()
      
      
      sql/item.cc:
         * More comments
         * Backport of safety measures from 5.0: make numeorous replaces:
            s/item->fix_fields()/if (!item->fixed) item->fix_fields()
      sql/item.h:
        Assert added
      sql/item_cmpfunc.cc:
        Backport of safety measures from 5.0: make numeorous replaces:
          s/item->fix_fields()/if (!item->fixed) item->fix_fields()
      sql/item_func.cc:
        Backport of safety measures from 5.0: make numeorous replaces:
          s/item->fix_fields()/if (!item->fixed) item->fix_fields()
      sql/item_strfunc.h:
        Backport of safety measures from 5.0: make numeorous replaces:
          s/item->fix_fields()/if (!item->fixed) item->fix_fields()
      sql/item_subselect.cc:
        Backport of safety measures from 5.0: make numeorous replaces:
          s/item->fix_fields()/if (!item->fixed) item->fix_fields()
      sql/item_sum.cc:
        Backport of safety measures from 5.0: make numeorous replaces:
          s/item->fix_fields()/if (!item->fixed) item->fix_fields()
      sql/set_var.cc:
        Backport of safety measures from 5.0: make numeorous replaces:
          s/item->fix_fields()/if (!item->fixed) item->fix_fields()
      sql/sql_base.cc:
        Backport of safety measures from 5.0: make numeorous replaces:
          s/item->fix_fields()/if (!item->fixed) item->fix_fields()
      sql/sql_handler.cc:
        Backport of safety measures from 5.0: make numeorous replaces:
          s/item->fix_fields()/if (!item->fixed) item->fix_fields()
      sql/sql_help.cc:
        Backport of safety measures from 5.0: make numeorous replaces:
          s/item->fix_fields()/if (!item->fixed) item->fix_fields()
      sql/sql_select.cc:
        Backport of safety measures from 5.0: make numeorous replaces:
          s/item->fix_fields()/if (!item->fixed) item->fix_fields()
      0e5537ec
  5. 13 Dec, 2004 17 commits