1. 29 Oct, 2004 13 commits
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · a2a9da4f
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      
      a2a9da4f
    • unknown's avatar
      added define flag SNPRINTF_RETURN_ZERO to indicate that snprintf returns... · 90218123
      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
      90218123
    • unknown's avatar
      A fix according to Monty's request: · 6e781e11
      unknown authored
      "uint *errors" is now a non-optional parameter in String:copy()
      and copy_and_convert().
      
      
      6e781e11
    • unknown's avatar
      bumped up version for ndb · 731b06f4
      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
      731b06f4
    • unknown's avatar
      item_strfunc.cc: · fcb32227
      unknown authored
        Unnecessary code was removed.
      
      
      sql/item_strfunc.cc:
        Unnecessary code was removed.
      fcb32227
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 96929f72
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      
      configure.in:
        Auto merged
      96929f72
    • unknown's avatar
      configure.in: · eb865dc6
      unknown authored
         -I/usr/include needed for cxx on Tru64
      
      
      configure.in:
         -I/usr/include needed for cxx on Tru64
      eb865dc6
    • unknown's avatar
      Allow to convert to non-Unicode charset when mixing a string · a739f2d6
      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.
      a739f2d6
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · 3b1b2aae
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      
      ndb/include/ndbapi/ndbapi_limits.h:
        Auto merged
      3b1b2aae
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 9ca7aadf
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      
      configure.in:
        Auto merged
      9ca7aadf
    • unknown's avatar
      Tru64 cxx compiler fix · 3b658d07
      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
      3b658d07
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · facda8f3
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      facda8f3
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 7223b9c1
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.6117
      
      
      7223b9c1
  2. 28 Oct, 2004 17 commits
  3. 27 Oct, 2004 10 commits
    • unknown's avatar
      Making the latest fix for Bug#6166 (key.test) work in prepared statements. · b9704849
      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.
      b9704849
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · fbabd085
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-ps-4.1
      
      
      fbabd085
    • unknown's avatar
      Fix for bug#5385 ("Text files have unix line break"): · 616b7460
      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).
      616b7460
    • unknown's avatar
      A fix and test case for Bug#6096 "field.max_length is always zero for · 447fef48
      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)
      447fef48
    • unknown's avatar
      Fixed access to freed memory · 8ace5310
      unknown authored
      
      innobase/srv/srv0srv.c:
        after merge fix
      sql/set_var.cc:
        after merge fix
      sql/sql_cache.cc:
        after merge fix
      8ace5310
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · a94c7639
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-ps-4.1
      
      
      a94c7639
    • unknown's avatar
      removed incorrect error message about aggregate functions · 464da8f1
      unknown authored
      improved mechanisn of detection posibility to be NULL for single row queries
      switched off substitution optimisation for single row subqueries in PS due to problem in resolving substituted expressions
      (changes to make subselects test working with PS protocol)
      
      
      mysql-test/r/subselect.result:
        removed incorrect error message about aggregate functions
        improved mechanisn of detection posibility to be NULL for single row queries
      mysql-test/t/subselect.test:
        removed incorrect error message about aggregate functions
      sql/item_subselect.cc:
        removed incorrect error message about aggregate functions
        switched off substitution optimisation for single row subqueries in PS due to problem in resolving substituted expressions
        improved mechanisn of detection posibility to be NULL for single row queries
      sql/item_subselect.h:
        new method to help in NULL ability detection
      464da8f1
    • unknown's avatar
      Implemented fragmented signal from API · 5bef4550
      unknown authored
      primarily to enable creation of tables with more attributes than 91 (up to 128)
      
      Intermediate push for testing
      CHUNK_SZ will be set higher in real implementation and API_TRACE added
      
      
      5bef4550
    • unknown's avatar
      Merge with 4.0 · e646f8f2
      unknown authored
      
      BitKeeper/deleted/.del-innodb-lock-master.opt~f76a4a1999728f87:
        Auto merged
      innobase/include/trx0sys.h:
        Auto merged
      innobase/srv/srv0srv.c:
        Auto merged
      innobase/trx/trx0purge.c:
        Auto merged
      innobase/trx/trx0rseg.c:
        Auto merged
      mysql-test/r/innodb-lock.result:
        Auto merged
      mysql-test/t/innodb-lock.test:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/mysqld.cc:
        Use local version during merge
      e646f8f2
    • unknown's avatar
      Fix when compiling without InnoDB · 3bdd7e77
      unknown authored
      
      BitKeeper/deleted/.del-innodb-lock-master.opt~f76a4a1999728f87:
        Delete: mysql-test/t/innodb-lock-master.opt
      3bdd7e77