1. 06 Sep, 2005 5 commits
  2. 05 Sep, 2005 14 commits
  3. 04 Sep, 2005 4 commits
  4. 03 Sep, 2005 7 commits
  5. 02 Sep, 2005 10 commits
    • konstantin@mysql.com's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · aac74557
      konstantin@mysql.com authored
      into  mysql.com:/home/kostja/mysql/mysql-5.0-dsql3
      aac74557
    • konstantin@mysql.com's avatar
      Implement WL#2661 "Prepared Statements: Dynamic SQL in Stored Procedures". · 38486e83
      konstantin@mysql.com authored
      The idea of the patch is to separate statement processing logic,
      such as parsing, validation of the parsed tree, execution and cleanup, 
      from global query processing logic, such as logging, resetting
      priorities of a thread, resetting stored procedure cache, resetting
      thread count of errors and warnings.
      This makes PREPARE and EXECUTE behave similarly to the rest of SQL
      statements and allows their use in stored procedures.
      This patch contains a change in behaviour:
      until recently for each SQL prepared statement command, 2 queries
      were written to the general log, e.g.
      [Query]   prepare stmt from @stmt_text;
      [Prepare] select * from t1 <-- contents of @stmt_text
      The chagne was necessary to prevent [Prepare] commands from being written
      to the general log when executing a stored procedure with Dynamic SQL.
      We should consider whether the old behavior is preferrable and probably
      restore it.
      This patch refixes Bug#7115, Bug#10975 (partially), Bug#10605 (various bugs
      in Dynamic SQL reported before it was disabled).
      38486e83
    • heikki@hundin.mysql.fi's avatar
      row0sel.c: · a963f597
      heikki@hundin.mysql.fi authored
        Fix bug #12947 : a consistent read could return inconsistent results; this bug was introduced in 5.0.5
      a963f597
    • jimw@mysql.com's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-clean · 0e323e56
      jimw@mysql.com authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      0e323e56
    • jimw@mysql.com's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-11280 · 9dc0da7c
      jimw@mysql.com authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      9dc0da7c
    • joerg@mysql.com's avatar
      Compile error fix. · ed093d58
      joerg@mysql.com authored
      ed093d58
    • bell@sanja.is.com.ua's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · 85533496
      bell@sanja.is.com.ua authored
      into  sanja.is.com.ua:/home/bell/mysql/bk/work-bug3-5.0
      85533496
    • konstantin@mysql.com's avatar
      Rename: · a3ddcdf8
      konstantin@mysql.com authored
      - current_arena to stmt_arena: the thread may have more than one
      'current' arenas: one for runtime data, and one for the parsed 
      tree of a statement. Only one of them is active at any moment.
      - set_item_arena -> set_query_arena, because Item_arena was renamed to 
      Query_arena a while ago
      - set_n_backup_item_arena -> set_n_backup_active_arena;
      the active arena is the arena thd->mem_root and thd->free_list
      are currently pointing at.
      - restore_backup_item_arena -> restore_active_arena (with the same
      rationale)
      - change_arena_if_needed -> activate_stmt_arena_if_needed; this
      method sets thd->stmt_arena active if it's not done yet.
      a3ddcdf8
    • bell@sanja.is.com.ua's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · d67c6834
      bell@sanja.is.com.ua authored
      into  sanja.is.com.ua:/home/bell/mysql/bk/work-bug3-5.0
      d67c6834
    • jonas@eel.(none)'s avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · b44b36bd
      jonas@eel.(none) authored
      into  eel.(none):/home/jonas/src/mysql-5.0-push
      b44b36bd