1. 29 Jul, 2005 2 commits
    • unknown's avatar
      Security fix in "zlib": · 0f867ef7
      unknown authored
      - upgrade zlib to 1.2.2
        (originally:  2005/03/23 21:08:13+01:00 serg@serg.mylan )
      - fixed linking with zlib
        (originally:  2005/05/24 22:42:43+02:00 lenz@mysql.com )
      - one more build fix for zlib.lib - added libpath to the mysql_test_run_new project files
        (originally:  2005/05/25 10:55:21+02:00 lenz@mysql.com )
      - Do not build the RPMs statically on i386 by default, only when adding either
        "--with static" or "--define '_with_static 1'" to the RPM build options.
        Static linking really only makes sense when linking against the specially patched
        glibc 2.2.5.
        (originally:  2005/06/14 21:39:08+02:00 lenz@mysql.com )
      - Apply security patch to bundled zlib for CAN-2005-2096. (Bug #11844)
        (originally:  2005/07/11 10:37:21-07:00 jimw@mysql.com )
      - applied a security fix to inftrees.h from the bundled zlib to resolve a second
        potential zlib security vulnerability (CAN-2005-1849). Fix was taken from the
        official zlib-1.2.3 distribution (no other zlib-1.2.3 changes were applied)
        (originally:  2005/07/27 14:55:08+02:00 lenz@mysql.com )
      - build the RPM binaries against the bundled zlib, when static linking is requested
        (originally:  2005/07/27 16:42:13+02:00 lenz@mysql.com )
      
      
      VC++Files/client/mysql.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/client/mysqladmin.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/client/mysqlcheck.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/client/mysqldump.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/client/mysqlimport.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/client/mysqlshow.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/client/mysqltest.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/mysql-test/mysql_test_run_new.dsp:
        - added zlib.lib to the LINK32 options
        - added libpath option so that zlib.lib will be found
      VC++Files/mysqlbinlog/mysqlbinlog.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/mysqlcheck/mysqlcheck.dsp:
        - added zlib.lib to the LINK32 options
      VC++Files/mysqlmanager/mysqlmanager.dsp:
        - added zlib.lib to the LINK32 options
      acinclude.m4:
        clarify help text
      support-files/mysql.spec.sh:
        - Do not build statically on i386 by default, only when adding either "--with
          static" or "--define '_with_static 1'" to the RPM build options. Static
          linking really only makes sense when linking against the specially patched
          glibc 2.2.5.
        - build against the bundled zlib, when linking statically
      zlib/ChangeLog:
        upgrade zlib to 1.2.2
      zlib/FAQ:
        upgrade zlib to 1.2.2
      zlib/INDEX:
        upgrade zlib to 1.2.2
      zlib/README:
        upgrade zlib to 1.2.2
      zlib/crc32.c:
        upgrade zlib to 1.2.2
      zlib/deflate.c:
        upgrade zlib to 1.2.2
      zlib/deflate.h:
        upgrade zlib to 1.2.2
      zlib/gzio.c:
        upgrade zlib to 1.2.2
      zlib/infback.c:
        upgrade zlib to 1.2.2
      zlib/inffast.c:
        upgrade zlib to 1.2.2
      zlib/inflate.c:
        upgrade zlib to 1.2.2
      zlib/inftrees.c:
        upgrade zlib to 1.2.2
        Apply security patch for CAN-2005-2096
      zlib/inftrees.h:
        upgrade zlib to 1.2.2
        applied another security fix to resolve CAN-2005-1849, taken from the 1.2.3 zlib sources
      zlib/trees.c:
        upgrade zlib to 1.2.2
      zlib/zconf.h:
        upgrade zlib to 1.2.2
      zlib/zlib.3:
        upgrade zlib to 1.2.2
      zlib/zlib.h:
        upgrade zlib to 1.2.2
      zlib/zutil.h:
        upgrade zlib to 1.2.2
      0f867ef7
    • unknown's avatar
      Increase version number (prepare for new build including security fixes in "zlib"). · 3fee068e
      unknown authored
      
      BitKeeper/etc/config:
        Using licensed version now.
      3fee068e
  2. 01 Apr, 2005 1 commit
    • unknown's avatar
      Last minor things to finish MySQL 4.1.10a: · 390fe9d9
      unknown authored
      - some wordings,
      - RPM packaging improvements.
      
      
      configure.in:
        Set the version string.
      scripts/mysql_create_system_tables.sh:
        Security change: Reduce the risk caused by predefined anonymous logins.
      sql/mysqld.cc:
        Correct a message text; align variable order with other versions.
      sql/sql_udf.cc:
        Fix an erroneous takeover of 4.0 wording.
      support-files/mysql.spec.sh:
        Fix date formatting, add missing change descriptions.
      390fe9d9
  3. 31 Mar, 2005 5 commits
    • unknown's avatar
      Fix for a build bug. · 6d0dd429
      unknown authored
      Added a missing comma.
      
      Originally contained in 2005/03/04 09:30:22+01:00 ingo@mysql.com;
      contained in MySQL 4.1.10a;
      re-committed for archival purposes.
      
      
      myisam/mi_create.c:
        Fix for a build bug.
        Added a missing comma.
      6d0dd429
    • unknown's avatar
      after merge fixes · 32220745
      unknown authored
      Originally contained in 2005/03/03 23:57:48+01:00 serg@serg.mylan;
      contained in MySQL 4.1.10a;
      re-committed for archival purposes.
      
      
      sql/sql_udf.cc:
        after merge fixes
      32220745
    • unknown's avatar
      typos fixed · b6a38fc7
      unknown authored
      Originally contained in 2005/03/03 23:10:23+01:00 serg@serg.mylan;
      contained in MySQL 4.1.10a;
      re-committed for archival purposes.
      
      
      sql/mysqld.cc:
        typos fixed
      b6a38fc7
    • unknown's avatar
      uninit variable fixed · c750c418
      unknown authored
      Originally contained in 2005/03/03 21:13:33+01:00 serg@serg.mylan;
      contained in MySQL 4.1.10a;
      re-committed for archival purposes.
      
      
      sql/ha_myisam.cc:
        uninit variable fixed
      c750c418
    • unknown's avatar
      Fixes for bugs reported by Stefano Di Paola (stefano.dipaola@wisec.it) · 896e6e56
      unknown authored
      Originally contained in 2005/03/03 19:51:29+01:00 serg@serg.mylan;
      contained in MySQL 4.1.10a;
      re-committed for archival purposes.
      
      
      include/my_global.h:
        O_NOFOLLOW
      isam/create.c:
        create table files with O_EXCL|O_NOFOLLOW
      merge/mrg_create.c:
        create table files with O_EXCL|O_NOFOLLOW
      myisam/mi_create.c:
        create files of temporary tables with O_EXCL|O_NOFOLLOW
      myisammrg/myrg_create.c:
        create table files with O_EXCL|O_NOFOLLOW
      mysys/mf_tempfile.c:
        create temporary files with O_EXCL|O_NOFOLLOW
      sql/ha_myisam.cc:
        let mi_create know if the table is TEMPORARY
      sql/mysql_priv.h:
        --allow_suspicious_udfs
      sql/mysqld.cc:
        --allow_suspicious_udfs
      sql/share/english/errmsg.txt:
        typo
      sql/sql_udf.cc:
        --allow_suspicious_udfs
        don't allow xxx() udf without any of xxx_init/deinit/add/reset
        check paths when loading from mysql.func
      sql/table.cc:
        create frm of temporary table with O_EXCL|O_NOFOLLOW
      896e6e56
  4. 12 Feb, 2005 3 commits
  5. 11 Feb, 2005 19 commits
  6. 10 Feb, 2005 10 commits
    • unknown's avatar
      Merge commit trigger · a20374e3
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      extra/replace.c:
        Auto merged
      BitKeeper/triggers/post-commit:
        Merge changes
      a20374e3
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0 · 77d24615
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.0-clean
      
      
      77d24615
    • unknown's avatar
    • unknown's avatar
      BUG#6749: If there is no current database, then nothing should be binlogged if · 9f4f7980
      unknown authored
      binlog-do-db or binlog-ignore-db are in effect.   (In the future 5.1? 5.0? I think 
      each statement should be verified against the filtering criteria based on the database
      it *uses* and not the *current* one.  But, right now the *current* database is what 
      counts according to the semantics of the manual.)
      
      
      sql/log.cc:
        BUG#6749: If there is no current database, then nothing should be binlogged if
        binlog-do-db or binlog-ignore-db are in effect.   (In the future I think that each 
        statement should be verified against the filtering criteria based on the database
        it *uses* and not the *current* one.  But, right now the *current* database is what 
        counts according to the semantics of the manual.)
      9f4f7980
    • unknown's avatar
      Bug#8391 - "merge" fails on Linux/IA64 · 8abafe35
      unknown authored
      It was a thread stack overrun.
      IA64 had its own stack size section already.
      Enlarged its default stack size from 192K to 256K.
      
      
      8abafe35
    • unknown's avatar
      Follow-up for bug#7990 · d9039e87
      unknown authored
      
      libmysql/libmysql.c:
        And now put it to the proper place and make it work (Bug#7990)
      tests/mysql_client_test.c:
        Enable the test for bug#7990
      d9039e87
    • unknown's avatar
      A fix and test case for Bug#7990 "mysql_stmt_close doesn't · a26ce94f
      unknown authored
      reset mysql->net.last_error": the solution is to clear
      MYSQL->net error before performing COM_CLOSE: if the call
      succeeds, the connection is usable for other statements.
      More comprehensive fix is to clear MYSQL->net for all
      recoverable errors at the time they happen, it will be
      implemented in 5.0 as it introduces incompatibility in behavior.
      
      
      libmysql/libmysql.c:
        A simple fix for Bug#7990 "mysql_stmt_close doesn't reset 
        mysql->net.last_error"
      tests/mysql_client_test.c:
        A test case for Bug#7990 " mysql_stmt_close doesn't reset 
        mysql->net.last_error"
      a26ce94f
    • unknown's avatar
      8cd6d181
    • unknown's avatar
      Change 'Build-tools/Do-compile' from 'system("rm -f ...");' to 'unlink()' to ensure · 2e480773
      unknown authored
      it also works on file names with special characters.
      
      
      Build-tools/Do-compile:
        Ever and again, some test creates a file name with special characters that need to be
        escaped when passed to the shell; as this is not done, 'system("rm -f ...");' fails
        on them, the old test tree is not deleted, and the build fails.
        Prevent this by changing to Perl 'unlink()' which does not need escaping.
      2e480773
    • unknown's avatar
      A fix and test case for Bug#8330 "mysql_stmt_execute crashes" (libmysql). · fca90750
      unknown authored
      
      libmysql/libmysql.c:
        Fix for bug#8330 "mysql_stmt_execute crashes": we need to bail out
        from mysql_stmt_execute if mysql->net is occupied with a result set of
        another statement. Otherwise on the next attempt to use net we get
        a crash, as it's freed in case of error.
      tests/mysql_client_test.c:
        A test case for Bug#8330 "mysql_stmt_execute craches" (libmysql)
      fca90750