1. 03 May, 2006 16 commits
  2. 02 May, 2006 24 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · c12a5975
      unknown authored
      into  zippy.(none):/home/cmiller/work/mysql/mysql-5.1-new__bug18078
      
      
      BitKeeper/etc/config:
        Auto merged
      VC++Files/mysql.sln:
        Auto merged
      VC++Files/mysys/mysys.vcproj:
        Auto merged
      mysql-test/r/ps.result:
        Auto merged
      mysql-test/r/ps_1general.result:
        Auto merged
      mysql-test/r/timezone2.result:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      mysql-test/t/ps_1general.test:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/tztime.cc:
        Auto merged
      sql/tztime.h:
        Auto merged
      tests/Makefile.am:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      c12a5975
    • unknown's avatar
      pekka:get - push push push · 435f3396
      unknown authored
      
      BitKeeper/etc/config:
        pekka:get
      435f3396
    • unknown's avatar
      Merge mysql.com:/home/dlenev/mysql-5.0-bg11081 · 1e592ac0
      unknown authored
      into  mysql.com:/home/dlenev/mysql-5.1-merges
      
      
      VC++Files/mysql.sln:
        Auto merged
      VC++Files/mysys/mysys.vcproj:
        Auto merged
      mysql-test/r/ps.result:
        Auto merged
      mysql-test/r/ps_1general.result:
        Auto merged
      mysql-test/r/timezone2.result:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      mysql-test/t/ps_1general.test:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/tztime.cc:
        Auto merged
      sql/tztime.h:
        Auto merged
      tests/Makefile.am:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      1e592ac0
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · 4e3dd4cc
      unknown authored
      into  zippy.(none):/home/cmiller/work/mysql/mysql-5.1-new__bug17667
      
      4e3dd4cc
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 1061384b
      unknown authored
      into  zippy.(none):/home/cmiller/work/mysql/mysql-5.0__bug17667
      
      1061384b
    • unknown's avatar
      WL#3148: Modifying sizes of i_s.processlist columns ('time', 'info'). · 6635909e
      unknown authored
      
      mysql-test/r/information_schema.result:
        Fixing test case result (after modifying the size of the
         i_s.processlist.info column).
      sql/mysql_priv.h:
        Defined new constant used as the size of the
         i_s.processlist.info column.
      sql/sql_show.cc:
        Modifying sizes of i_s.processlist columns ('time', 'info').
      6635909e
    • unknown's avatar
      More merging assistence. · 7b5575bf
      unknown authored
      Logging behavior changed in early 5.1.  (The filename was never right, but
      the "opt" file is unnecessary in 5.0 anyway.)
      
      
      mysql-test/t/mysql_client_test-master.opt:
        Logging behavior changed in early 5.1.
      7b5575bf
    • unknown's avatar
      WL#3201 post-review fixups · d89e5f5f
      unknown authored
      
      config/ac-macros/plugins.m4:
        WL#3201
          fixup dynamic-only plugin support.
      sql/log.cc:
        fixup static initializers
      d89e5f5f
    • 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
      Fix spelling in comments as requested by Osku · fa993423
      unknown authored
      This will make charset code easier to understand
      
      
      include/m_ctype.h:
        Fix spelling in comments
      mysql-test/t/cast.test:
        Fix spelling in comments
      mysql-test/t/query_cache.test:
        Fix spelling in comments
      sql/sql_string.cc:
        Fix spelling in comments
      strings/CHARSET_INFO.txt:
        Fix spelling in comments
      fa993423
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · e4aa059f
      unknown authored
      into  mysql.com:/home/dlenev/mysql-5.0-bg11081
      
      e4aa059f
    • unknown's avatar
      WL#2257 REFERENTIAL_CONSTRAINTS view · b8f321d6
      unknown authored
      added I_S.REFARENTIAL_CONSTRAINTS table
      
      
      mysql-test/r/information_schema.result:
        WL#2257 REFERENTIAL_CONSTRAINTS view
         result fix
      mysql-test/r/information_schema_db.result:
        WL#2257 REFERENTIAL_CONSTRAINTS view
         result fix
      mysql-test/r/information_schema_inno.result:
        WL#2257 REFERENTIAL_CONSTRAINTS view
         test case
      mysql-test/t/information_schema_inno.test:
        WL#2257 REFERENTIAL_CONSTRAINTS view
         test case
      sql/ha_innodb.cc:
        WL#2257 REFERENTIAL_CONSTRAINTS view
      b8f321d6
    • unknown's avatar
      WL#3201 additional post-review fixes · 3a62ffc8
      unknown authored
      
      config/ac-macros/plugins.m4:
        remove unneccessary `ifelse'
        add comment, add missing dnl
      configure.in:
        change description for heap engine
      include/mysql/plugin.h:
        change macro name
      sql/ha_berkeley.cc:
        store strings statically for use in handlerton and plugin structures
      sql/ha_federated.cc:
        store strings statically for use in handlerton and plugin structures
      sql/ha_heap.cc:
        store strings statically for use in handlerton and plugin structures
      sql/ha_innodb.cc:
        store strings statically for use in handlerton and plugin structures
      sql/ha_myisam.cc:
        store strings statically for use in handlerton and plugin structures
      sql/ha_myisammrg.cc:
        store strings statically for use in handlerton and plugin structures
      sql/ha_ndbcluster.cc:
        store strings statically for use in handlerton and plugin structures
      sql/ha_partition.cc:
        store strings statically for use in handlerton and plugin structures
      storage/archive/ha_archive.cc:
        store strings statically for use in handlerton and plugin structures
      storage/blackhole/ha_blackhole.cc:
        store strings statically for use in handlerton and plugin structures
      storage/csv/ha_tina.cc:
        store strings statically for use in handlerton and plugin structures
      storage/example/ha_example.cc:
        store strings statically for use in handlerton and plugin structures
      3a62ffc8
    • unknown's avatar
      Fix a bunch of non-Linux compile failures. · f3263ebf
      unknown authored
      
      VC++Files/mysql.sln:
        mysql_client_test depends on mysys.
      VC++Files/mysys/mysys.vcproj:
        Add new file missing in previous push.
      mysys/my_memmem.c:
        Fix illegal pointer arithmetics on void *.
      tests/Makefile.am:
        -L must go before -l
      tests/mysql_client_test.c:
        No declarations after statement in C code.
      f3263ebf
    • unknown's avatar
      Merge xiphis.org:/home/antony/work2/mysql-5.1 · 1ec3fbe0
      unknown authored
      into  xiphis.org:/home/antony/work2/wl3201-post-review.2
      
      
      BitKeeper/etc/ignore:
        auto-union
      configure.in:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      storage/archive/ha_archive.cc:
        Auto merged
      storage/archive/ha_archive.h:
        Auto merged
      1ec3fbe0
    • unknown's avatar
      WL#3201 post-review fixups · d5875704
      unknown authored
        end plugin/module naming schizophrenia
        fixup shell code and m4 macro comments
        cmakelists.txt included in EXTRA_DIST
      
      
      BUILD/SETUP.sh:
        change module -> plugin
      config/ac-macros/plugins.m4:
        change module -> plugin
        rename some macros
        fixup comments
        alter shell code to use similar 'test "X$var" = Xfoo"' which autoconf generates
      configure.in:
        change module -> plugin
        move plugin mandatory declarations near rest of plugin declaration
      storage/archive/Makefile.am:
        cmakelists.txt needed in EXTRA_DIST
      storage/blackhole/Makefile.am:
        cmakelists.txt needed in EXTRA_DIST
      storage/csv/Makefile.am:
        cmakelists.txt needed in EXTRA_DIST
      storage/example/Makefile.am:
        cmakelists.txt needed in EXTRA_DIST
      d5875704
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 32700147
      unknown authored
      into mysql.com:/home/hf/work/mysql-5.0.clean
      
      32700147
    • unknown's avatar
      Win build fix · e815532b
      unknown authored
      e815532b
    • 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