1. 01 Nov, 2004 1 commit
  2. 30 Oct, 2004 1 commit
    • unknown's avatar
      Enable REPLACE ... SELECT in prepared statements. · ef1c59fa
      unknown authored
      
      mysql-test/include/ps_modify.inc:
        replace ... select now works.
      mysql-test/r/ps_2myisam.result:
        replace ... select now works.
      mysql-test/r/ps_3innodb.result:
        replace ... select now works.
      mysql-test/r/ps_4heap.result:
        replace ... select now works.
      mysql-test/r/ps_5merge.result:
        replace ... select now works.
      mysql-test/r/ps_6bdb.result:
        replace ... select now works.
      mysql-test/r/ps_7ndb.result:
        replace ... select now works.
      mysql-test/t/ps_7ndb.test:
        replace ... select now works.
      sql/sql_prepare.cc:
        Enable SQLCOM_REPLACE_SELECT: no need for any code changes but
        enable this SQLCOM in the switch.
      ef1c59fa
  3. 29 Oct, 2004 17 commits
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 4338e4ad
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      4338e4ad
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 97f0c1c8
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      97f0c1c8
    • unknown's avatar
      added define flag SNPRINTF_RETURN_ZERO to indicate that snprintf returns... · 135d926d
      unknown authored
          added define flag SNPRINTF_RETURN_ZERO to indicate that snprintf returns zero if buffer too small
          use flag SNPRINTF_RETURN_ZERO
          emulate snprintf behavior by writing to _big_ buffer if set
          use my_vsnprintf if HAVE_SNPRINTF is not set and set SNPRINTF_RETURN_ZERO in that case
      
      
      configure.in:
        added define flag to indicate that snprintf returns zero if buffer too small
      ndb/src/common/util/basestring_vsnprintf.c:
        use flag SNPRINTF_RETURN_ZERO
        emulate snprintf behavior by writing to _big_ buffer if set
        use my_vsnprintf if HAVE_SNPRINTF is not set and set SNPRINTF_RETURN_ZERO in that case
      135d926d
    • unknown's avatar
      These modifications are the result of · b863689b
      unknown authored
      WL#2067 add features to mysqltest: "disable_error_abort" + "$mysql_errno"
      
      $mysql_errno is a new builtin variable of mysqltest and contains the
      return code of the last command send to the server.
      
      "--disable_abort_on_error" switches the abort of mysqltest
      after "unmasked" failing statements off.
      "--enable_abort_on_error" switches the abort of mysqltest
      after "unmasked" failing statements on. (default)
      
      "Maskings" are
          !$<error number>  and  --error <error number>
      in the line before the statement to be checked.
      
      The benefit of the option "--disable_abort_on_error" is that
      - all statements after the failing statement are executed
      - a r/<test>.reject will be produced
      - it is possible to write test cases, which perform
        code sequences depending on the return code of a single
        statement
      
      
      client/mysqltest.c:
        Implementation of the features
        - "--disable_abort_on_error"/"--enable_abort_on_error" switch
        - "$mysql_errno" variable
      mysql-test/r/mysqltest.result:
        test cases for the features added
      mysql-test/t/mysqltest.test:
        updated results
      b863689b
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · 8b4f5972
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      mysql-test/r/fulltext.result:
        Auto merged
      8b4f5972
    • unknown's avatar
      proper max_records estimation for sort-repair of fulltext indexes · 7f3dfa0d
      unknown authored
      
      mysql-test/t/ctype_utf8.test:
        bad merge fixed
      7f3dfa0d
    • unknown's avatar
      A fix according to Monty's request: · 08809ca1
      unknown authored
      "uint *errors" is now a non-optional parameter in String:copy()
      and copy_and_convert().
      
      08809ca1
    • unknown's avatar
      bumped up version for ndb · 0746e86d
      unknown authored
         protocal change in create table, now allows for more than 91 attributes
         upgrade compatability with 3.5.3
      
      
      configure.in:
        bumped up version for ndb
        protocal change in create table, now allows for more than 91 attributes
      ndb/src/common/util/version.c:
        upgrade compatability with 3.5.3
      0746e86d
    • unknown's avatar
      item_strfunc.cc: · 5329e3a6
      unknown authored
        Unnecessary code was removed.
      
      
      sql/item_strfunc.cc:
        Unnecessary code was removed.
      5329e3a6
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · b190d3c9
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      
      configure.in:
        Auto merged
      b190d3c9
    • unknown's avatar
      configure.in: · 29659488
      unknown authored
         -I/usr/include needed for cxx on Tru64
      
      
      configure.in:
         -I/usr/include needed for cxx on Tru64
      29659488
    • unknown's avatar
      Allow to convert to non-Unicode charset when mixing a string · 312fc6da
      unknown authored
      constant with a column. The string is converted into the column
      character set. It conversion doesn't lose data, then operation
      is possible. Otherwise, give an error, as it was earlier.
      
      
      sql/item.h:
        Change bool argument to uint flags:
        we have now two different flags.
      312fc6da
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · 1549bbc7
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      
      ndb/include/ndbapi/ndbapi_limits.h:
        Auto merged
      1549bbc7
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 255078c4
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      
      configure.in:
        Auto merged
      255078c4
    • unknown's avatar
      Tru64 cxx compiler fix · 01475687
      unknown authored
          cxx does not include -I/ust/include.dtk as it should
          removed dependency on ndb_types
      
      
      configure.in:
        Tru64 cxx compiler fix
        cxx does not include -I/ust/include.dtk as it should
      ndb/include/ndbapi/ndbapi_limits.h:
        removed dependency on ndb_types
      sql/ha_ndbcluster.h:
        removed dependency on ndb_types
      01475687
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · 3dd3ba83
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      3dd3ba83
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · ba52659e
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.6117
      
      ba52659e
  4. 28 Oct, 2004 17 commits
  5. 27 Oct, 2004 4 commits
    • unknown's avatar
      Making the latest fix for Bug#6166 (key.test) work in prepared statements. · 8600baf3
      unknown authored
      
      sql/sql_prepare.cc:
        Catch another class of errors possible during yyparse:
        if thd->net.report_error is set, we need to send the message and 
        abort.
      8600baf3
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 0c8b05f7
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-ps-4.1
      
      0c8b05f7
    • unknown's avatar
      Fix for bug#5385 ("Text files have unix line break"): · 769a0990
      unknown authored
      Windows style line end \r\n on README, license, and similar essential plaintext files.
      
      
      scripts/make_win_src_distribution.sh:
        Some plain text files (which a Windows user might view in any editor) should have 
        Windows style line end \r\n (bug#5385). The tool is changed to do a systematic pass 
        over all files, find all relevant ones (especially "README*", "ChangeLog", "INSTALL*", 
        license text), and adapt them.
        Included are two minor cleanups ("useless use of cat" avoided, variable setting 
        moved to more sensible place).
      769a0990
    • unknown's avatar
      A fix and test case for Bug#6096 "field.max_length is always zero for · 7c040432
      unknown authored
      numeric columns (stmt_resultset_metadata)"
      
      
      libmysql/libmysql.c:
        A fix for Bug#6096 "field.max_length is always zero for numeric columns
         (stmt_resultset_metadata)": set field->max_lenght for numeric
        columns when we set up skip_result functions. A minor drawback for this 
        approach is that field->max_length  can be not zero even if 
        STMT_ATTR_UPDATE_MAX_LENGTH is not set.
      sql-common/my_time.c:
        Fix valgrind warning.
      tests/client_test.c:
        A test case for Bug#6096 "field.max_length is always zero for numeric 
        columns (stmt_resultset_metadata)
      7c040432