1. 02 May, 2006 7 commits
    • unknown's avatar
      Manually merged · 63dbb53d
      unknown authored
      63dbb53d
    • unknown's avatar
      Merge zippy.(none):/home/cmiller/work/mysql/mysql-5.0__bug17667 · 479fe386
      unknown authored
      into  zippy.(none):/home/cmiller/work/mysql/mysql-5.1-new__bug17667
      
      
      include/my_sys.h:
        Auto merged
      mysys/Makefile.am:
        Auto merged
      tests/Makefile.am:
        Auto merged
      479fe386
    • unknown's avatar
      An update to as-yet unused new feature of snprintf, which was added to bring · 8106f47f
      unknown authored
      our sprintf()-alike in sync with our fprintf()-alike features.
      
      
      strings/my_vsnprintf.c:
        Advance the destination pointer properly.
        
        Also, pay attention to the "n" in snprintf() -- never write too much.
      8106f47f
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 3a284d5d
      unknown authored
      into  zippy.(none):/home/cmiller/work/mysql/mysql-5.0__bug17667
      
      
      mysys/Makefile.am:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      3a284d5d
    • unknown's avatar
      SECURITY FIX · f57754d7
      unknown authored
      Bug#17667: An attacker has the opportunity to bypass query logging.
      
      This adds a new, local-only printf format specifier to our *printf functions
      that allows us to print known-size buffers that must not be interpreted as 
      NUL-terminated "strings."
      
      It uses this format-specifier to print to the log, thus fixing this 
      problem.
      
      
      include/my_sys.h:
        Add prototype for my_memmem() .
      mysys/Makefile.am:
        Add reference to new file, my_memmem.c
      mysys/mf_iocache2.c:
        Add a "%.1234b" and "%.*b" percent-code.  It takes a width, just like "%s", 
        but unlike the string-indicator, it requires the width and doesn't stop printing
        at NUL characters.
        
        Also, simplify the code a bit.
        
        TODO:  This code should be unified with the strings/my_vnsprintf.c code in 
        the future.
      sql/sql_parse.cc:
        The query is not a C-string, but is a sized buffer, containing any character 
        at all, which may include NUL characters.
      strings/my_vsnprintf.c:
        Add a "%.1234b" and "%.*b" percent-code.  It takes a width, just like "%s", 
        but unlike the string-indicator, it requires the width and doesn't stop printing
        at NUL characters.
      tests/Makefile.am:
        We may need some of our local functions.
      tests/mysql_client_test.c:
        Add a "%.1234b" and "%.*b" percent-code.  It takes a width, just like "%s", 
        but unlike the string-indicator, it requires the width and doesn't stop printing
        at NUL characters.
      mysql-test/t/mysql_client_test.opt:
        New BitKeeper file ``mysql-test/t/mysql_client_test.opt''
        
        Add '--log' server parameter.
      mysys/my_memmem.c:
        New BitKeeper file ``mysys/my_memmem.c''
        
        Implement memmem, a black-box work-alike of the GNU memmem(), which functions
        like strstr() but for arbitrary blocks of memory.
      f57754d7
    • unknown's avatar
      Merge · f5b99ede
      unknown authored
      
      configure.in:
        Auto merged
      include/config-win.h:
        Auto merged
      f5b99ede
    • unknown's avatar
      Fix name of error in view_grant test · a2f57fcf
      unknown authored
      
      mysql-test/t/view_grant.test:
        Fix error name
      a2f57fcf
  2. 01 May, 2006 13 commits
  3. 30 Apr, 2006 4 commits
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-clean · db3ecba1
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.1-clean
      
      
      BitKeeper/etc/ignore:
        auto-union
      BitKeeper/deleted/.del-mysql_upgrade.dsp:
        Delete: VC++Files/client/mysql_upgrade.dsp
      BitKeeper/deleted/.del-mysql_upgrade_ia64.dsp:
        Delete: VC++Files/client/mysql_upgrade_ia64.dsp
      BitKeeper/deleted/.del-mysql_upgrade.c:
        Delete: client/mysql_upgrade.c
      VC++Files/mysql.dsw:
        Auto merged
      VC++Files/mysql.sln:
        Auto merged
      VC++Files/mysql_ia64.dsw:
        Auto merged
      client/mysql.cc:
        Auto merged
      config/ac-macros/zlib.m4:
        Auto merged
      configure.in:
        Auto merged
      extra/yassl/Makefile.am:
        Auto merged
      extra/yassl/taocrypt/Makefile.am:
        Auto merged
      include/my_global.h:
        Auto merged
      include/mysql.h:
        Auto merged
      libmysql/libmysql.def:
        Auto merged
      libmysqld/libmysqld.def:
        Auto merged
      mysql-test/r/grant2.result:
        Auto merged
      mysql-test/r/sp-security.result:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/r/trigger.result:
        Auto merged
      mysql-test/r/udf.result:
        Auto merged
      mysql-test/t/grant2.test:
        Auto merged
      mysql-test/t/rpl_openssl.test:
        Auto merged
      mysql-test/t/rpl_rotate_logs.test:
        Auto merged
      mysql-test/t/sp-security.test:
        Auto merged
      mysql-test/t/trigger.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      sql-common/client.c:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      client/Makefile.am:
        Resolve conflict
      config/ac-macros/yassl.m4:
        Resolve conflict
      mysql-test/include/have_udf.inc:
        Resolve conflict
      mysql-test/lib/mtr_process.pl:
        Resolve conflict
      mysql-test/mysql-test-run.pl:
        Resolve conflict
      mysql-test/r/have_udf.require:
        Resolve conflict
      mysql-test/r/rpl_openssl.result:
        Resolve conflict
      mysql-test/t/disabled.def:
        Resolve conflict
      mysql-test/t/information_schema.test:
        Resolve conflict
      server-tools/instance-manager/instance_options.cc:
        Resolve conflict
      sql/mysql_priv.h:
        Resolve conflict
      sql/set_var.cc:
        Resolve conflict
      support-files/mysql.spec.sh:
        Resolve conflict
      db3ecba1
    • unknown's avatar
      Fix error in having.test to use name instead of number (fixes merge problem) · eb545ed7
      unknown authored
      
      mysql-test/t/having.test:
        Use error name instead of number
      eb545ed7
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/tmp_merge · 92324920
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.1-clean
      
      
      mysql-test/r/user_var.result:
        Auto merged
      mysql-test/r/variables.result:
        Auto merged
      mysql-test/t/variables.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Resolve conflict
      mysql-test/ndb/ndbcluster.sh:
        Resolve conflict
      sql/set_var.cc:
        Resolve conflict
      sql/share/errmsg.txt:
        Resolve conflict
      92324920
    • unknown's avatar
      Merge zim.(none):/home/brian/mysql/tmp_merge · c7163980
      unknown authored
      into  zim.(none):/home/brian/mysql/merge-5.1
      
      
      sql/ha_archive.cc:
        Merge to remove writes. Also removed one unneeded DBUG_PRINT
      sql/ha_archive.h:
        Merge
      c7163980
  4. 29 Apr, 2006 3 commits
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · 01c039f4
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-new
      
      01c039f4
    • unknown's avatar
      config-win.h: · 7c8f4d4e
      unknown authored
        Fix strange "double" define for popen.
        Avoid warnings about sprintf() etc. being unsafe.
        Corrected typo "#endfif"
      
      
      include/config-win.h:
        Fix strange "double" define for popen.
        Avoid warnings about sprintf() etc. being unsafe.
        Corrected typo "#endfif"
      7c8f4d4e
    • unknown's avatar
      configure.in: · 53d9cdf6
      unknown authored
        Changed version to 4.1.20
      
      
      configure.in:
        Changed version to 4.1.20
      53d9cdf6
  5. 28 Apr, 2006 13 commits