1. 28 Aug, 2003 8 commits
    • unknown's avatar
      Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.0 · 6d264449
      unknown authored
      into mysql.com:/space/my/mysql-4.0
      
      
      6d264449
    • unknown's avatar
      merge with 3.23 to get for overrun in ISAM tables with man fields and a blob. · 6866b923
      unknown authored
      
      isam/open.c:
        Auto merged
      myisam/mi_open.c:
        Auto merged
      myisam/mi_dynrec.c:
        merge
      mysql-test/r/isam.result:
        merge
      mysql-test/t/isam.test:
        merge
      6866b923
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-3.23 · 16969a48
      unknown authored
      into narttu.mysql.fi:/my/mysql-3.23
      
      
      16969a48
    • unknown's avatar
      Updated test for ISAM overflow bug · bda8edf1
      unknown authored
      
      mysql-test/r/isam.result:
        Updated test for overflow bug
      mysql-test/t/isam.test:
        Updated test for overflow bug
      bda8edf1
    • unknown's avatar
      ixed overflow bug in MyISAM and ISAM when using packed tables with a lot of fields and blobs · 5df8c7b0
      unknown authored
      
      isam/open.c:
        Fixed overflow bug when using packed tables and blobs
      isam/test_all.res:
        updated test results
      myisam/mi_dynrec.c:
        pack_bits not needed here as we do it on open
      myisam/mi_open.c:
        Fixed overflow bug when using packed tables and blobs
      5df8c7b0
    • unknown's avatar
      Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.0 · 673922d3
      unknown authored
      into mysql.com:/space/my/mysql-4.0
      
      
      673922d3
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 572f2a0e
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.0
      
      
      572f2a0e
    • unknown's avatar
      Add detection of in_addr_t · 26bb50a1
      unknown authored
      Add pack_bits to pack_reclength for dynamic rows.  This solves buffer a possible buffer overflow on update.
      (This will probably solve bug #563)
      Fix test for available file descriptors in mysqltest
      Fixed core dump bug in replication tests when running without transactional table support
      
      
      acconfig.h:
        Add detection of in_addr_t
      acinclude.m4:
        Add detection of in_addr_t
      configure.in:
        Add detection of in_addr_t
      extra/my_print_defaults.c:
        Cleanup
      extra/resolveip.c:
        Add detection of in_addr_t
      libmysql/dll.c:
        Fixed C++ commments
      myisam/mi_dynrec.c:
        Add ASSERT if allocated record length is to small
      myisam/mi_open.c:
        Add pack_bits to pack_reclength for dynamic rows.  This solves buffer a possible buffer overflow on update.
      myisam/mi_test_all.sh:
        Added valgrind option to make it easier to verify tests
      mysql-test/include/check_var_limit.inc:
        Fix test for available file descriptors
      mysql-test/r/myisam.result:
        More tests
      mysql-test/t/myisam.test:
        More tests
      mysql-test/t/query_cache_merge.test:
        Fix test for available file descriptors
      mysys/default.c:
        Cleanup
      mysys/my_pthread.c:
        Remove C++ comments
      sql/log.cc:
        Code cleanup
        Fixed core dump bug in replication tests when running without transactional table support.
      26bb50a1
  2. 27 Aug, 2003 9 commits
  3. 26 Aug, 2003 7 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 522a3220
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.0
      
      
      522a3220
    • unknown's avatar
      vio ssl structure renames (to get rid of ending _) · 59806e10
      unknown authored
      Added TCP/IP read/write timeout for windows
      Check on windows if second server is started with same TCP/IP port
      
      
      BitKeeper/deleted/.del-have_openssl_2.inc~8c9f1a45676b698f:
        Delete: mysql-test/include/have_openssl_2.inc
      BitKeeper/deleted/.del-have_openssl_2.require~53bbdfc136fb514:
        Delete: mysql-test/r/have_openssl_2.require
      BitKeeper/deleted/.del-openssl_2.test~f2dfa927f19d14f8:
        Delete: mysql-test/t/openssl_2.test
      BitKeeper/etc/ignore:
        added libmysql/vio_priv.h libmysql_r/vio_priv.h
      client/mysql.cc:
        vio ssl structure renames
      include/violite.h:
        Cleanup violite.h interface (move things to vio_priv.h)
      libmysql/Makefile.am:
        Use vio_priv.h
      libmysql/Makefile.shared:
        Use vio_priv.h
      libmysqld/lib_vio.c:
        Added timeout for windows
      mysys/my_getopt.c:
        Indentaion cleanup
      sql/item_cmpfunc.cc:
        Remove compiler warnings
      sql/item_func.cc:
        Remove compiler warnings
      sql/mini_client.cc:
        vio ssl structure renames
      sql/mysqld.cc:
        Check on windows if second server is started with same TCP/IP port
      sql/net_serv.cc:
        Add read/write timeouts for windows
      sql/sql_acl.cc:
        vio ssl structure renames
      sql/sql_show.cc:
        vio ssl structure renames
      vio/vio.c:
        Added timeouts for windows
      vio/viosocket.c:
        Added timeouts for windows
      vio/viossl.c:
        Added timeouts for windows
        Cleaned up structure element names
      vio/viosslfactories.c:
        Added timeouts for windows
        Cleaned up structure element names
      59806e10
    • unknown's avatar
      do not try to "analyze" or "sort index" in the table that has no indexes or no... · d1be872e
      unknown authored
      do not try to "analyze" or "sort index" in the table that has no indexes or no records if --check-only-changed option is used.
      It's because such a table is never marked as "analyzed" or "sorted", so --check-only-changed doesn't work
      
      
      
      d1be872e
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · b52da698
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      
      myisam/mi_check.c:
        Auto merged
      b52da698
    • unknown's avatar
      fix ANALYZE TBALE to never generate rec_per_key_part < 1, as it prevent the... · cc7b3c82
      unknown authored
      fix ANALYZE TBALE to never generate rec_per_key_part < 1, as it prevent the table from being marked as analyzed (and the value is meaningless anyway)
      
      
      
      cc7b3c82
    • unknown's avatar
    • unknown's avatar
      - Reverted a fix for bug#897, as it broke the installation on some · 7a21caab
      unknown authored
         other operating systems - some implementations of "hostname" simply set
         the host name to "-f" instead of giving an error about an unkown option
      
      
      7a21caab
  4. 25 Aug, 2003 7 commits
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · 2dacea35
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      
      2dacea35
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · e5b3d521
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.0
      
      
      sql/log_event.cc:
        Auto merged
      e5b3d521
    • unknown's avatar
      comments about mutexes in replication. · 3fdc38d4
      unknown authored
      Don't start the SQL slave thread with SQL_BIG_SELECTS;
      it's better to inhibate max_join_size instead.
      
      
      sql/slave.cc:
        OPTION_BIG_SELECTS does more than ignoring max_join_size (talks to the optimiser),
        just ignore max_join_size.
      sql/slave.h:
        comments
      3fdc38d4
    • unknown's avatar
      Better fix for myisamchk --sort-index on windows · 413b57e1
      unknown authored
      Fixed deadlock bug when doing resize of key buffer while key buffer was in active use
      
      
      myisam/mi_locking.c:
        Better fix for myisamchk --sort-index on windows
      mysql-test/r/symlink.result:
        Update results
      mysql-test/t/symlink.test:
        Update results
      mysys/mf_keycache.c:
        Fixed deadlock bug when doing resize of key buffer while key buffer was in active use
      sql/ha_myisam.cc:
        simple optimization
      sql/sql_show.cc:
        Fixed theoretical buffer overrun
        Reset variable properly before calling update_create_info()
      413b57e1
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · 48649594
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      
      48649594
    • unknown's avatar
      Clearer states in SHOW PROCESSLIST for replication threads. · c47ee569
      unknown authored
      For example the Binlog_dump thread (on the master) sometimes showed "Slave:".
      And there were confusing messages where "binlog" was employed instead
      of "relay log".
      
      
      sql/log.cc:
        MYSQL_LOG::wait_for_update() is used by the binlog_dump and I/Oslave threads,
        and it updates thd->proc_info, so we need a bool to not show the same
        proc_info for 2 different things (previously we showed "Slave: etc" and that's
        bad for a binlog_dump thread).
      sql/slave.cc:
        Clearer thd-proc_info for slave threads.
      sql/sql_class.h:
        prototype change
      sql/sql_repl.cc:
        clearer thd->proc_info for binlog_dump thread
      c47ee569
    • unknown's avatar
      Update of VC++ project files (to remove link warnings) · e8007ae7
      unknown authored
      Fix unlock error in myisamchk on windows when doing --sort-index
      Use SetFilePointer instead of SetFilePointerEx
      
      
      VC++Files/client/mysql.dsp:
        Update of project files
      VC++Files/client/mysqladmin.dsp:
        Update of project files
      VC++Files/client/mysqlclient.dsp:
        Update of project files
      VC++Files/client/mysqldump.dsp:
        Update of project files
      VC++Files/client/mysqlimport.dsp:
        Update of project files
      VC++Files/client/mysqlshow.dsp:
        Update of project files
      VC++Files/comp_err/comp_err.dsp:
        Update of project files
      VC++Files/innobase/innobase.dsp:
        Update of project files
      VC++Files/isamchk/isamchk.dsp:
        Update of project files
      VC++Files/libmysql/libmysql.dsp:
        Update of project files
      VC++Files/libmysqld/libmysqld.dsp:
        Update of project files
      VC++Files/libmysqltest/myTest.dsp:
        Update of project files
      VC++Files/my_print_defaults/my_print_defaults.dsp:
        Update of project files
      VC++Files/myisamlog/myisamlog.dsp:
        Update of project files
      VC++Files/mysql.dsw:
        Update of project files
      VC++Files/mysqlbinlog/mysqlbinlog.dsp:
        Update of project files
      VC++Files/mysqlcheck/mysqlcheck.dsp:
        Update of project files
      VC++Files/mysqldemb/mysqldemb.dsp:
        Update of project files
      VC++Files/mysqlmanager/MySqlManager.dsp:
        Update of project files
      VC++Files/mysqlserver/mysqlserver.dsp:
        Update of project files
      VC++Files/mysqlshutdown/mysqlshutdown.dsp:
        Update of project files
      VC++Files/mysys/mysys.dsp:
        Update of project files
      VC++Files/pack_isam/pack_isam.dsp:
        Update of project files
      VC++Files/perror/perror.dsp:
        Update of project files
      VC++Files/replace/replace.dsp:
        Update of project files
      VC++Files/sql/mysqld.dsp:
        Update of project files
      VC++Files/test1/test1.dsp:
        Update of project files
      VC++Files/thr_test/thr_test.dsp:
        Update of project files
      VC++Files/vio/vio.dsp:
        Update of project files
      VC++Files/zlib/zlib.dsp:
        Update of project files
      myisam/mi_check.c:
        Fix unlock error in myisamchk on windows when doing --sort-index
      myisam/mi_locking.c:
        Fix unlock error in myisamchk on windows when doing --sort-index
      myisam/myisamchk.c:
        New comment
      mysys/my_chsize.c:
        Use SetFilePointer instead of SetFilePointerEx, as the first is more portable
      sql/handler.cc:
        Fix compiler warning
      sql/log_event.cc:
        Fix compiler warning
      e8007ae7
  5. 24 Aug, 2003 1 commit
    • unknown's avatar
      os0file.c: · 3a068e57
      unknown authored
        strerror() does not work in Windows
      
      
      innobase/os/os0file.c:
        strerror() does not work in Windows
      3a068e57
  6. 23 Aug, 2003 5 commits
    • unknown's avatar
      The slave threads MUST not care about max_join_size, we start them with · 89e95d0c
      unknown authored
      OPTION_BIG_SELECTS.
      
      
      sql/slave.cc:
        The slave threads MUST not care about max_join_size.
        I can imagine the case of a slave where users can connect and do SELECTs, but
        DBA does not want them to issue crazy SELECTs, but he/she still wants replication
        to work.
        Before, this just printed a warning to the error log (not fatal) but that
        was still annoying.
      89e95d0c
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · 9438655a
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      
      9438655a
    • unknown's avatar
      * Fix for a potential bug: · 6e10224d
      unknown authored
      when the SQL thread stops, set rli->inside_transaction to 0. This is needed if the user
      later restarts replication from a completely different place where there are only autocommit
      statements.
      * Detect the case where the master died while flushing the binlog cache to the binlog
      and stop with error. Cannot add a testcase for this in 4.0 (I tested it manually)
      as the slave always runs with --skip-innodb.
      
      
      sql/log_event.cc:
        Detect the case where the master died while flushing the binlog cache to the binlog:
        in that case, we have a BEGIN with no COMMIT/ROLLBACK in the relay log; we detect
        this with rli->inside_transaction in Rotate_log_event::exec_event() (which is the
        only right place to detect this, see comments). When we see it, we stop with error.
        In 4.1, I had put code in Start_log_event::exec_event(); I'll remove it next time
        I push in the 4.1 tree.
      sql/slave.cc:
        * Use slave_print_error instead of sql_print_error, to put the info in SHOW SLAVE STATUS too.
        * Fix for a potential bug:
        when the SQL thread stops, set rli->inside_transaction to 0. This is not needed if
        replication later restarts from the same position; but this is needed if the user
        restarts replication from a completely different place where there are only autocommit
        statements (in that case, if we didn't set to 0, the position would never increment in SHOW
        SLAVE STATUS, even if queries are processed well).
      6e10224d
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 2ad17fa6
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.0
      
      
      sql/mysql_priv.h:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      2ad17fa6
    • unknown's avatar
      show symlinked directories in SHOW CREATE TABLE · af9b771a
      unknown authored
      af9b771a
  7. 22 Aug, 2003 3 commits
    • unknown's avatar
      After merge fixes · 2d2f5765
      unknown authored
      
      mysql-test/r/func_test.result:
        Auto merged
      mysql-test/r/grant.result:
        Auto merged
      mysql-test/t/func_test.test:
        Auto merged
      mysql-test/t/grant.test:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      2d2f5765
    • unknown's avatar
      grant.result, grant.test, sql_acl.cc: · 11fbbe44
      unknown authored
        Fix for a bug #878
      
      
      sql/sql_acl.cc:
        Fix for a bug #878
      mysql-test/t/grant.test:
        Fix for a bug #878
      mysql-test/r/grant.result:
        Fix for a bug #878
      11fbbe44
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · e3563c79
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      
      e3563c79