• unknown's avatar
    Fixed BUG#822: Copying and clearing some things in thd/lex when · 869b49ef
    unknown authored
    executing sub-statements (selects) prevents crashes intermittent
    crashes.
    Also fixed bug in sql_yacc.yy (generated a hpop instruction when
    not needed).
    
    
    mysql-test/r/sp.result:
      Test-case for BUG#822.
    mysql-test/t/sp.test:
      Test-case for BUG#822.
    sql/sp_head.cc:
      Fixed BUG#822; needed to copy and clear some stuff when calling sub-statements.
    sql/sql_yacc.yy:
      Only generate hpop instruction when we actually have handlers.
    869b49ef
sp_head.cc 17.3 KB