1. 01 Nov, 2004 1 commit
    • unknown's avatar
      aligned ndb versioning with mysql · 14a06932
      unknown authored
          changed define SNPRINTF_RETURN_ZERO to SNPRINTF_RETURN_TRUNC
          added define NDB_INIT
          removed getarg, strlcat, strlcpy
          aligned ndb version with mysql version
          cpcd: removed old way of reading config file and replaced with mysql load_defaults
          changed from using getarg to my_getopts
          use mysql my_progname
          moved getarg to test
      
      
      BitKeeper/deleted/.del-strlcat.c~250851f8f1ac1c2c:
        Delete: ndb/src/common/util/strlcat.c
      BitKeeper/deleted/.del-strlcpy.c~43266e312d11c47b:
        Delete: ndb/src/common/util/strlcpy.c
      ndb/test/include/getarg.h:
        Rename: ndb/include/util/getarg.h -> ndb/test/include/getarg.h
      configure.in:
        aligned ndb versioning with mysql
        changed define SNPRINTF_RETURN_ZERO to SNPRINTF_RETURN_TRUNC
      ndb/include/ndb_global.h:
        added define NDB_INIT
        removed strlcpy, strlcat
      ndb/src/common/editline/sysunix.c:
        removed usage of strlcat
      ndb/src/common/util/Makefile.am:
        removed getarg, strlcat, strlcpy
      ndb/src/common/util/basestring_vsnprintf.c:
        changed define from SNPRINTF_RETURN_ZERO to SNPRINTF_RETURN_TRUNC
      ndb/src/common/util/socket_io.cpp:
        removed usage of strlcat
      ndb/src/common/util/version.c:
        aligned ndb version with mysql version
      ndb/src/cw/cpcd/common.cpp:
        removed old way of reading config file and replaced with mysql load_defaults
      ndb/src/cw/cpcd/common.hpp:
        removed old way of reading config file and replaced with mysql load_defaults
      ndb/src/cw/cpcd/main.cpp:
        changed from usin getarg to my_opts
      ndb/src/kernel/blocks/backup/restore/main.cpp:
        changed from usin getarg to my_opts
      ndb/src/kernel/error/ErrorReporter.cpp:
        use mysql my_progname
      ndb/src/kernel/main.cpp:
        removed const in main declaration
      ndb/src/kernel/vm/Configuration.cpp:
        changed from usin getarg to my_opts
      ndb/src/kernel/vm/Configuration.hpp:
        removed const in main declaration
      ndb/src/mgmclient/main.cpp:
        changed from usin getarg to my_opts
      ndb/src/mgmsrv/main.cpp:
        changed from usin getarg to my_opts
      ndb/src/ndbapi/Ndb.cpp:
        fixed compiler warnings
      ndb/test/run-test/Makefile.am:
        moved getarg to test
      ndb/test/src/Makefile.am:
        moved getarg to test
      ndb/test/src/getarg.c:
        moved strlcat and strlcpy into getarg.c
      ndb/tools/delete_all.cpp:
        changed from usin getarg to my_opts
      ndb/tools/desc.cpp:
        changed from usin getarg to my_opts
      ndb/tools/drop_index.cpp:
        changed from usin getarg to my_opts
      ndb/tools/drop_tab.cpp:
        changed from usin getarg to my_opts
      ndb/tools/listTables.cpp:
        changed from usin getarg to my_opts
      ndb/tools/select_all.cpp:
        changed from usin getarg to my_opts
      ndb/tools/select_count.cpp:
        changed from usin getarg to my_opts
      ndb/tools/waiter.cpp:
        changed from usin getarg to my_opts
      14a06932
  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 16 commits
  4. 28 Oct, 2004 17 commits
  5. 27 Oct, 2004 5 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
    • unknown's avatar
      Fixed access to freed memory · f748b29f
      unknown authored
      
      innobase/srv/srv0srv.c:
        after merge fix
      sql/set_var.cc:
        after merge fix
      sql/sql_cache.cc:
        after merge fix
      f748b29f