1. 09 Jan, 2003 4 commits
    • unknown's avatar
      A small fix for the type in the script · 2be8a470
      unknown authored
      2be8a470
    • unknown's avatar
      Portability fix · afbd3fc5
      unknown authored
      
      BUILD/compile-alpha-cxx:
        Don't do depend files with Compaq compiler
      configure.in:
        Don't do depend files with Compaq compiler
      extra/mysql_waitpid.c:
        Portability fixes
      mysql-test/mysql-test-run.sh:
        Better timeout for valgrind
      afbd3fc5
    • unknown's avatar
    • unknown's avatar
      Don't count NULL values in cardinalty for MyISAM tables. · b5e37b24
      unknown authored
      Free row buffer cache after each query for MyISAM tables.
      Added table join option FORCE INDEX
      Fixed core dump bug when connecting with hostname that could not be resolved.
      
      
      include/my_base.h:
        Don't count NULL values in cardinalty
      myisam/mi_check.c:
        Don't count NULL values in cardinalty
      myisam/mi_extra.c:
        Free row buffer cache after each query
      myisam/mi_open.c:
        Avoid realloc if cache size doesn't change
      myisam/mi_search.c:
        Don't count NULL values in cardinalty
      myisam/myisamdef.h:
        Change buffer length from uint to uint32 to make it more portable/predictable
      mysql-test/r/myisam.result:
        Test case for cardinality with NULL keys and FORCE INDEX
      mysql-test/t/myisam.test:
        Test case for cardinality with NULL keys and FORCE INDEX
      sql/lex.h:
        Added table join option FORCE INDEX
      sql/mysql_priv.h:
        Added table join option FORCE INDEX
      sql/opt_range.cc:
        Added table join option FORCE INDEX
      sql/sql_base.cc:
        Added table join option FORCE INDEX
      sql/sql_lex.h:
        Added table join option FORCE INDEX
      sql/sql_parse.cc:
        Added table join option FORCE INDEX
        Don't use strlen() on hostname without first checking if it's not NULL
      sql/sql_select.cc:
        Added table join option FORCE INDEX
      sql/sql_yacc.yy:
        Added table join option FORCE INDEX
      sql/table.h:
        Added table join option FORCE INDEX
      b5e37b24
  2. 08 Jan, 2003 7 commits
  3. 07 Jan, 2003 4 commits
    • unknown's avatar
      mem0pool.c: · 9ac310e1
      unknown authored
        Remove the warning message that mem allocation spills from the additional mem pool to the OS; this does not hit performance with modern malloc libraries
      
      
      innobase/mem/mem0pool.c:
        Remove the warning message that mem allocation spills from the additional mem pool to the OS; this does not hit performance with modern malloc libraries
      9ac310e1
    • unknown's avatar
      Added new program, mysql_waitpid. · 4b7013dd
      unknown authored
      4b7013dd
    • unknown's avatar
    • unknown's avatar
      Portability fixes · b3b66f64
      unknown authored
      Fixed test suite for HPUX 10.20 and MacOSX
      
      
      Build-tools/Do-compile:
        Added timeout to mysqladmin shutdown commands
        Kill old running mysqld started by earlier runs
        Removed run time warning from LD_LIBRARY_PATH
      client/mysqladmin.c:
        Return 1 if pid file isn't deleted on shutdown.
        Fix error message if pid file is not deleted
      client/mysqltest.c:
        Always allow --debug flag
        (Makes it easier to run mysql-test-run)
      mysql-test/mysql-test-run.sh:
        A lot of safety fixes. 
        This fixes some problems with test suite for HPUX 10.20 and MacOSX
      sql-bench/bench-init.pl.sh:
        Allow tests to change time limit.
      sql-bench/crash-me.sh:
        Indentation cleanups
        Added DROP for a created table
      sql-bench/test-alter-table.sh:
        Added default time limit
        Changed test to be estimated to get down run time.
        Fixed that add_multi_col is detected
      sql-bench/test-insert.sh:
        Comment cleanup
      sql/mysql_priv.h:
        Removed not needed prototype.
      sql/mysqld.cc:
        Removed DBUG warnings
        Removed default argument for clean_up() and made it static.
        More comments.
        Ignore SIGHUP during shutdown
      sql/net_pkg.cc:
        More comments
      sql/slave.cc:
        Added DBUG_PRINT messages
      b3b66f64
  4. 05 Jan, 2003 2 commits
    • unknown's avatar
      btr0pcur.c: · db060cb7
      unknown authored
        Fix bug: an index cursor can theoretically be restored in a wrong place
      log0log.c:
        Fix bug: if combined log file size is >= 2 GB in a 32-bit computer InnoDB can write log to a wrong position
      
      
      innobase/log/log0log.c:
        Fix bug: if combined log file size is >= 2 GB in a 32-bit computer InnoDB can write log to a wrong position
      innobase/btr/btr0pcur.c:
        Fix bug: an index cursor can theoretically be restored in a wrong place
      db060cb7
    • unknown's avatar
      A lot of portability fixes. · e3c7f4d8
      unknown authored
      Added rename table for BDB. This fixes a bug in ALTER TABLE with BDB tables.
      
      
      BUILD/SETUP.sh:
        Enabled uninitalized warnings for debug builds.
      Build-tools/Do-compile:
        Added options --no-mysqltest and --no-benchmarks
        Log time before each stage
        Removed warnings on some OS (at least hpux11)
      acinclude.m4:
        Fixed call to wrong function
      configure.in:
        Don't use -O3 as compiler option with aCC
      innobase/include/univ.i:
        Removed compiler warning (on Hpux11)
      innobase/os/os0file.c:
        Removed compiler warning (on Hpux11)
      innobase/trx/trx0sys.c:
        Removed compiler warning (on Hpux11)
      innobase/trx/trx0trx.c:
        Removed compiler warning (on Hpux11)
      innobase/ut/ut0ut.c:
        Removed compiler warning (with gcc)
      myisam/mi_check.c:
        Added missing 'static'
      myisam/mi_test1.c:
        Added missing 'static'
      mysys/my_getopt.c:
        Added missing 'static'
      sql/ha_berkeley.cc:
        Added rename table. This fixes a bug in ALTER TABLE with BDB tables.
        Fixed compilation problem on OSF1
      sql/ha_berkeley.h:
        Added rename table. This fixes a bug in ALTER TABLE with BDB tables.
      sql/mini_client.cc:
        Added reinterpret cast to avoid some warnings.
      sql/sql_parse.cc:
        Added reinterpret cast to avoid some warnings.
        Removed usage of strnlen() as this gave portability problems.
      sql/sql_union.cc:
        Added reinterpret cast to avoid some warnings.
      sql/table.cc:
        Added reinterpret cast to avoid some warnings.
      tools/mysqlmanager.c:
        Added missing 'static'
      e3c7f4d8
  5. 04 Jan, 2003 3 commits
    • unknown's avatar
    • unknown's avatar
    • unknown's avatar
      Added support for max_allowed_packet in option files read by mysql_option() · 2d898610
      unknown authored
      Extended max_allowed_packet for clients to 1G
      Fixed bug in sending compressed rows >= 16M
      Fix bug in skiping too long packets from clients.
      Added checking of wrong command number sent by client.
      
      
      include/mysql.h:
        Added max_allowed_packet as option parameter.
      include/mysql_com.h:
        Added COM_END to be able to check for wrong commands.
      libmysql/libmysql.c:
        Extended max_allowed_packet for clients to 1G
        Added support for max_allowed_packet in option files read by mysql_option()
      mysys/my_compress.c:
        Debugging output
      sql/net_pkg.cc:
        Fixed wrong handling of blobs >= 16M
      sql/net_serv.cc:
        Changed MAX_THREE_BYTES -> MAX_PACKET_LENGTH
        More DEBUG output and more comments
        Fixed bug in sending compressed rows >= 16M
        Optimized sending of big packets (fewer memcpy and compress data in bigger blocks)
        Fix bug in skiping too long packets from clients.
        (old code didn't always work for big packets)
      sql/sql_class.h:
        Changed type of variable
      sql/sql_parse.cc:
        Added checking of wrong command number sent by client.
        Changed handling of too big packets to make code safer
      tests/big_record.pl:
        E
      2d898610
  6. 03 Jan, 2003 2 commits
  7. 02 Jan, 2003 5 commits
  8. 31 Dec, 2002 1 commit
    • unknown's avatar
      ha_innodb.cc: · bc1718c9
      unknown authored
        Fix bug: could not switch trx isolation back to REPEATABLE READ after switching it to some other level
      
      
      sql/ha_innodb.cc:
        Fix bug: could not switch trx isolation back to REPEATABLE READ after switching it to some other level
      bc1718c9
  9. 27 Dec, 2002 2 commits
  10. 26 Dec, 2002 4 commits
    • unknown's avatar
      Cut hostnames at HOSTNAME_LENGTH to avoid theoretical hostname overruns · f1696d4f
      unknown authored
      Changed long packat handling to check for packets of length 0xffffff.
      This does however break packet handling for older clients.
      If you are using packets >= 16M then you need to upgrade client and server
      after this patch.
      
      
      Docs/internals.texi:
        Updated documentation for 4.1 protocol
      sql/ha_innodb.cc:
        Optimization of checking command
      sql/item.h:
        Removed automatic set of length for Item_string
      sql/item_create.cc:
        Optimized create of create_func_current_user()
      sql/net_serv.cc:
        Fixed wrong max packet length
      sql/sql_acl.cc:
        Safety fix.
      sql/sql_parse.cc:
        Cut hostnames at HOSTNAME_LENGTH to avoid theoretical hostname overruns
      f1696d4f
    • unknown's avatar
      Test cleanup · ad22d0cb
      unknown authored
      
      mysql-test/r/case.result:
        Removed unnecessary drop commands
      mysql-test/t/case.test:
        Removed unnecessary drop commands
      ad22d0cb
    • unknown's avatar
      merge · c00e5efc
      unknown authored
      c00e5efc
    • unknown's avatar
      Update of test results · 868ed113
      unknown authored
      868ed113
  11. 24 Dec, 2002 2 commits
  12. 23 Dec, 2002 1 commit
  13. 21 Dec, 2002 3 commits
    • unknown's avatar
      Many files: · b69d8f4a
      unknown authored
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      sql_select.cc:
        Remove superfluous prints to .err log when a locking SELECT fails to a deadlock or a lock wait timeout
      
      
      sql/sql_select.cc:
        Remove superfluous prints to .err log when a locking SELECT fails to a deadlock or a lock wait timeout
      innobase/btr/btr0sea.c:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/dict/dict0dict.c:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/fsp/fsp0fsp.c:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/ibuf/ibuf0ibuf.c:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/include/buf0buf.h:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/include/db0err.h:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/include/dict0mem.h:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/include/mem0mem.h:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/include/row0mysql.h:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/include/row0upd.h:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/include/mem0mem.ic:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/mem/mem0pool.c:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/row/row0ins.c:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/row/row0mysql.c:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/row/row0sel.c:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/row/row0upd.c:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/srv/srv0start.c:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      innobase/ut/ut0ut.c:
        Merge InnoDB-4.0.7. Support for ON UPDATE CASCADE
      b69d8f4a
    • unknown's avatar
      Merge with 3.23: · 62c7449a
      unknown authored
      Remove duplicate casedn_str() in mysql_change_db()
      Fix for null handling in CASE
      
      
      innobase/btr/btr0sea.c:
        Auto merged
      mysql-test/t/case.test:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      mysql-test/r/case.result:
        merge with 3.23
      sql/sql_db.cc:
        Merge with 3.23 (to remove duplicate casedn_str())
      62c7449a
    • unknown's avatar
      Optimization of CASE bug fix · 5f1b9717
      unknown authored
      5f1b9717