1. 20 Oct, 2004 15 commits
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1 · 633eb818
      unknown authored
      into mysql.com:/space/pekka/ndb/version/my41
      
      
      633eb818
    • unknown's avatar
      NDB dbtux scan batch max 16->992 caused perf loss · 235d0787
      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
      235d0787
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 79a9f618
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-secfix
      
      
      sql/mysql_priv.h:
        Auto merged
      79a9f618
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 5382a182
      unknown authored
      into mysql.com:/media/sda1/mysql/mysql-4.1-6049
      
      
      5382a182
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 7b464ad5
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-secfix
      
      
      7b464ad5
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1 · abb8268f
      unknown authored
      into mysql.com:/space/pekka/ndb/version/my41
      
      
      abb8268f
    • unknown's avatar
      NdbOperationSearch.cpp: · 59cbec3d
      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
      59cbec3d
    • unknown's avatar
      ctype-utf8.c: · 9eb596fb
      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.
      9eb596fb
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 1d3c0590
      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
      1d3c0590
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 7c20b132
      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
      7c20b132
    • unknown's avatar
      A fix and test case for bug#6058 "Prepared statements return '0000-00-00' · 8fe8912f
      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.
      8fe8912f
    • unknown's avatar
      Fix for bug #6173 "One can circumvent missing UPDATE privilege if · b88150c9
      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.
      b88150c9
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1 · 6d3e14a1
      unknown authored
      into mysql.com:/home/mydev/mysql-4.1-bug6151
      
      
      6d3e14a1
    • unknown's avatar
      9de6a750
    • unknown's avatar
      NDB dbtux compile fix for sol9x86 · 6875cf36
      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..
      6875cf36
  2. 19 Oct, 2004 14 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 2da1cbd9
      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
      2da1cbd9
    • unknown's avatar
      ca1a24e0
    • unknown's avatar
      Review of all code pushed since last review · 4736d0fe
      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)
      4736d0fe
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 31d1e2a5
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      
      31d1e2a5
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · 9723accc
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb
      
      
      9723accc
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 9f2fc33f
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      
      9f2fc33f
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · f0a6f2b6
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb-merge
      
      
      f0a6f2b6
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · 3466b8d5
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-ndb-merge
      
      
      3466b8d5
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 4c0b22b0
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      
      4c0b22b0
    • unknown's avatar
      os0file.c: · 19362856
      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
      19362856
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-4.1 · b42ab125
      unknown authored
      into hundin.mysql.fi:/home/marko/j/mysql-4.1
      
      
      b42ab125
    • unknown's avatar
      CHARSET_INFO.txt: · 5d14a6ee
      unknown authored
        minor fixes
      
      
      strings/CHARSET_INFO.txt:
        minor fixes
      5d14a6ee
    • unknown's avatar
      sql_union.cc: · ad8865cb
      unknown authored
        Check DERIVATION_NONE only for UNIONS.
      
      
      sql/sql_union.cc:
        Check DERIVATION_NONE only for UNIONS.
      ad8865cb
    • unknown's avatar
      Dumping BLOBs in HEX notation. The patch was orinigally · 234a8ec0
      unknown authored
      contributed by Takeshi. I also added HEX support for 
      "extended-inserts".
      
      
      234a8ec0
  3. 18 Oct, 2004 11 commits