1. 20 Feb, 2008 2 commits
    • davi@endora.local's avatar
      Merge mysql.com:/Users/davi/mysql/bugs/34587-5.1 · 529ed223
      davi@endora.local authored
      into  mysql.com:/Users/davi/mysql/mysql-5.1-runtime
      529ed223
    • davi@mysql.com/endora.local's avatar
      Bug#34587 Creating a view inside a stored procedure leads to a server crash · b9c6b9ec
      davi@mysql.com/endora.local authored
      The problem is that when a stored procedure is being parsed for
      the first execution, the body is copied to a temporary buffer
      which is disregarded sometime after the statement is parsed.
      And during this parsing phase, the rule for CREATE VIEW was
      holding a reference to the string being parsed for use during
      the execution of the CREATE VIEW statement, leading to invalid
      memory access later.
      
      The solution is to allocate and copy the SELECT of a CREATE
      VIEW statement using the thread memory root, which is set to
      the permanent arena of the stored procedure. 
      b9c6b9ec
  2. 19 Feb, 2008 8 commits
  3. 18 Feb, 2008 2 commits
  4. 15 Feb, 2008 2 commits
  5. 14 Feb, 2008 3 commits
  6. 13 Feb, 2008 4 commits
  7. 12 Feb, 2008 5 commits
  8. 11 Feb, 2008 9 commits
  9. 09 Feb, 2008 4 commits
  10. 08 Feb, 2008 1 commit