1. 19 May, 2005 1 commit
    • unknown's avatar
      Fix · 50bb2039
      unknown authored
      
      ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        Don't use length when comparing column names
      50bb2039
  2. 18 May, 2005 39 commits
    • unknown's avatar
      Merge · c05b375e
      unknown authored
      
      ndb/include/kernel/ndb_limits.h:
        Auto merged
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      mysys/thr_alarm.c:
        Manual merge
      c05b375e
    • unknown's avatar
      BUG#9626 · 446d4631
      unknown authored
       - Fix valgrind warnings
       - Remove static db, schema and table name buffers from Ndb.cpp
      
      
      mysys/thr_alarm.c:
        Initialise sact to zero
      ndb/include/kernel/ndb_limits.h:
        Set MAX_ATTR_NAME_SIZE to NAME_LEN which is tha maximum in MySQL
      ndb/include/kernel/signaldata/GetTabInfo.hpp:
        Clean up
      ndb/include/ndbapi/Ndb.hpp:
        Remove NDB_MAX_INTERNAL_NAME_LENGTH and all char buffers for schema, db and tablename.
        Made them dynamic and moved to NdbImpl.hpp
      ndb/include/ndbapi/ndbapi_limits.h:
        Remove the static length's of attr, db, schema and table name.
      ndb/src/common/transporter/Packer.cpp:
        Set theSignalId to ~0 when unpacking signal
      ndb/src/ndbapi/Ndb.cpp:
        Moved schema, database and tablename to NdbImpl.hpp
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Add NdbIndexImpl::init and NdbEventImpl::init
        Init all vars in NdbIndexImpl, NdbEventImpl, NdbTableImpl and NdbIndexImpl
        Delete the pseudo column NDB$RANGE_NO
        Copy tablename to internal buff in NdbDictInterface to get proper alignment.
        Convert length of table name from bytes words, when setting sz of LinearSectionPtr
        Set LinearSectionPtr array size to number of LinearSections used - save some stack.
      ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        Add NdbEventImpl::init and NdbIndexImpl::init
        Remove clearNewProperties and copyNewProperties, it's easier to check if all vars are initied if it's done in the same func.
        Add buffer for tabname ti NdbDictInterface, memset it to 0 in initializer.
      ndb/src/ndbapi/NdbImpl.hpp:
        Use BaseString for table, schema and db names.
      ndb/src/ndbapi/Ndbinit.cpp:
        Move schema and db name to NdbImpl and use BaseString
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        Destroy ndb_global_event_buffer_mutex and ndb_print_state_mutex
      sql/ha_ndbcluster.cc:
        Check if pTrans is not null before calling closeTransaction
        Remove NDB_MAX_ATTR_NAME_SIZE
        Remove truncation of attr names. When attr name length is same in NDB as in MySQL this will be checked in functin check_column_name
      446d4631
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 6f7bccd1
      unknown authored
      into mysql.com:/opt/local/work/mysql-5.0-root
      
      
      include/my_dbug.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      6f7bccd1
    • unknown's avatar
      Fix a couple of compilation failures. · 1816b5a4
      unknown authored
      
      include/my_dbug.h:
        Fix conflicting declaration and definition of db_output.
      sql/mysqld.cc:
        Fix a compilation failure.
      1816b5a4
    • unknown's avatar
      New file default_modify.c. Fixed a typo on mysqld.cc · 48ce8aeb
      unknown authored
      Changed name of function my_correct_default_file to
      modify_defaults_file. Improved function and fixed some
      bugs in it.
      
      
      include/my_sys.h:
        Changed function name.
      include/mysql_com.h:
        New function, modify_defaults_file()
      libmysql/Makefile.shared:
        New file, default_modify.lo
      libmysql/libmysql.def:
        New function, modify_defaults_file() and fixed version number.
      libmysqld/libmysqld.def:
        New function, modify_defaults_file()
      mysys/Makefile.am:
        New file, default_modify.c
      mysys/default.c:
        Removed function from default.c. New, corresponding one is in default_modify.c,
        name is modify_defaults_file.
      server-tools/instance-manager/commands.cc:
        Changed function name.
      sql/mysqld.cc:
        Fixed typo.
      48ce8aeb
    • unknown's avatar
      Fix conflicting declaration and definition of db_output (compilation · 40772ccc
      unknown authored
      failure).
      
      
      include/my_dbug.h:
        Fix conflicting declaration and definition of db_output.
      40772ccc
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 0295b2eb
      unknown authored
      into mysql.com:/opt/local/work/mysql-5.0-root
      
      
      0295b2eb
    • unknown's avatar
      Merge mysql.com:/opt/local/work/mysql-5.0-root · 6f59f4a6
      unknown authored
      into mysql.com:/media/sda1/mysql/mysql-5.0-libtool
      
      
      6f59f4a6
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 8b1d4fd3
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      
      8b1d4fd3
    • unknown's avatar
      Fix warnings from icc · d93806ef
      unknown authored
      Added BUILD scripts for icc
      Fixed (one time) memory leak in grant handling
      
      
      config/ac-macros/misc.m4:
        Remove warnings flags from icc when compiling with -Werror
      configure.in:
        Remove warnings flags from icc when compiling with -Werror
      extra/replace.c:
        Fix warnings from icc
      include/my_dbug.h:
        Fix warnings from icc
      sql/gen_lex_hash.cc:
        Fix warnings from icc
      sql/mysql_priv.h:
        Add missing variables
      sql/mysqld.cc:
        Fix warnings from icc:
        - made a lot of variables static
        - Removing some not used variables
        - Fixed wrong printf()
        - removed extern "C" from some functions
      sql/spatial.h:
        Fix warnings from icc
      sql/sql_acl.cc:
        Fixed memory leak
      sql/sql_lex.cc:
        Fix warnings from icc
      sql/sql_lex.h:
        Fix warnings from icc
      d93806ef
    • unknown's avatar
    • unknown's avatar
      Merge aschwenke@bk-internal.mysql.com:/home/bk/mysql-5.0 · 880bff92
      unknown authored
      into lmy003.wdf.sap.corp:/home/schwenke/Work/MySQL/bk-internal-tree/mysql-5.0
      
      
      880bff92
    • unknown's avatar
      new build scripts for SAP team · a847042f
      unknown authored
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      a847042f
    • unknown's avatar
      Merge mysql.com:/usr/home/ram/work/mysql-5.0-build · 89eeff65
      unknown authored
      into mysql.com:/usr/home/ram/work/mysql-5.0
      
      
      89eeff65
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · 41407d1a
      unknown authored
      into mysql.com:/home/pem/work/mysql-5.0
      
      
      41407d1a
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 9c9e64d5
      unknown authored
      into mysql.com:/home/cps/mysql/trees/mysql-5.0
      
      
      9c9e64d5
    • unknown's avatar
      fixed fatal compiler error (windows) · c3ecc1dd
      unknown authored
      c3ecc1dd
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 688afe81
      unknown authored
      into mysql.com:/home/cps/mysql/trees/mysql-5.0
      
      
      688afe81
    • unknown's avatar
      fix for compilation problem with --with-openssl reported by Guilhem · 832a2b27
      unknown authored
      
      server-tools/instance-manager/Makefile.am:
        fix for compilation problem with --with-openssl
      832a2b27
    • unknown's avatar
      Merge grichter@bk-internal1.mysql.com:/home/bk/mysql-5.0 · 829d3f73
      unknown authored
      into lmy002.wdf.sap.corp:/home/georg/work/mysql/prod/mysql-5.0
      
      
      libmysql/libmysql.def:
        Auto merged
      829d3f73
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · a9ce42c3
      unknown authored
      into mysql.com:/home/pem/work/mysql-5.0
      
      
      a9ce42c3
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 625bf498
      unknown authored
      into mysql.com:/home/cps/mysql/trees/mysql-5.0
      
      
      625bf498
    • unknown's avatar
      fix comments · 6ca52fcc
      unknown authored
      
      server-tools/instance-manager/commands.cc:
        fix column name
      6ca52fcc
    • unknown's avatar
      Remove automatically generated autotools files from revision control. · 9b2e0ed5
      unknown authored
      Fix build scripts to create them.
      
      
      BitKeeper/deleted/.del-config.guess~fd94a91a69a8ce8:
        Delete: config.guess
      BitKeeper/deleted/.del-config.sub~d18f703b655db258:
        Delete: config.sub
      BitKeeper/deleted/.del-depcomp~d5c35239e36674f1:
        Delete: depcomp
      BitKeeper/deleted/.del-install-sh~ddc86c88a9bebd00:
        Delete: install-sh
      BitKeeper/deleted/.del-ltconfig~6d12dc759ce40830:
        Delete: ltconfig
      BitKeeper/deleted/.del-ltmain.sh~9b8b907df176f96e:
        Delete: ltmain.sh
      BitKeeper/deleted/.del-missing~3fe9ea908d3a7caa:
        Delete: missing
      BitKeeper/deleted/.del-mkinstalldirs~fa914ace602e1447:
        Delete: mkinstalldirs
      BUILD/FINISH.sh:
        Move autotools bootstrap scripts invocation to one place (autorun.sh)
      BUILD/compile-alpha-ccc:
        Move autotools bootstrap scripts invocation to one place (autorun.sh)
      BUILD/compile-alpha-cxx:
        Move autotools bootstrap scripts invocation to one place (autorun.sh)
      BUILD/compile-alpha-debug:
        Move autotools bootstrap scripts invocation to one place (autorun.sh)
      BUILD/compile-hpux11-parisc2-aCC:
        Move autotools bootstrap scripts invocation to one place (autorun.sh)
      BUILD/compile-ia64-debug-max:
        Move autotools bootstrap scripts invocation to one place (autorun.sh)
      BUILD/compile-irix-mips64-mipspro:
        Move autotools bootstrap scripts invocation to one place (autorun.sh)
      BUILD/compile-pentium-pgcc:
        Move autotools bootstrap scripts invocation to one place (autorun.sh)
      BUILD/compile-solaris-sparc-debug:
        Move autotools bootstrap scripts invocation to one place (autorun.sh)
      BUILD/compile-solaris-sparc-forte:
        Move autotools bootstrap scripts invocation to one place (autorun.sh)
      BUILD/compile-solaris-sparc-purify:
        Move autotools bootstrap scripts invocation to one place (autorun.sh)
      BUILD/compile-solaris-sparc:
        Move autotools bootstrap scripts invocation to one place (autorun.sh)
      BitKeeper/etc/ignore:
        Added config.guess config.sub install-sh ltmain.sh missing to the ignore list
      9b2e0ed5
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · b8421582
      unknown authored
      into mysql.com:/usr/home/ram/work/5.0.b10339
      
      
      b8421582
    • unknown's avatar
      mysqldump.c: disabling --delayed-insert until BUG#7815 is fixed (need table def cache for that, · 32ce862f
      unknown authored
      to easily check the storage engine supports DELAYED).
      
      
      
      client/mysqldump.c:
        disabling --delayed-insert until BUG#7815 is fixed (need table def cae)
      mysql-test/r/mysqldump.result:
        as we disable --delayed-insert, result changes
      32ce862f
    • unknown's avatar
      A fix (bug #10703: rpl_variables.test failure). · 93e8f182
      unknown authored
      
      mysql-test/r/rpl_variables.result:
        A fix (bug #10703: rpl_variables.test failure).
        "$SLAVE_LOAD_TMPDIR" may differ from the "$MYSQL_TEST_DIR/var/tmp".
      mysql-test/t/rpl_variables.test:
        A fix (bug #10703: rpl_variables.test failure).
        "$SLAVE_LOAD_TMPDIR" may differ from the "$MYSQL_TEST_DIR/var/tmp".
      93e8f182
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · efc254bc
      unknown authored
      into mysql.com:/usr/home/ram/work/5.0.b10339
      
      
      sql/set_var.h:
        Auto merged
      efc254bc
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 3814661d
      unknown authored
      into mysql.com:/home/gluh/MySQL/Bugs/5.0.9286
      
      
      3814661d
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 99711750
      unknown authored
      into mysql.com:/usr/home/ram/work/5.0.b10339
      
      
      mysql-test/r/variables.result:
        Auto merged
      mysql-test/t/variables.test:
        Auto merged
      sql/set_var.cc:
        Auto merged
      99711750
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · f79897a5
      unknown authored
      into mysql.com:/home/pem/work/mysql-5.0
      
      
      sql/item.h:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      f79897a5
    • unknown's avatar
      Fixed BUG#6048: Stored procedure causes operating system reboot. · 90a2edd7
      unknown authored
        Memory leak in locally evalutated expressions during SP execution fixed by
        reusing allocated item slots when possible.
        Note: No test case added, since the test is a stress test that tries to make
        the machine to run out of memory.
      
      
      sql/item.cc:
        Make it possible to reuse allocated item slots (for use in SP execution).
      sql/item.h:
        Make it possible to reuse allocated item slots (for use in SP execution).
      sql/sp_head.cc:
        Reuse allocated item slots for expression evalutation during SP execution.
      sql/sp_rcontext.cc:
        Updated sp_eval_func_item() call, and prevent item reuse in reused frames (for handlers).
      90a2edd7
    • unknown's avatar
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 · e8f272e2
      unknown authored
      into mysql.com:/home/gluh/MySQL/Bugs/5.0.9286
      
      
      sql/sql_yacc.yy:
        Auto merged
      e8f272e2
    • unknown's avatar
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · c0dca5f4
      unknown authored
      into mysql.com:/home/ram/work/5.0.b6267
      
      
      mysql-test/r/system_mysql_db.result:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      c0dca5f4
    • unknown's avatar
      Change update_auto_increment to return 1 if get_auto_increment() returned ~(ulonglong) · ef342b74
      unknown authored
      This makes it easier to give an error in the handler if there was a problem generating an auto-increment value
      
      
      mysys/thr_alarm.c:
        Remove warning from valgrind
      sql/item_strfunc.cc:
        Fixed indentation
      tests/mysql_client_test.c:
        Removed compiler warning
      ef342b74
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 2398f9d6
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      
      2398f9d6
    • unknown's avatar
      make_binary_distribution.sh: · 37e5df79
      unknown authored
        Use portable check for empty string.
      
      
      scripts/make_binary_distribution.sh:
        Use portable check for empty string.
      37e5df79