• pem@mysql.com's avatar
    Fixed BUG#14723: Dumping of stored functions seems to cause corruption · 547f2676
    pem@mysql.com authored
                     in the function body
      Changed the way the end of query was found from the lex state.
      The routine body was not extracted correctly when using the
      /*!version ... */ wrapper (in dump files); for some types of routines
      (e.g. with a label at the first begin), the trailing "*/" was not skipped.
      This is a recommit for the 5.0.16-release tree.
    547f2676
sp.test 93.9 KB