1. 13 Jul, 2005 1 commit
    • unknown's avatar
      - a fix for Bug#11458 "Prepared statement with subselects return random · ece17ba3
      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)
      ece17ba3
  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). · 86f46a34
      unknown authored
      
      include/my_global.h:
        Fix for gcc 4.0 (they removed min/max)
      86f46a34
    • unknown's avatar
      field_conv.cc: · b18b97aa
      unknown authored
        Identation fix
      
      
      sql/field_conv.cc:
        Identation fix
      b18b97aa
    • unknown's avatar
      field_conv.cc: · dce0304a
      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
      dce0304a
  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 · 7dbf0235
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-distcheck
      
      
      7dbf0235
    • unknown's avatar
      Fix test cases · 8218398c
      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
      8218398c
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · 97b4cf0e
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-distcheck
      
      
      97b4cf0e
    • unknown's avatar
      Makefile.am: · b0a6a8e1
      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
      b0a6a8e1