1. 11 May, 2007 2 commits
    • unknown's avatar
      Merge vajra.(none):/opt/local/work/mysql-5.0-runtime · eb18176f
      unknown authored
      into  vajra.(none):/opt/local/work/mysql-5.1-runtime
      
      
      mysql-test/r/ps.result:
        Auto merged
      mysql-test/r/ps_1general.result:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      mysql-test/t/ps_1general.test:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/sql_prepare.cc:
        Manual merge.
      eb18176f
    • unknown's avatar
      Cleanup: now that we have Lex_input_stream, finish the transition · d51b898b
      unknown authored
      by moving yet another relevant flag to it from struct LEX.
      
      
      mysql-test/r/ps.result:
        Update result.
      mysql-test/r/ps_1general.result:
        Update result.
      mysql-test/t/ps.test:
        New error code.
      mysql-test/t/ps_1general.test:
        New error code.
      sql/sql_lex.cc:
        Move stmt_prepare_mode to Lex_input_stream.
      sql/sql_lex.h:
        Move stmt_prepare_mode to class Lex_input_stream
      sql/sql_prepare.cc:
        Move stmt_prepare_mode to Lex_input_stream
      sql/sql_yacc.yy:
        Remove dead code.
      d51b898b
  2. 10 May, 2007 8 commits
  3. 08 May, 2007 7 commits
    • unknown's avatar
      Merge adventure.(none):/home/thek/Development/cpp/bug27792/my50-bug27792 · cec87043
      unknown authored
      into  adventure.(none):/home/thek/Development/cpp/mysql-5.0-runtime
      
      
      mysql-test/r/query_cache.result:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      cec87043
    • unknown's avatar
      Merge adventure.(none):/home/thek/Development/cpp/bug27792/my51-bug27792 · a1e53c8b
      unknown authored
      into  adventure.(none):/home/thek/Development/cpp/mysql-5.1-runtime
      
      
      mysql-test/r/query_cache.result:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      a1e53c8b
    • unknown's avatar
      Corrected test case for 5.1 requirements · 6d8164a8
      unknown authored
      6d8164a8
    • unknown's avatar
      Merge adventure.(none):/home/thek/Development/cpp/bug27792/my50-bug27792 · 95e09a0f
      unknown authored
      into  adventure.(none):/home/thek/Development/cpp/bug27792/my51-bug27792
      
      
      mysql-test/r/query_cache.result:
        Auto merged
      mysql-test/t/query_cache.test:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_cache.cc:
        SCCS merged
      95e09a0f
    • unknown's avatar
      4.1 -> 5.0 Manual merge for Bug #27792 · e1b36af1
      unknown authored
      
      mysql-test/r/query_cache.result:
        Added 5.0 testcase
      mysql-test/t/query_cache.test:
        Added 5.0 test case
      sql/mysql_priv.h:
        Added support for div_precision_increment
      sql/set_var.cc:
        - Added query cache flush when system variable ft_boolean_syntax is
          updated since this also invalidates all cached result sets using this
          variable.
      sql/sql_cache.cc:
        - Added the local system variable div_precision_increment as an identification flag
          for cached queries.
      e1b36af1
    • unknown's avatar
      Merge adventure.(none):/home/thek/Development/cpp/bug27792/my41-bug27792 · 50a54985
      unknown authored
      into  adventure.(none):/home/thek/Development/cpp/bug27792/my50-bug27792
      
      
      sql/mysql_priv.h:
        Auto merged
      mysql-test/r/query_cache.result:
        Null merge
      mysql-test/t/query_cache.test:
        Null merge
      sql/set_var.cc:
        Null merge
      sql/sql_cache.cc:
        Null merge
      50a54985
    • unknown's avatar
      Bug #27792 query cache returns wrong result, with certain system variables · 1a05e393
      unknown authored
       - Queries in the query cache are identified by the individual 
         characters in the query statement, the current database and 
         the current environment expressed as a set of system variable
         flags.
       - Since the set of environment flags didn't properly describe the
         current environment unexpected results were returned from the 
         query cache.
       - Query cache is now cleared when the variable ft_boolean_syntax is 
         updated.
       - An identification flag for the variable default_week_format is 
         added to the query cache record.
       
      Thanks to Martin Friebe who has supplied significant parts of this patch.
      
      
      mysql-test/r/query_cache.result:
        Added test case
      mysql-test/t/query_cache.test:
        Added test case
      sql/mysql_priv.h:
        - Added missing flags to reflect the significant local environment
          settings of the cached query.
      sql/set_var.cc:
        - Added query cache flush when system variable ft_boolean_syntax is
          updated since this also invalidates all cached result sets using this
          variable.
      sql/sql_cache.cc:
        - Added another local system variable as an identification flag
          for cached queries.
      1a05e393
  4. 07 May, 2007 4 commits
    • unknown's avatar
      Merge adventure.(none):/home/thek/Development/cpp/bug26977/my50-bug26977 · 4a5d108c
      unknown authored
      into  adventure.(none):/home/thek/Development/cpp/mysql-5.0-runtime
      
      4a5d108c
    • unknown's avatar
      Merge adventure.(none):/home/thek/Development/cpp/bug26977/my51-bug26977 · 2a425760
      unknown authored
      into  adventure.(none):/home/thek/Development/cpp/mysql-5.1-runtime
      
      2a425760
    • unknown's avatar
      Merge adventure.(none):/home/thek/Development/cpp/bug26977/my50-bug26977 · 75ff7756
      unknown authored
      into  adventure.(none):/home/thek/Development/cpp/bug26977/my51-bug26977
      
      
      mysql-test/r/sp-code.result:
        Auto merged
      mysql-test/t/sp-code.test:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sp_head.h:
        Auto merged
      75ff7756
    • unknown's avatar
      Bug#26977 exception handlers never hreturn · c0107688
      unknown authored
        - In some cases, flow control optimization implemented in sp::optimize
          removes hreturn instructions, causing SQL exception handlers to:
            * never return
            * execute wrong logic
        - This patch overrides default short cut optimization on hreturn instructions
          to avoid this problem.
      
      
      mysql-test/r/sp-code.result:
        Added test case
      mysql-test/t/sp-code.test:
        Added test case
      sql/sp_head.cc:
        Override opt_mark to get correct execution paths without jump short cut 
        optimization.
      sql/sp_head.h:
        Added override sp_instr_hreturn::opt_shortcut_jump so that jump short cuts aren't
        performed on hreturn instructions operating on handlers which are set to CONTINUE
        after interruption.
      c0107688
  5. 02 May, 2007 9 commits
  6. 01 May, 2007 10 commits