1. 13 Jul, 2005 1 commit
    • unknown's avatar
      - a fix for Bug#11458 "Prepared statement with subselects return random · 27303b09
      unknown authored
      data": remove the fix for another bug (8807) that
      added OUTER_REF_TABLE_BIT to all subqueries that used a placeholder
      to prevent their evaluation at prepare. As this bit hanged in 
      Item_subselect::used_tables_cache for ever, a constant subquery with
      a placeholder was never evaluated as such, which caused wrong 
      choice of the execution plan for the statement.
      - to fix Bug#8807 backport a better fix from 5.0
      - post-review fixes.
      
      
      mysql-test/r/ps.result:
        Bug#11458: test results fixed
      mysql-test/t/ps.test:
        - add a test case for Bug#11458 "Prepared statement with subselects return 
        random data"
      sql/item.cc:
        - remove unnecessary Item_param::fix_fields
        - fix Item_param::set_null to set item_type accordingly (safety:
          Item_param should behave like a basic constant).
      sql/item.h:
        Remove Item_param::fix_fields
      sql/item_subselect.h:
        Remove no more existing friend.
      sql/mysql_priv.h:
        Add UNCACHEABLE_PREPARE to mark all subqueries as uncacheable if
        in statement prepare (backport from 5.0).
      sql/sql_lex.h:
        Comment fixed.
      sql/sql_parse.cc:
        If in statement prepare, mark all subqueries as uncacheable (backport
        from 5.0)
      sql/sql_prepare.cc:
        Switch off the uncacheable flag from all subqueries after statement
        prepare is done (backport from 5.0)
      27303b09
  2. 12 Jul, 2005 4 commits
  3. 11 Jul, 2005 3 commits
    • unknown's avatar
      Fix for gcc 4.0 (they have removed min/max operators). · f7ddb9c6
      unknown authored
      
      include/my_global.h:
        Fix for gcc 4.0 (they removed min/max)
      f7ddb9c6
    • unknown's avatar
      field_conv.cc: · 61024c42
      unknown authored
        Identation fix
      
      
      sql/field_conv.cc:
        Identation fix
      61024c42
    • unknown's avatar
      field_conv.cc: · 74e463e6
      unknown authored
        Bug#11591
        CHAR column with utf8 does not work properly
        (more chars than expected)
        do_cut_string didn't call well_formed_length,
        and copied all data, which was wrong in the
        case of multibyte character set.
      ctype_utf8.result, ctype_utf8.test:
        adding test case
      
      
      sql/field_conv.cc:
        Bug#11591
        CHAR column with utf8 does not work properly
        (more chars than expected)
        do_cut_string didn't call well_formed_length,
        and copied all data, which was wrong in the
        case of multibyte character set.
      mysql-test/t/ctype_utf8.test:
        adding test case
      mysql-test/r/ctype_utf8.result:
        adding test caser
      74e463e6
  4. 08 Jul, 2005 6 commits
  5. 07 Jul, 2005 4 commits
  6. 06 Jul, 2005 18 commits
  7. 05 Jul, 2005 4 commits
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · 644d1dbe
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-distcheck
      
      644d1dbe
    • unknown's avatar
      Fix test cases · e04a61fd
      unknown authored
      
      mysql-test/r/query_cache.result:
        Remove stray empty line
      mysql-test/r/grant.result:
        Update results
      mysql-test/t/grant.test:
        Fix test case to
      e04a61fd
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · 993d0ae2
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-distcheck
      
      993d0ae2
    • unknown's avatar
      Makefile.am: · fc8f1426
      unknown authored
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      
      
      client/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      cmd-line-utils/libedit/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      dbug/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      extra/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      heap/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      isam/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      libmysql/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      libmysql_r/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      libmysqld/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      libmysqld/examples/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      merge/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      myisam/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      myisammrg/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      mysql-test/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      mysys/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      netware/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      regex/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      sql/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      strings/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      tests/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      vio/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      tools/Makefile.am:
        Added -I$(top_builddir)/include for searching
        generated header files, when builddir != srcdir
      fc8f1426