An error occurred fetching the project authors.
  1. 23 May, 2006 1 commit
    • unknown's avatar
      don't let bugfix for bug#8303 break the bugfix for bug#8378 · 6a60acce
      unknown authored
      revert the fix for bug#8303
      correct the test for bug#8378
      
      
      mysql-test/r/ctype_sjis.result:
        updated
      mysql-test/t/ctype_sjis.test:
        updated
      sql/sql_lex.cc:
        revert the fix for bug#8303
      tests/mysql_client_test.c:
        correct the test for bug#8378
      6a60acce
  2. 30 Mar, 2006 1 commit
  3. 04 Mar, 2006 1 commit
    • unknown's avatar
      Revert the changeset for Bug#16144 "mysql_stmt_attr_get type error": · 4391f938
      unknown authored
      it breaks binary compatibility. The patch will be left intact
      in 5.1.
      
      
      libmysql/libmysql.c:
        Revert the changeset for Bug#16144: it breaks binary compatibility.
      tests/mysql_client_test.c:
        Revert the changeset for Bug#16144: it breaks binary compatibility.
      4391f938
  4. 01 Feb, 2006 1 commit
    • unknown's avatar
      fix for bug #12744 (MYSQL_STMT operations cause seg fault after connection reset) · 1e686ae7
      unknown authored
      libmysql/libmysql.c:
        stmt->mysql could be 0x0 if the connection has failed between prepare and execute
        or any other operation. thus if the user decides to use mysql_stmt_reset()
        we should not segfault.
      tests/mysql_client_test.c:
        test for bug #12744 (MYSQL_STMT operations cause seg fault after connection reset)
      1e686ae7
  5. 18 Jan, 2006 1 commit
  6. 17 Jan, 2006 1 commit
  7. 25 Oct, 2005 1 commit
  8. 13 Oct, 2005 2 commits
    • unknown's avatar
      Bug #12698 abnormal program termination running mysql_client_test · ab87b089
      unknown authored
       - Move test for bug#93 from mysql_client_test.c to show_check.test
       - No need for test written in c
      
      
      mysql-test/r/show_check.result:
        Add test case for bug#93, moved from mysql_client_test.c
      mysql-test/t/show_check.test:
        Add test case for bug#93, moved from mysql_client_test.c
      tests/mysql_client_test.c:
        Remove test for bug#95 to show_check.test
      ab87b089
    • unknown's avatar
      Bug #12698 abnormal program termination running mysql_client_test · 8009bdd2
      unknown authored
       - The testcase create a .frm file consisting of "junk". Unfortunately the "junk" wasn't
         written to the .frm file if mysql_client_test was run with -s option to make it run silent.
         This most likely caused the file never to be created on windows, and thus the 
          test case failed.
      
      
      tests/mysql_client_test.c:
        Always write "junk" to the test file.
      8009bdd2
  9. 09 Sep, 2005 1 commit
    • unknown's avatar
      Bug#12817 SHOW STATUS now blob fields · acf8d0f4
      unknown authored
         This fix is cancellation of ChangeSet
         1.2329 05/07/12 08:35:30 reggie@linux.site +8 -0
         Bug 7142  Show Fields from fails using Borland's dbExpress interface
         The reason is we can't fix bug#7142 without
         breaking of existing applications/APIs that worked fine with earlier 4.1
         bug 7142 is fixed in 5.0
      
      
      
      
      mysql-test/r/ps_1general.result:
        Bug #12817 SHOW STATUS now blob fields
      mysql-test/r/ps_2myisam.result:
        Bug #12817 SHOW STATUS now blob fields
      mysql-test/r/ps_3innodb.result:
        Bug #12817 SHOW STATUS now blob fields
      mysql-test/r/ps_4heap.result:
        Bug #12817 SHOW STATUS now blob fields
      mysql-test/r/ps_5merge.result:
        Bug #12817 SHOW STATUS now blob fields
      sql/item.cc:
        Bug #12817 SHOW STATUS now blob fields
      sql/sql_show.cc:
        Bug #12817 SHOW STATUS now blob fields
      tests/mysql_client_test.c:
        Bug #12817 SHOW STATUS now blob fields
      acf8d0f4
  10. 30 Aug, 2005 1 commit
  11. 17 Aug, 2005 1 commit
    • unknown's avatar
      Fix bug #11718 query with function, join and order by returns wrong type. · e80aa010
      unknown authored
      create_tmp_field_from_item() was creating tmp field without regard to
      original field type of Item. This results in wrong type being reported to
      client.
      
      To create_tmp_field_from_item() added special handling for Items with 
      DATE/TIME field types to preserve their type.
      
      
      sql/sql_select.cc:
        Fix bug #11718 query with function, join and order by returns wrong type.
      tests/mysql_client_test.c:
        Test case for bug #11718: query with function, join and order by returns wrong type
      e80aa010
  12. 28 Jul, 2005 1 commit
    • unknown's avatar
      Fixed compiler warnings · d2810c56
      unknown authored
      client/mysqldump.c:
        Fixed wrong argument to printf()
      client/mysqltest.c:
        Fixed compiler warning
      myisam/ft_boolean_search.c:
        Fixed compiler warning
      myisammrg/myrg_static.c:
        Fixed compiler warning
      mysql-test/r/rpl_drop_temp.result:
        Drop used database
      mysql-test/t/rpl_drop_temp.test:
        Drop used database
      ndb/src/common/logger/LogHandler.cpp:
        Fixed compiler warning
      sql/field.cc:
        Fixed compiler warning
      sql/ha_ndbcluster.cc:
        Fixed compiler warning
      sql/sql_base.cc:
        Fixed compiler warning
      tests/mysql_client_test.c:
        Fixed compiler warning
      d2810c56
  13. 20 Jul, 2005 1 commit
  14. 19 Jul, 2005 1 commit
    • unknown's avatar
      fix for bug#12001 · 1dccfdac
      unknown authored
      sql-common/client.c:
        fixed wrong offset
      tests/mysql_client_test.c:
        testcase for bug #12001
      1dccfdac
  15. 14 Jul, 2005 3 commits
    • unknown's avatar
      A fix and a test case for Bug#11183 "mysql_stmt_reset() doesn't reset · bd44c99b
      unknown authored
      information about error".
      
      
      libmysql/libmysql.c:
        Clear the last error on the statement if mysql_stmt_reset succeeded.
      tests/mysql_client_test.c:
        A test case for Bug#11183 "mysql_stmt_reset() doesn't reset information 
        about error"
      bd44c99b
    • unknown's avatar
      fix for #11808 backported. · 2a6e45b0
      unknown authored
      tests/mysql_client_test.c:
        fix for #11808 backported.
        cmp_double() introduced in order to avoid using long double registers           
        (for local double vars).
      2a6e45b0
    • unknown's avatar
      A fix and a test case for Bug#9735. · a16a61d9
      unknown authored
      No separate typecode for MEDIUMTEXT/LONGTEXT is added, as we
      have no sound decision yet what typecodes and for what types are
      sent by the server (aka what constitutes a distinct type in MySQL).
      
      
      
      mysql-test/r/ps_2myisam.result:
        Test results fixed: new longtext/longblob length (2^32)
      mysql-test/r/ps_3innodb.result:
        Test results fixed: new longtext/longblob length (2^32)
      mysql-test/r/ps_4heap.result:
        Test results fixed: new longtext/longblob length (2^32)
      mysql-test/r/ps_5merge.result:
        Test results fixed: new longtext/longblob length (2^32)
      mysql-test/r/ps_6bdb.result:
        Test results fixed: new longtext/longblob length (2^32)
      mysql-test/r/ps_7ndb.result:
        Test results fixed: new longtext/longblob length (2^32)
      sql/field.cc:
        A fix for Bug#9735 "mysql_fetch_fields() acts strange on 
        LONGBLOB/LONGTEXT": fix wrong initialization of field_length
        in case of BLOB fields.
      tests/mysql_client_test.c:
        A test case for Bug#9735  "mysql_fetch_fields() acts strange on 
        LONGBLOB/LONGTEXT"
      a16a61d9
  16. 12 Jul, 2005 1 commit
    • unknown's avatar
      Bug #7142 Show Fields from fails using Borland's dbExpress interface · 831e2c7f
      unknown authored
      The problem here is that columns that have an especially long type 
      such as an enum type with many options would be longer than 40 chars
      but the type column returned from show columns always was defined
      as varchar(40).
      
      This is fixed in 5.0 using info schema.
      
      
      mysql-test/r/ps_1general.result:
        update columns which will now be reported as blobs
      mysql-test/r/ps_2myisam.result:
        update columns which will now be reported as blobs
      mysql-test/r/ps_3innodb.result:
        update columns which will now be reported as blobs
      mysql-test/r/ps_4heap.result:
        update columns which will now be reported as blobs
      mysql-test/r/ps_5merge.result:
        update columns which will now be reported as blobs
      sql/item.cc:
        report a column as a particular blob type if it's size warrants
      sql/sql_show.cc:
        Add function to iterate over all the fields of a table and determine 
        the longest type name.
        
        We call this function at the top of our show fields code.  We pass in 
        either 40 or max_len whichever is longer to the ctor of
        Item_empty_string.
      tests/mysql_client_test.c:
        update columns which will now be reported as blobs
      831e2c7f
  17. 28 Apr, 2005 1 commit
  18. 25 Mar, 2005 1 commit
    • unknown's avatar
      mysql_client_test.c: · e4c529d9
      unknown authored
        Don't run GBK test if not GBK support was compiled.
      
      
      tests/mysql_client_test.c:
        Don't run GBK test if not GBK support was compiled.
      e4c529d9
  19. 15 Feb, 2005 1 commit
    • unknown's avatar
      Only escape the first character in a sequence of bytes that appears to be · 9dad64a1
      unknown authored
      a multibyte character, but was not a valid multibyte character. Refinement
      of fix for Bug #8378.
      
      
      tests/mysql_client_test.c:
        Fix test (and fix number) for Bug #8378
      mysys/charset.c:
        Fix to only escape the first character in a sequence that appears
        to be a multibyte character, but was not a valid one.
      9dad64a1
  20. 10 Feb, 2005 4 commits
    • unknown's avatar
      Follow-up for bug#7990 · d9039e87
      unknown authored
      libmysql/libmysql.c:
        And now put it to the proper place and make it work (Bug#7990)
      tests/mysql_client_test.c:
        Enable the test for bug#7990
      d9039e87
    • unknown's avatar
      A fix and test case for Bug#7990 "mysql_stmt_close doesn't · a26ce94f
      unknown authored
      reset mysql->net.last_error": the solution is to clear
      MYSQL->net error before performing COM_CLOSE: if the call
      succeeds, the connection is usable for other statements.
      More comprehensive fix is to clear MYSQL->net for all
      recoverable errors at the time they happen, it will be
      implemented in 5.0 as it introduces incompatibility in behavior.
      
      
      libmysql/libmysql.c:
        A simple fix for Bug#7990 "mysql_stmt_close doesn't reset 
        mysql->net.last_error"
      tests/mysql_client_test.c:
        A test case for Bug#7990 " mysql_stmt_close doesn't reset 
        mysql->net.last_error"
      a26ce94f
    • unknown's avatar
      A fix and test case for Bug#8330 "mysql_stmt_execute crashes" (libmysql). · fca90750
      unknown authored
      libmysql/libmysql.c:
        Fix for bug#8330 "mysql_stmt_execute crashes": we need to bail out
        from mysql_stmt_execute if mysql->net is occupied with a result set of
        another statement. Otherwise on the next attempt to use net we get
        a crash, as it's freed in case of error.
      tests/mysql_client_test.c:
        A test case for Bug#8330 "mysql_stmt_execute craches" (libmysql)
      fca90750
    • unknown's avatar
      When escaping a string in a multi-byte character set, escape all bytes of · ae14393e
      unknown authored
      a character that appears to be a multi-byte character based on its first
      byte, but is not actually a valid multi-byte character. (Bug #8378)
      
      
      tests/mysql_client_test.c:
        Add test for Bug #8317
      mysys/charset.c:
        Properly escape invalid multibyte characters.
      ae14393e
  21. 20 Jan, 2005 1 commit
    • unknown's avatar
      - renamed client_test -> mysql_client_test · c03aaf85
      unknown authored
      - renamed the tests that use the embedded server (client_test -> 
        mysql_client_test_embedded, mysqltest -> mysql_test_embedded
        and changed some Makefiles and scripts so they are installed in $bindir
        (required to be able to run the test suite against the embedded server)
      
      
      tests/mysql_client_test.c:
        Rename: tests/client_test.c -> tests/mysql_client_test.c
      libmysql/libmysql.c:
        - renamed client_test.c to mysql_client_test.c in a comment
      libmysqld/examples/Makefile.am:
        - renamed client_test -> mysql_client_test_embedded
        - renamed mysqltest -> mysqltest_embedded
        - both will be installed in $bindir
      scripts/make_binary_distribution.sh:
        - install mysql_client_test, mysql_client_test_embedded and mysqltest_embedded
          into bin directory
      tests/Makefile.am:
        - renamed client_test to mysql_client_test
      BitKeeper/etc/ignore:
        Added tests/mysql_client_test to the ignore list
      c03aaf85
  22. 12 Jan, 2005 1 commit
  23. 21 Dec, 2004 1 commit
    • unknown's avatar
      Fix to perform correctly with charsets in embedded server · fee2e57b
      unknown authored
      BitKeeper/deleted/.del-ctype_recoding.result.es~45c6fe567949af:
        Delete: mysql-test/r/ctype_recoding.result.es
      BitKeeper/deleted/.del-func_test.result.es~4de135264090aa14:
        Delete: mysql-test/r/func_test.result.es
      BitKeeper/deleted/.del-ps_2myisam.result.es~5132bde9c07c41e8:
        Delete: mysql-test/r/ps_2myisam.result.es
      BitKeeper/deleted/.del-ps_3innodb.result.es~a3613f0e86132472:
        Delete: mysql-test/r/ps_3innodb.result.es
      BitKeeper/deleted/.del-ps_4heap.result.es~956ae2c46b66b6ed:
        Delete: mysql-test/r/ps_4heap.result.es
      BitKeeper/deleted/.del-ps_5merge.result.es~6093a834fec21efe:
        Delete: mysql-test/r/ps_5merge.result.es
      BitKeeper/deleted/.del-ps_6bdb.result.es~57b94c3756e3d093:
        Delete: mysql-test/r/ps_6bdb.result.es
      libmysqld/lib_sql.cc:
        Charset conversion implemented
      mysql-test/r/query_cache.result.es:
        correct test result provided
      tests/client_test.c:
        now it works
      fee2e57b
  24. 16 Dec, 2004 1 commit
    • unknown's avatar
      Making 4.1 tree compile with -ansi -pedantic · bfa45f2f
      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
      bfa45f2f
  25. 14 Dec, 2004 3 commits
    • unknown's avatar
      A fix of return value of mysql_stmt_bind_result() and cleanup. · 83fce55a
      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.
      83fce55a
    • unknown's avatar
      bug#6275 "client_test" fail in 4.1.7 make test · cef35aeb
      unknown authored
      bug#6911 resultset metadata always return client character set
      
      
      cef35aeb
    • unknown's avatar
      Test for BUG#7242: Testing prepare + several times execute · 379fe351
      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
      379fe351
  26. 07 Dec, 2004 1 commit
    • unknown's avatar
      Fix for a bug #6996 · 5c7949af
      unknown authored
      BitKeeper/etc/ignore:
        Added analyse.test client/mysqladmin.c to the ignore list
      libmysql/libmysql.c:
        Fix for a bug #6996
        
        This fix enables that after all rows are read from a buffered result,
        mysql_stmt_data_seek(stmt,0) can rewind a counter to the beginning,
        so that rows can be re-fetched.
      tests/client_test.c:
        Addition of a test for fix of the bug #6996 in client_test.c
      5c7949af
  27. 02 Dec, 2004 1 commit
    • unknown's avatar
      Fixes to make mysql-test-run --embedded-server working · d3c5c499
      unknown authored
      mysql-test/mysql-test-run.sh:
        Tests that can't be fixed now showed in the ignore-list
      mysql-test/r/query_cache.result.es:
        test result renewed
      mysql-test/r/select.result.es:
        test result renewed
      mysql-test/r/type_blob.result.es:
        test result renewed
      mysql-test/r/type_float.result.es:
        test result renewed
      sql/sql_prepare.cc:
        time values sending fixed
      tests/client_test.c:
        that doesnt work in embedded server
      BitKeeper/etc/ignore:
        Added libmysqld/ha_archive.cc libmysqld/ha_example.cc libmysqld/ha_tina.cc to the ignore list
      d3c5c499
  28. 18 Nov, 2004 1 commit
  29. 15 Nov, 2004 1 commit
    • unknown's avatar
      Fix for bug #6266 "Invalid DATETIME value is not handled properly". · 5d9f7edd
      unknown authored
      In server we assume that datetime values stored in MYSQL_TIME struct
      are normalized (and year is not greater than 9999), so we should 
      perform range checks in all places then we convert something to
      MYSQL_TIME. 
      
      
      include/my_time.h:
        Added one more argument to set_zero_time() function to make it more 
        convinient.
        Added comment clarifying why MAX_DATE_STRING_REP_LENGTH value is 30.
      include/mysql_time.h:
        Documented MySQL's internal assumptions for members of MYSQL_TIME
        structure.
      libmysql/libmysql.c:
        It does not make sense to set MYSQL_TIME::time_type twice in case of 
        errors.
      mysql-test/r/type_datetime.result:
        Added test for bug #6266 "Invalid DATETIME value not handled properly".
      mysql-test/t/type_datetime.test:
        Added test for bug #6266 "Invalid DATETIME value not handled properly".
      sql-common/my_time.c:
        str_to_datetime(): Added missing check for too big year values.
        set_zero_time(): added time_type argument, since MYSQL_TIMESTAMP_NONE
          is not the value that we want in most cases.
      sql/field.cc:
        Field_datetime::store_time():
          clarified why we don't perform any range checks here.
      sql/item.cc:
        Item_param::set_time():
         Added comment describing this method and range checking for TIME
         values.
      sql/sql_prepare.cc:
        Removed comments about range checking for TIME values in prepared 
        statements, which are no longer true.
        set_zero_time() has one more argument now.
      tests/client_test.c:
        Added test for bug #6266 "Invalid DATETIME value not handled properly"
      5d9f7edd
  30. 12 Nov, 2004 2 commits
  31. 11 Nov, 2004 1 commit