Commit 5cbe0fb8 authored by pem@mysql.comhem.se's avatar pem@mysql.comhem.se

Added frame offset to debug pring of local SP variables.

parent 40f7f588
...@@ -342,7 +342,10 @@ class Item_splocal : public Item ...@@ -342,7 +342,10 @@ class Item_splocal : public Item
inline void print(String *str) inline void print(String *str)
{ {
str->reserve(m_name.length+8);
str->append(m_name.str, m_name.length); str->append(m_name.str, m_name.length);
str->append('@');
str->qs_append(m_offset);
} }
inline bool send(Protocol *protocol, String *str) inline bool send(Protocol *protocol, String *str)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment