1. 21 Apr, 2006 3 commits
  2. 20 Apr, 2006 1 commit
  3. 19 Apr, 2006 3 commits
  4. 18 Apr, 2006 5 commits
    • unknown's avatar
      Fixed BUG#18344: DROP DATABASE does not drop associated routines · 224034b6
      unknown authored
        We must use the db key length in sp_drop_db_routines (and not the
        number of characters), or long db names will be truncated in the key.
      
      
      mysql-test/r/sp.result:
        Updated results for new test case (BUG#18344)
      mysql-test/t/sp.test:
        Added new test case for BUG#18344.
      sql/sp.cc:
        In sp_drop_db_routines(), give the key field's ("db") key length
        instead of the number of characters to index_read(), or the key
        packing will truncate long db names.
      224034b6
    • unknown's avatar
      Merge mysql.com:/extern/mysql/bk/mysql-5.0-runtime · 08c0c334
      unknown authored
      into  mysql.com:/extern/mysql/5.0/bug18787/mysql-5.0-runtime
      
      
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      sql/item_func.cc:
        Auto merged
      08c0c334
    • unknown's avatar
      Post-review fix for BUG#18787. Renamed a local variable in · d59e7698
      unknown authored
      Item_func_sp::tmp_table_field() to something more descriptive.
      
      
      sql/item_func.cc:
        Renamed local variable 'res' to 'field' in Item_func_sp::tmp_table_field(),
        because it is.
      d59e7698
    • unknown's avatar
      Fixed BUG#18949: Test case sp-goto is disabled · a6ae67c4
      unknown authored
        Removed sp-goto.test, sp-goto.result and all (disabled) GOTO code.
        Also removed some related code that's not needed any more (no possible
        unresolved label references any more, so no need to check for them).
        NB: Keeping the ER_SP_GOTO_IN_HNDLR in errmsg.txt; it might become useful
            in the future, and removing it (and thus re-enumerating error codes)
            might upset things. (Anything referring to explicit error codes.)
      
      
      BitKeeper/deleted/.del-sp-goto.result~f343103c63f64b7a:
        Delete: mysql-test/r/sp-goto.result
      BitKeeper/deleted/.del-sp-goto.test~5054d3f729692d3d:
        Delete: mysql-test/t/sp-goto.test
      mysql-test/t/disabled.def:
        sp-goto.test no longer exists.
      sql/lex.h:
        Removed (disabled) GOTO definitions.
      sql/sp_head.cc:
        Removed sp_head::check_backpatch() and simplified sp_head::backpatch().
        Without GOTO, unresolved label references are not possible, so no need
        to check for them.
      sql/sp_head.h:
        Removed sp_head::check_backpatch(). (Not needed with no GOTO)
      sql/sp_pcontext.cc:
        SP_LAB_GOTO was renamed to SP_LAB_IMPL
      sql/sp_pcontext.h:
        Removed SP_LAB_REF (no longer needed) and renamed SP_LAB_GOTO
        to SP_LAB_IMPL, since it's only used for implicit labels now.
      sql/sql_yacc.yy:
        Removed GOTO symbols and (disabled) code, and the no longer needed
        sp_head::check_backpatch() calls.
      a6ae67c4
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/4.1/bug18881 · 913fef81
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/5.0/merge
      
      
      ndb/src/kernel/vm/Emulator.cpp:
        Auto merged
      913fef81
  5. 17 Apr, 2006 5 commits
  6. 16 Apr, 2006 1 commit
    • unknown's avatar
      Only expand the empty string to the letters "NULL" if the column · 327822a4
      unknown authored
      does not have "NOT NULL" attribute set.  Also, calculate the padding
      characters more safely, so that a negative number doesn't cause it to 
      print MAXINT-n spaces.
      
      
      mysql-test/r/mysql.result:
        Add test result.
      mysql-test/t/mysql.test:
        Add test.
      327822a4
  7. 15 Apr, 2006 1 commit
  8. 14 Apr, 2006 2 commits
  9. 13 Apr, 2006 19 commits
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · 96af0719
      unknown authored
      into  sanja.is.com.ua:/home/bell/mysql/bk/work-5.0
      
      
      sql/item_func.cc:
        Auto merged
      96af0719
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 33515e6e
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-runtime-merge
      
      
      sql/sql_yacc.yy:
        Auto merged
      33515e6e
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · 79e25ecd
      unknown authored
      into  sanja.is.com.ua:/home/bell/mysql/bk/work-5.0
      
      79e25ecd
    • unknown's avatar
      The check for recursive view definitions added. (BUG#14308) · 87cde66b
      unknown authored
      
      mysql-test/r/view.result:
        BUG#14308 test suite.
      mysql-test/t/view.test:
        BUG#14308 test suite.
      sql/share/errmsg.txt:
        New error message about a recursive view.
      sql/sql_view.cc:
        The check of view recursion.
      87cde66b
    • unknown's avatar
      Merge mysql.com:/opt/local/work/mysql-5.0-root · 9833ff69
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-runtime-merge
      
      
      sql/item.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/mysqld.cc:
        SCCS merged
      9833ff69
    • unknown's avatar
      Merge aelkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 6a614a23
      unknown authored
      into  dl145j.mysql.com:/tmp/andrei/5.0-bug18715_drop_view_slave
      
      6a614a23
    • unknown's avatar
      postmerge fix: added tinfo support. · ead8be01
      unknown authored
      ead8be01
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · ca5e8aa8
      unknown authored
      into  sanja.is.com.ua:/home/bell/mysql/bk/work-5.0
      
      ca5e8aa8
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · ff486287
      unknown authored
      into  sanja.is.com.ua:/home/bell/mysql/bk/work-5.0
      
      
      BitKeeper/deleted/.del-acinclude.m4~f4ab416bac5003:
        Auto merged
      configure.in:
        Auto merged
      mysql-test/r/func_op.result:
        Auto merged
      sql/item_func.cc:
        Auto merged
      ff486287
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 14e143e3
      unknown authored
      into  mysql.com:/home/MySQL/5.0-Bug-17248a
      
      14e143e3
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0 · 9d18d549
      unknown authored
      into  mysql.com:/home/psergey/mysql-5.0-csc9139
      
      9d18d549
    • unknown's avatar
      BUG#19021, Crash in ROR-index_merge optimizer: · 44ed1179
      unknown authored
      get_best_covering_ror_intersect() was copying ror_scans starting from the 
      end of the array and not from its beginning.
      
      
      mysql-test/r/index_merge_innodb.result:
        Testcase for BUG#19021
      mysql-test/t/index_merge_innodb.test:
        Testcase for BUG#19021
      sql/opt_range.cc:
        BUG#19021: In get_best_covering_ror_intersect(), the array of pointers to
        scans to be used is [tree->ror_scans, ror_scan_mark), and not
        [ror_scan_mark, ...)
      44ed1179
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-4.1 · f9cb6fbb
      unknown authored
      into  april.(none):/home/svoj/devel/mysql/BUG17917/mysql-4.1
      
      f9cb6fbb
    • unknown's avatar
      Fix a typo in the help message. · ba6a0575
      unknown authored
      
      sql/mysqld.cc:
        Fix a typo.
      ba6a0575
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-4.1 · f8611293
      unknown authored
      into  april.(none):/home/svoj/devel/mysql/BUG17917/mysql-4.1
      
      f8611293
    • unknown's avatar
      BUG#17917 - SELECT from compressed MyISAM table crashes MySQL server · a118b6c6
      unknown authored
      Retrieving data from compressed MyISAM table which is bigger than 4G on 32-bit box
      with mmap() support results in server crash.
      
      mmap() accepts length of bytes to be mapped in second param, which is 32-bit
      size_t. But we pass data_file_length, which is 64-bit my_off_t. As a result only
      first data_file_length % 4G were mapped.
      
      This fix adds additional condition for mmap() usage, that is use mmap() for
      compressed table which size is no more than 4G on 32-bit platform.
      
      
      myisam/mi_packrec.c:
        Use mmap() for compressed table which size is no more than 4G on 32-bit platform.
      a118b6c6
    • unknown's avatar
      foo2 · 7c3056fc
      unknown authored
      
      sql/ha_innodb.cc:
        Import patch foo2
      sql/ha_innodb.h:
        Import patch foo2
      sql/handler.cc:
        Import patch foo2
      sql/handler.h:
        Import patch foo2
      sql/mysqld.cc:
        Import patch foo2
      sql/set_var.cc:
        Import patch foo2
      sql/sql_class.h:
        Import patch foo2
      sql/sql_repl.cc:
        Import patch foo2
      7c3056fc
    • unknown's avatar
      foo1 · 0d58b499
      unknown authored
      
      sql/ha_innodb.cc:
        Import patch foo1
      sql/ha_innodb.h:
        Import patch foo1
      sql/handler.cc:
        Import patch foo1
      sql/handler.h:
        Import patch foo1
      sql/mysqld.cc:
        Import patch foo1
      sql/set_var.cc:
        Import patch foo1
      sql/sql_class.h:
        Import patch foo1
      sql/sql_repl.cc:
        Import patch foo1
      0d58b499
    • unknown's avatar
      Bug#18691: Converting number to UNICODE string returns invalid result. · 64793f3f
      unknown authored
      Conversion from int and real numbers to UCS2 didn't work fine: 
      CONVERT(100, CHAR(50) UNICODE)
      CONVERT(103.9, CHAR(50) UNICODE)
      
      The problem appeared because numbers have binary charset, so,
      simple charset recast binary->ucs2 was performed
      instead of real conversion.
      
      Fixed to make numbers pretend to be non-binary.
      
      
      mysql-test/r/ctype_ucs.result:
        Adding test case
      mysql-test/t/ctype_ucs.test:
        Adding test case
      sql/item_timefunc.cc:
        Adding new member from_cs, to replace my_charset_bin
        to a non-binary charset when converting from numbers to UCS2
      sql/item_timefunc.h:
        Adding new member from_cs, to replace my_charset_bin
        to a non-binary charset when converting from numbers to UCS2
      64793f3f