Field ROUTINE_DEFINITION in INFORMATION_SCHEMA.`ROUTINES` contains broken procedure body when used shielding quotes inside.

Description

Demonstration:

As you can see on the screenshot comparison only difference is the amount of shielding quotes.

Why?

Yet another example:

Example:

Information schema:

mysql:

Environment

Linux Fedora 21

Assignee

Alexander Barkov

Reporter

МихаилГ

Components

Sprint

None

Fix versions

Affects versions

Priority

Major
Configure