1. 04 Jan, 2003 2 commits
    • unknown's avatar
    • unknown's avatar
      Added support for max_allowed_packet in option files read by mysql_option() · 5281333e
      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
      5281333e
  2. 03 Jan, 2003 2 commits
  3. 02 Jan, 2003 5 commits
  4. 31 Dec, 2002 1 commit
    • unknown's avatar
      ha_innodb.cc: · f0d4cad9
      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
      f0d4cad9
  5. 27 Dec, 2002 2 commits
  6. 26 Dec, 2002 4 commits
    • unknown's avatar
      Cut hostnames at HOSTNAME_LENGTH to avoid theoretical hostname overruns · bfd3f4ef
      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
      bfd3f4ef
    • unknown's avatar
      Test cleanup · 9a54cc30
      unknown authored
      
      mysql-test/r/case.result:
        Removed unnecessary drop commands
      mysql-test/t/case.test:
        Removed unnecessary drop commands
      9a54cc30
    • unknown's avatar
      merge · 4d81fae0
      unknown authored
      4d81fae0
    • unknown's avatar
      Update of test results · 6b1e36bd
      unknown authored
      6b1e36bd
  7. 24 Dec, 2002 2 commits
  8. 23 Dec, 2002 1 commit
  9. 21 Dec, 2002 4 commits
    • unknown's avatar
      Many files: · c20b11f9
      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
      c20b11f9
    • unknown's avatar
      Merge with 3.23: · 0b7e6073
      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())
      0b7e6073
    • unknown's avatar
      Optimization of CASE bug fix · 4f83e3fa
      unknown authored
      4f83e3fa
    • unknown's avatar
      errmsg.txt: · 40f9e84b
      unknown authored
        More descriptive foreign key error messages
      
      
      sql/share/english/errmsg.txt:
        More descriptive foreign key error messages
      40f9e84b
  10. 20 Dec, 2002 8 commits
    • unknown's avatar
      btr0sea.c: · 80612d9f
      unknown authored
        Remove an assertion which can fail in a race of 3 threads
      
      
      innobase/btr/btr0sea.c:
        Remove an assertion which can fail in a race of 3 threads
      80612d9f
    • unknown's avatar
      Merge work:/home/bk/mysql-4.0 · e1859829
      unknown authored
      into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
      
      
      sql/mysqld.cc:
        Auto merged
      e1859829
    • unknown's avatar
      Merge work:/home/bk/mysql · d563451b
      unknown authored
      into sergbook.mysql.com:/usr/home/serg/Abk/mysql
      
      d563451b
    • unknown's avatar
      merged · 63fd6d9f
      unknown authored
      63fd6d9f
    • unknown's avatar
    • unknown's avatar
      Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0 · 901f9275
      unknown authored
      
      configure.in:
        Auto merged
      901f9275
    • unknown's avatar
      Changed thd variables max_join_size and select_limit to type ha_rows. · 928cd998
      unknown authored
      This fixed some optimization problems when using -DBIG_TABLES
      Portabilty fixes for OpenUnix and HPUX
      Added C and C++ version numbers to mysqlbug
      
      
      Docs/mysqld_error.txt:
        Added new error message
      acinclude.m4:
        Fix for configure problem on OpenUnix
      configure.in:
        Fix for OpenUnix
        Added C and C++ versions to mysqlbug
      mysql-test/r/variables.result:
        Update of max_join_size handling
      mysql-test/t/variables.test:
        Update of max_join_size handling
      mysys/Makefile.am:
        Removed duplicate row
      mysys/my_alloc.c:
        Safety fixes (not fatal)
      scripts/Makefile.am:
        Added C and C++ compiler versions to mysqlbug
      scripts/mysqlbug.sh:
        Added C and C++ compiler versions to mysqlbug
      sql/item_func.cc:
        Fixed that user variables that changes are not threated as constants.
      sql/item_func.h:
        Fixed that user variables that changes are not threated as constants.
      sql/mysqld.cc:
        Changed thd variables max_join_size and select_limit to type ha_rows
      sql/repl_failsafe.cc:
        Removed not needed cast
      sql/set_var.cc:
        Changed thd variables max_join_size and select_limit to type ha_rows
      sql/set_var.h:
        Changed thd variables max_join_size and select_limit to type ha_rows
      sql/slave.cc:
        Removed not needed cast
      sql/sql_class.h:
        Changed thd variables max_join_size and select_limit to type ha_rows
      sql/sql_parse.cc:
        Removed not needed cast
        Fixed security problem with mysql_drop_db()
      sql/sql_show.cc:
        Changed thd variables max_join_size and select_limit to type ha_rows
      sql/structs.h:
        Changed thd variables max_join_size and select_limit to type ha_rows
      928cd998
    • unknown's avatar
      - tagged ChangeSet 1.1477 as MySQL 4.0.6 · cd82dc9f
      unknown authored
       - bumped up version number in configure.in to 4.0.7-gamma
      
      
      configure.in:
         - bumped up version number in configure.in to 4.0.7-gamma
      cd82dc9f
  11. 19 Dec, 2002 2 commits
    • unknown's avatar
      ha_innobase.cc: · 4ab9cd59
      unknown authored
        Better error message to help users who created tables with < 3.23.54 where MySQL implicitly added a PRIMARY KEY definition
      
      
      sql/ha_innobase.cc:
        Better error message to help users who created tables with < 3.23.54 where MySQL implicitly added a PRIMARY KEY definition
      4ab9cd59
    • unknown's avatar
      server-cfg.sh: · fea2d66d
      unknown authored
        Corrected some typo.
      
      
      sql-bench/server-cfg.sh:
        Corrected some typo.
      fea2d66d
  12. 18 Dec, 2002 3 commits
    • unknown's avatar
      Merge akishkin@work.mysql.com:/home/bk/mysql-4.0 · f8f99f56
      unknown authored
      into mysql.com:/home/walrus/bk/40
      
      f8f99f56
    • unknown's avatar
      crash-me.sh: · d50415ce
      unknown authored
        Wrap long lines,
        New test - date_format_inresult (returns which date
        format dbms uses in the result set)
        New tests:
          -date_format_ISO 
          -date_format_ISO_with_date (checks if DBMS supports 
                YYYY-MM-DD or DATE 'YYYY-MM-DD' formats)
          -date_format_EUR
          -date_format_EUR_with_date (the same but 'DD.MM.YYYY' 
                format)
          -date_format_USA
          -date_format_USA_with_date ( the same but 'MM/DD/YYYY' format)
          -date_format_YYYYMMDD
          -date_format_YYYYMMDD_with_date 
      
      
      sql-bench/crash-me.sh:
        Wrap long lines,
        New test - date_format_inresult (returns which date
        format dbms uses in the result set)
        New tests:
          -date_format_ISO 
          -date_format_ISO_with_date (checks if DBMS supports 
                YYYY-MM-DD or DATE 'YYYY-MM-DD' formats)
          -date_format_EUR
          -date_format_EUR_with_date (the same but 'DD.MM.YYYY' 
                format)
          -date_format_USA
          -date_format_USA_with_date ( the same but 'MM/DD/YYYY' format)
          -date_format_YYYYMMDD
          -date_format_YYYYMMDD_with_date
      d50415ce
    • unknown's avatar
      Fix for found rows in multi-table updates · 387e26cf
      unknown authored
      387e26cf
  13. 16 Dec, 2002 4 commits