1. 28 Jun, 2005 4 commits
    • igor@rurik.mysql.com's avatar
      Merge rurik.mysql.com:/home/igor/mysql-5.0 · 89cabf04
      igor@rurik.mysql.com authored
      into rurik.mysql.com:/home/igor/dev/mysql-5.0-0
      89cabf04
    • konstantin@mysql.com's avatar
      A fix and a test case for Bug#10736 "mysql_stmt_attr_set · 8b0cee88
      konstantin@mysql.com authored
      CURSOR_TYPE_READ_ONLY select within select".
      The bug was caused by the reset of thd->mem_root to thd->main_mem_root in 
      Item_subselect::exec, which in turn triggered too early free_root() for
      data which was needed on subsequent fetches from a cursor.
      This reset also caused a memory leak in stored procedures, as 
      subsequent executions of instructions containing a subselect
      were allocating memory in thd->main_mem_root, which is not freed
      until the end of the entire SP, instead of the per-call mem_root,
      which is freed in the end of execution of the instruction.
      8b0cee88
    • igor@rurik.mysql.com's avatar
      range.result, range.test: · 451faae3
      igor@rurik.mysql.com authored
        Added a test case for bug #10031.
      opt_range.cc:
        Fixed bug #10031: range condition was not used with
        views. Range analyzer did not take into account that
        view columns were always referred through Item_ref.
      451faae3
    • marko@hundin.mysql.fi's avatar
      Merge hundin.mysql.fi:/home/marko/mysql-4.1 · d4901de8
      marko@hundin.mysql.fi authored
      into hundin.mysql.fi:/home/marko/mysql-5.0-current
      d4901de8
  2. 27 Jun, 2005 18 commits
  3. 25 Jun, 2005 1 commit
  4. 24 Jun, 2005 17 commits