1. 19 Jul, 2007 1 commit
  2. 18 Jul, 2007 1 commit
    • unknown's avatar
      Bug#26909: Specified key was too long; max key length is 255 bytes \ · 8b8b430b
      unknown authored
      	when creating table
      
      Federated tables had an artificially low maximum of key length, 
      because the handler failed to implement a method to return it and 
      the default value is taked from the prototype handler.
      
      Now, implement that method and return the maximum possible key
      length, which is that of InnoDB.
      
      
      mysql-test/r/federated.result:
        Verify that unique keys may be longer than 255 characters.
      mysql-test/t/federated.test:
        Verify that unique keys may be longer than 255 characters.
      sql/ha_federated.h:
        Implement the virtual method that tells the max size of parts to 
        make a key.
        
        Backport the length defined in 5.1.
      8b8b430b
  3. 22 Jun, 2007 4 commits
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · dc0ba2ef
      unknown authored
      into  maint1.mysql.com:/data/localhome/tsmith/bk/maint/51
      
      
      dc0ba2ef
    • unknown's avatar
      binlog_innodb.result: · c161045d
      unknown authored
        post-merge fix
      
      
      mysql-test/r/binlog_innodb.result:
        post-merge fix
      c161045d
    • unknown's avatar
      Merge damien-katzs-computer.local:/Users/dkatz/50_kill · 58b065ee
      unknown authored
      into  damien-katzs-computer.local:/Users/dkatz/mysql51
      
      
      mysql-test/r/kill.result:
        Auto merged
      mysql-test/t/kill.test:
        Auto merged
      storage/myisam/sort.c:
        Auto merged
      58b065ee
    • unknown's avatar
      Bug #29138 'kill' fails in pushbuild · 37344c68
      unknown authored
      The reason the "reap;" succeeds unexpectedly is because the query was completing(almost always) and the network buffer was big enough to store the query result (sometimes) on Windows, meaning the response was completely sent before the server thread could be killed.
      
      Therefore we use a much longer running query that doesn't have a chance to fully complete before the reap happens, testing the kill properly.
      
      
      mysql-test/r/kill.result:
        We use a much longer running query that doesn't have a chance to fully complete before the reap happens.
      mysql-test/t/kill.test:
        We use a much longer running query that doesn't have a chance to fully complete before the reap happens.
      37344c68
  4. 21 Jun, 2007 30 commits
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1 · 561d030e
      unknown authored
      into  maint1.mysql.com:/data/localhome/tsmith/bk/maint/51
      
      
      561d030e
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1-rpl · fc4ae9bc
      unknown authored
      into  maint1.mysql.com:/data/localhome/tsmith/bk/maint/51
      
      
      include/m_ctype.h:
        Auto merged
      mysql-test/Makefile.am:
        Auto merged
      mysql-test/lib/mtr_report.pl:
        Auto merged
      mysql-test/r/rpl_ssl.result:
        Auto merged
      mysql-test/t/innodb.test:
        Auto merged
      mysql-test/t/multi_update.test:
        Auto merged
      mysql-test/t/rpl_row_until.test:
        Auto merged
      mysql-test/t/rpl_ssl.test:
        Auto merged
      mysql-test/t/rpl_stm_until.test:
        Auto merged
      mysys/charset-def.c:
        Auto merged
      mysys/charset.c:
        Auto merged
      sql/item_create.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      strings/ctype-big5.c:
        Auto merged
      strings/ctype-gbk.c:
        Auto merged
      strings/ctype-sjis.c:
        Auto merged
      strings/ctype-uca.c:
        Auto merged
      strings/ctype.c:
        Auto merged
      BitKeeper/deleted/.del-binlog_innodb.result:
        Delete: mysql-test/r/binlog_innodb.result
      BitKeeper/deleted/.del-binlog_innodb.test:
        Delete: mysql-test/t/binlog_innodb.test
      mysql-test/r/binlog_innodb.result:
        Fix merge of two independent binlog_innodb tests (from -rpl and -maint)
      mysql-test/t/binlog_innodb.test:
        Fix merge of two independent binlog_innodb tests (from -rpl and -maint)
      mysql-test/r/innodb.result:
        Use local (manual merge)
      mysql-test/r/multi_update.result:
        Use remote (manual merge)
      mysql-test/t/rpl_log_pos.test:
        Manual merge
      mysql-test/r/rpl_log_pos.result:
        Manual merge, part 2
      fc4ae9bc
    • unknown's avatar
      65fb1449
    • unknown's avatar
      Merge maint1.mysql.com:/data/localhome/tsmith/bk/maint/50 · 2da92ead
      unknown authored
      into  maint1.mysql.com:/data/localhome/tsmith/bk/maint/51
      
      
      configure.in:
        Auto merged
      include/m_ctype.h:
        Auto merged
      mysql-test/Makefile.am:
        Auto merged
      mysql-test/t/innodb.test:
        Auto merged
      mysys/charset-def.c:
        Auto merged
      mysys/charset.c:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      strings/ctype-big5.c:
        Auto merged
      strings/ctype-gbk.c:
        Auto merged
      strings/ctype-sjis.c:
        Auto merged
      strings/ctype-uca.c:
        Auto merged
      strings/ctype.c:
        Auto merged
      mysql-test/r/innodb.result:
        Manual merge
      mysql-test/r/multi_update.result:
        Manual merge
      mysql-test/t/multi_update.test:
        Manual merge
      sql/sql_update.cc:
        SCCS merged
      2da92ead
    • unknown's avatar
      Merge maint1.mysql.com:/data/localhome/tsmith/bk/maint/41 · 8ddf61d3
      unknown authored
      into  maint1.mysql.com:/data/localhome/tsmith/bk/maint/50
      
      
      8ddf61d3
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0-rpl · fc7f407a
      unknown authored
      into  maint1.mysql.com:/data/localhome/tsmith/bk/maint/50
      
      
      mysql-test/t/innodb.test:
        Auto merged
      mysql-test/r/innodb.result:
        Manual merge
      fc7f407a
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1-rpl · 6ac33675
      unknown authored
      into  maint1.mysql.com:/data/localhome/tsmith/bk/maint/41
      
      
      6ac33675
    • unknown's avatar
      Merge maint1.mysql.com:/data/localhome/tsmith/bk/51 · a1c0a4b4
      unknown authored
      into  maint1.mysql.com:/data/localhome/tsmith/bk/maint/51
      
      
      configure.in:
        Auto merged
      mysql-test/t/query_cache.test:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      mysql-test/r/query_cache.result:
        SCCS merged
      a1c0a4b4
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-maint · 772d158e
      unknown authored
      into  amd64.(none):/src/bug27029/my51-bug27029
      
      
      storage/myisam/sort.c:
        Auto merged
      772d158e
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 2e8357b4
      unknown authored
      into  amd64.(none):/src/bug27029/my50-bug27029
      
      
      myisam/sort.c:
        Auto merged
      2e8357b4
    • unknown's avatar
      Merge amd64.(none):/src/bug27029/my50-bug27029 · c5559f08
      unknown authored
      into  amd64.(none):/src/bug27029/my51-bug27029
      
      
      storage/myisam/sort.c:
        Auto merged
      c5559f08
    • unknown's avatar
      Bug#27029 alter table ... enable keys crashes mysqld on large table · c3e4b61c
      unknown authored
      - When creating an index for the sort, the number of rows plus 1 is used 
      to allocate a buffer.  In this test case, the number of rows 4294967295 
      is the max value of an unsigned integer, so when 1 was added to it, a 
      buffer of size 0 was allocated causing the crash.
      - Create new test suite for this bug's test suite as per QA.
      
      
      myisam/sort.c:
        Bug#27029 alter table ... enable keys crashes mysqld on large table
        - Check to make sure the value of records is < UINT_MAX32 to avoid a 
        false positive on the remaining condition.
      mysql-test/suite/large_tests/README.TXT:
        Bug#27029 alter table ... enable keys crashes mysqld on large table
        - New testsuite for large tests.
        - Added mtr hint for potential testers.
      mysql-test/suite/large_tests/r/alter_table.result:
        Bug#27029 alter table ... enable keys crashes mysqld on large table
        - New testsuite for large tests.
        - Added results for bug.
      mysql-test/suite/large_tests/t/alter_table.test:
        Bug#27029 alter table ... enable keys crashes mysqld on large table
        - New testsuite for large tests.
        - Added test for bug.
      c3e4b61c
    • unknown's avatar
      Merge maint1.mysql.com:/data/localhome/tsmith/bk/50 · 0e99d690
      unknown authored
      into  maint1.mysql.com:/data/localhome/tsmith/bk/maint/50
      
      
      configure.in:
        Auto merged
      0e99d690
    • unknown's avatar
      Merge mysql.com:/nfsdisk1/lars/bk/mysql-5.0-rpl · 274829b4
      unknown authored
      into  mysql.com:/nfsdisk1/lars/bk/mysql-5.1-new-rpl
      
      
      274829b4
    • unknown's avatar
      Merge mysql.com:/nfsdisk1/lars/bk/mysql-5.1 · 63d7c4a8
      unknown authored
      into  mysql.com:/nfsdisk1/lars/bk/mysql-5.1-new-rpl
      
      
      mysql-test/t/disabled.def:
        Auto merged
      mysql-test/t/ndb_index_ordered.test:
        Auto merged
      mysys/charset.c:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sp_head.h:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      63d7c4a8
    • unknown's avatar
      Merge mysql.com:/nfsdisk1/lars/bk/mysql-5.0 · 12e1a9df
      unknown authored
      into  mysql.com:/nfsdisk1/lars/bk/mysql-5.0-rpl
      
      
      12e1a9df
    • unknown's avatar
      merge rpl 5.0->5.1 · 3e878bed
      unknown authored
      3e878bed
    • unknown's avatar
      Merge mysql.com:/nfsdisk1/lars/bk/mysql-5.0-rpl · 09c92d0d
      unknown authored
      into  mysql.com:/nfsdisk1/lars/bk/mysql-5.1-new-rpl
      
      
      sql/sql_acl.cc:
        Auto merged
      09c92d0d
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/mysql-5.0-maint · 02faba53
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
      
      
      mysql-test/lib/mtr_report.pl:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      sql-common/client.c:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      02faba53
    • unknown's avatar
      Test fix · 8b3c5753
      unknown authored
      8b3c5753
    • unknown's avatar
      e0e739b6
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/bug28769/my50-bug28769 · 73cf7a6c
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
      
      
      mysql-test/r/innodb.result:
        Manual merge
      mysql-test/t/innodb.test:
        Manual merge
      73cf7a6c
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/bug28769/my50-bug28769 · 022ee2b0
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.0-maint
      
      
      022ee2b0
    • unknown's avatar
      Test case fix to replication team tree. · e631cb06
      unknown authored
      
      mysql-test/extra/rpl_tests/rpl_deadlock.test:
        Restoring old test code, but masking out offending columns
      mysql-test/r/rpl_deadlock_innodb.result:
        Result change
      e631cb06
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/bug28742/my50-bug28742 · 7b768f97
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
      
      
      mysql-test/lib/mtr_process.pl:
        Auto merged
      mysql-test/lib/mtr_report.pl:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Merge 5.0->5.1
      7b768f97
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/bug28742/my50-bug28742 · f3954ba1
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.0-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      f3954ba1
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · 5c21be54
      unknown authored
      into  mysql.com:/home/ram/work/b28772/b28772.5.1
      
      
      5c21be54
    • unknown's avatar
      Merge kindahl-laptop.dnsalias.net:/home/bkroot/mysql-5.1-rpl · c2112f5f
      unknown authored
      into  kindahl-laptop.dnsalias.net:/home/bk/fix-mysql-5.1-rpl
      
      
      c2112f5f
    • unknown's avatar
      Fixing result mismatch in rpl_deadlock_innodb result file. · b358c3bd
      unknown authored
      
      mysql-test/extra/rpl_tests/rpl_deadlock.test:
        Using include/show_slave_status.inc to get correct masking of columns.
      mysql-test/r/rpl_deadlock_innodb.result:
        result change
      b358c3bd
    • unknown's avatar
      Bug#24924: shared-memory-base-name that is too long causes buffer overflow · 4d9cc3db
      unknown authored
      long shared-memory-base-names could overflow a static internal buffer
      and thus crash mysqld and various clients.  change both to dynamic
      buffers, show everything but overflowing those buffers still works.
      
      The test case for this would pretty much amount to
      mysqld --shared-memory-base-name=HeyMrBaseNameXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --shared-memory=1 &
      mysqladmin --no-defaults --shared-memory-base-name=HeyMrBaseNameXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX shutdown
      
      Unfortunately, we can't just use an .opt file for the
      server. The .opt file is used at start-up, before any
      include in the actual test can tell mysqltest to skip
      this one on non-Windows. As a result, such a test would
      break on unices.
      
      Fixing mysql-test-run.pl to export full path for master
      and slave would enable us to start a server from within
      the test which is ugly and, what's more, doesn't work as
      the server blocks (mysqltest offers no fire-and-forget
      fork-and-exec), and mysqladmin never gets run.
      
      Making the test rpl_windows_shm or some such so we can
      is beyond ugly. As is introducing another file-name based
      special case (run "win*.test" only when on Windows). As is
      (yuck) coding half the test into mtr (as in, having it
      hand out a customized environment conductive to the shm-
      thing on Win only).
      
      Situation is exacerbated by the fact that .sh is not
      necessary run as expected on Win.
      
      In short, it's just not worth it. No test-case until we
      have a new-and-improved test framework.
      
      
      sql-common/client.c:
        Bug#24924: shared-memory-base-name that is too long causes buffer overflow
        
        compose shared memory name in dynamic rather than static buffer to prevent
        overflows (clients)
      sql/mysqld.cc:
        Bug#24924: shared-memory-base-name that is too long causes buffer overflow
        
        compose shared memory name in dynamic rather than static buffer to prevent
        overflows (server)
      4d9cc3db
  5. 20 Jun, 2007 4 commits