1. 21 Oct, 2004 1 commit
    • unknown's avatar
      changed to same signature as rest of print functions · af7e0118
      unknown authored
      provite declarations for signal print functions, needed on some platforms
      ome platforms don't like the length calculation for SignalDataPrintFunction
          so null terminate instead
      ome platforms complain about this extra level Logger::Logger::
       null terminate SignalDataPrintFunctions instead
          move declaration of print function to SignalData.hpp
        just change from "" to <> in include
       moved double declatration of i out
      
      
      
      ndb/include/kernel/signaldata/DihContinueB.hpp:
        changed to same signature as rest of print functions
      ndb/include/kernel/signaldata/NdbfsContinueB.hpp:
        changed to same signature as rest of print functions
      ndb/include/kernel/signaldata/SignalData.hpp:
        provite declarations for signal print functions, needed on some platforms
      ndb/src/common/debugger/DebuggerNames.cpp:
        some platforms don't like the length calculation for SignalDataPrintFunction
        so null terminate instead
      ndb/src/common/debugger/EventLogger.cpp:
        some platforms complain about this extra level Logger::Logger::
      ndb/src/common/debugger/signaldata/ContinueB.cpp:
        changed to same signature as rest of print functions
      ndb/src/common/debugger/signaldata/DihContinueB.cpp:
        changed to same signature as rest of print functions
      ndb/src/common/debugger/signaldata/NdbfsContinueB.cpp:
        changed to same signature as rest of print functions
      ndb/src/common/debugger/signaldata/SignalDataPrint.cpp:
        null terminate SignalDataPrintFunctions instead
        move declaration of print function to SignalData.hpp
      ndb/src/common/portlib/NdbSleep.c:
        just change from "" to <> in include
      ndb/src/mgmsrv/Services.cpp:
        moved double declatration of i out
      af7e0118
  2. 20 Oct, 2004 26 commits
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · cc4de655
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb
      
      cc4de655
    • unknown's avatar
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · a6fde626
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      libmysql/libmysql.c:
        Auto merged
      a6fde626
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 47ec1d9a
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb
      
      47ec1d9a
    • unknown's avatar
      fix for wrong use of shell test · ef02c4f5
      unknown authored
      ef02c4f5
    • unknown's avatar
      After merge fixes · 901cf0f0
      unknown authored
      901cf0f0
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1 · bb781b11
      unknown authored
      into mysql.com:/space/pekka/ndb/version/my41
      
      bb781b11
    • unknown's avatar
      NDB dbtux scan batch max 16->992 caused perf loss · 70b5b9a7
      unknown authored
      
      ndb/src/kernel/blocks/dbtux/Dbtux.hpp:
        dbtux scan batch max 16->992 caused perf loss
      ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp:
        dbtux scan batch max 16->992 caused perf loss
      ndb/src/kernel/blocks/dbtux/Times.txt:
        dbtux scan batch max 16->992 caused perf loss
      ndb/test/ndbapi/testOIBasic.cpp:
        dbtux scan batch max 16->992 caused perf loss
      70b5b9a7
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 76d9d23b
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-secfix
      
      
      sql/mysql_priv.h:
        Auto merged
      76d9d23b
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · b97c56de
      unknown authored
      into mysql.com:/media/sda1/mysql/mysql-4.1-6049
      
      b97c56de
    • unknown's avatar
      Merge with 4.0 · 300b778f
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      Docs/Support/texi2html:
        Auto merged
      innobase/trx/trx0rec.c:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      myisam/myisampack.c:
        Auto merged
      mysql-test/t/innodb-lock.test:
        Auto merged
      mysys/thr_lock.c:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/lock.cc:
        Auto merged
      sql/sql_acl.cc:
        Keep old code
      300b778f
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · d6741f1f
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-secfix
      
      d6741f1f
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1 · d2ee1efa
      unknown authored
      into mysql.com:/space/pekka/ndb/version/my41
      
      d2ee1efa
    • unknown's avatar
      NdbOperationSearch.cpp: · 8b3fa57b
      unknown authored
        fix C coding error found by tomas on sol9x86
      
      
      ndb/src/ndbapi/NdbOperationSearch.cpp:
        fix C coding error found by tomas on sol9x86
      8b3fa57b
    • unknown's avatar
      ctype-utf8.c: · 2b00b117
      unknown authored
        A faster UTF8 null-terminated string implementation.
        It is used for identifier comparison, so it's quite critical.
      
      
      strings/ctype-utf8.c:
        A faster UTF8 null-terminated string implementation.
        It is used for identifier comparison, so it's quite critical.
      2b00b117
    • unknown's avatar
      Fix test case for innodb-lock · 0a505ccc
      unknown authored
      
      mysql-test/r/innodb-lock.result:
        Fix test case (old one didn't test things correctly)
      mysql-test/t/innodb-lock.test:
        Fix test case (old one didn't test things correctly)
      mysys/thr_lock.c:
        More debugging information
      sql/mysqld.cc:
        Enable innodb_table_locks as default, as otherwise there is a possibility for deadlocks
      sql/sql_base.cc:
        More debug information
      0a505ccc
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · f7a7fdc7
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-secfix
      
      
      sql/mysql_priv.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      f7a7fdc7
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 201ee092
      unknown authored
      into mysql.com:/home/kostja/work/mysql-4.1-6049
      
      
      libmysql/libmysql.c:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      tests/client_test.c:
        Auto merged
      201ee092
    • unknown's avatar
      A fix and test case for bug#6058 "Prepared statements return '0000-00-00' · 140d842a
      unknown authored
      (date) as empty  string": preserve time type (date, time, or datetime) for
      zero dates, times, and datetimes.
      
      
      libmysql/libmysql.c:
        A fix for bug#6058 "Prepared statements return '0000-00-00' (date) as empty
         string": preserve time type (date, time, or datetime) for zero 
        dates, times, and datetimes.
      tests/client_test.c:
        A test case for Bug#6058, the existing tests required some adjustments too.
      140d842a
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · d088d80e
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      innobase/srv/srv0srv.c:
        Auto merged
      d088d80e
    • unknown's avatar
      Fix for bug #6173 "One can circumvent missing UPDATE privilege if · 4dbb8830
      unknown authored
      he has SELECT and INSERT privileges for table with primary key"
      
      Now we set lex->duplicates= DUP_UPDATE right in parser if INSERT has
      ON DUPLICATE KEY UPDATE clause, this simplifies insert_precheck()
      function (this also fixes a bug) and some other code.
      
      
      mysql-test/r/grant2.result:
        Added test for bug #6173 "One can circumvent missing UPDATE privilege if
        he has SELECT and INSERT privileges for table with primary key"
      mysql-test/t/grant2.test:
        Added test for bug #6173 "One can circumvent missing UPDATE privilege if
        he has SELECT and INSERT privileges for table with primary key"
      sql/mysql_priv.h:
        insert_precheck() don't need "update" parameter any longer since
        now we set lex->duplicates to DUP_UPDATE if INSERT has ON DUPLICATE
        KEY UPDATE clause.
      sql/sql_parse.cc:
        insert_precheck() don't need "update" parameter any longer since
        now we set lex->duplicates to DUP_UPDATE if INSERT has ON DUPLICATE
        KEY UPDATE clause, so it can determine whenever it is needed to
        require UPDATE_ACL by itself. Also calling of mysql_insert() is
        simplified.
      sql/sql_prepare.cc:
        insert_precheck() don't need "update" parameter any longer since
        now we set lex->duplicates to DUP_UPDATE if INSERT has ON DUPLICATE
        KEY UPDATE clause, so it can determine whenever it is needed to
        require UPDATE_ACL by itself. Also calling of mysql_insert() is
        simplified.
      sql/sql_yacc.yy:
        It is better to set Lex->duplicates= DUP_UPDATE right in parser if we
        have INSERT with ON DUPLICATE KEY UPDATE clause, rather doing this later.
      4dbb8830
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1 · 9ebe2db5
      unknown authored
      into mysql.com:/home/mydev/mysql-4.1-bug6151
      
      9ebe2db5
    • unknown's avatar
      39c55b5c
    • unknown's avatar
      NDB dbtux compile fix for sol9x86 · 7aa495cb
      unknown authored
      
      ndb/src/kernel/blocks/dbtux/Dbtux.hpp:
        compile fix for sol9x86
      ndb/src/kernel/blocks/dbtux/DbtuxDebug.cpp:
        compile fix for sol9x86
      ndb/test/ndbapi/testOIBasic.cpp:
        testing continues..
      7aa495cb
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · b7956584
      unknown authored
      into mysql.com:/home/my/mysql-4.0
      
      
      libmysql/libmysql.c:
        Auto merged
      b7956584
    • unknown's avatar
      Code cleanups (done during review of new code) · 0d873f90
      unknown authored
      Rename innodb_table_locks_old_behavior -> innodb_table_locks
      Set innodb_table_locks to off by default to get same behaviour as in MySQL 4.0.20
      (This means that Innodb ignore table locks by default, which makes it easier to combine MyISAM and InnoDB to simulate a transaction)
      
      
      libmysql/libmysql.c:
        Use ulong instead of unsigned long
        Reuse _dig_vec()
      myisam/myisampack.c:
        Simplify code
      mysql-test/r/innodb-lock.result:
        new test case
      mysql-test/t/innodb-lock.test:
        new test case
      sql/ha_innodb.cc:
        Rename innodb_table_locks_old_behavior -> innodb_table_locks
      sql/mysqld.cc:
        Rename innodb_table_locks_old_behavior -> innodb_table_locks
        Set this off by default to get same behaviour as in MySQL 4.0.20
      sql/set_var.cc:
        Rename innodb_table_locks_old_behavior -> innodb_table_locks
      sql/sql_class.h:
        Rename innodb_table_locks_old_behavior -> innodb_table_locks
      0d873f90
  3. 19 Oct, 2004 13 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 5ae26fee
      unknown authored
      into mishka.local:/home/my/mysql-4.1
      
      
      client/mysqlimport.c:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      ndb/src/ndbapi/ndberror.c:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/ha_ndbcluster.h:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      5ae26fee
    • unknown's avatar
      485d1eb3
    • unknown's avatar
      Review of all code pushed since last review · da02110d
      unknown authored
      Simple optimzations and cleanups
      Removed compiler warnings and fixed portability issues
      Added client functions 'mysql_embedded()' to allow client to check if we are using embedded server
      Fixes for purify
      
      
      client/mysqlimport.c:
        Remove not used variable
      client/mysqltest.c:
        Remove usage of MAXPATHLEN (all MySQL code uses FN_REFLEN)
        Simplified code
        Remove usage of sprintf("%llu") as this is not portable
      include/mysql.h:
        Added mysql_embedded() to be able to easily check if we are using the embedded server
      innobase/srv/srv0start.c:
        Don't use memcmp() when using purify (to avoid false warnings)
      libmysql/libmysql.c:
        Added mysql_embedded() to be able to easily check if we are using the embedded server
      libmysql/libmysql.def:
        Added mysql_embedded() to be able to easily check if we are using the embedded server
      myisam/myisam_ftdump.c:
        Remove compiler warning
      myisam/myisamchk.c:
        Remove compiler warning
      myisam/rt_test.c:
        #ifdef not used code
      mysys/hash.c:
        Remove compiler warning (from last push)
      mysys/my_gethwaddr.c:
        Remove compiler warning
      ndb/src/ndbapi/ndberror.c:
        #ifdef not used code
      regex/regcomp.c:
        Remove not used code
      regex/regcomp.ih:
        Remove not used code (to remove compiler warnings)
      sql-common/client.c:
        Remove compiler warnings
      sql/field.cc:
        Simple optimization
      sql/ha_innodb.cc:
        Rename mysql_embedded -> mysqld_embedded
      sql/item.cc:
        Fix comments
        Move variables first on block
        Remove else after return
        Simple optimizations
        (no logic changes)
      sql/item_cmpfunc.cc:
        Added comment
      sql/mysql_priv.h:
        Rename mysql_embedded -> mysqld_embedded
      sql/mysqld.cc:
        Rename mysql_embedded -> mysqld_embedded
      sql/sql_acl.cc:
        Added comments
        simple optimization
        Fixed 'very unlikely' bug when doing REVOKE ALL PRIVILEGES
      sql/sql_select.cc:
        More comments
        Simple optimization
      sql/sql_show.cc:
        Simple changes to make similar code similar
        More comments
      sql/sql_string.cc:
        Trivial optimization and better code layout
      strings/Makefile.am:
        Change xml.c to use bcmp to avoid warnings from purify
      strings/xml.c:
        Change xml.c to use bcmp to avoid warnings from purify
      tests/client_test.c:
        Remove usage of MAXPATHLEN (all MySQL code uses FN_REFLEN)
      da02110d
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 3fcd8b28
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      3fcd8b28
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · 3419626e
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb
      
      3419626e
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 426b4b2e
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      426b4b2e
    • unknown's avatar
      trx0rec.c: · 33a11b7b
      unknown authored
        test
      
      
      innobase/trx/trx0rec.c:
        test
      33a11b7b
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 458754fb
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb-merge
      
      458754fb
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · 7b4ee6b4
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb-merge
      
      7b4ee6b4
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · f0d53aeb
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      f0d53aeb
    • unknown's avatar
      libmysql.c: · 8edd934b
      unknown authored
        Add note to mysql_hex_string() comment.
      
      
      libmysql/libmysql.c:
        Add note to mysql_hex_string() comment.
      8edd934b
    • unknown's avatar
      os0file.c: · 7ce482fc
      unknown authored
        InnoDB: print info about how many bytes we were able to read if a file read is not able to read as many bytes as we requested
      
      
      innobase/os/os0file.c:
        InnoDB: print info about how many bytes we were able to read if a file read is not able to read as many bytes as we requested
      7ce482fc
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-4.1 · 5a6eb6ef
      unknown authored
      into hundin.mysql.fi:/home/marko/j/mysql-4.1
      
      5a6eb6ef