summaryrefslogtreecommitdiff
path: root/sql/item.h
diff options
context:
space:
mode:
authorunknown <pem@mysql.comhem.se>2004-05-25 19:46:21 +0200
committerunknown <pem@mysql.comhem.se>2004-05-25 19:46:21 +0200
commit8df3bffd55a7b4a9152c83fffcd6975bc45a33a5 (patch)
tree95d44cdbdd2057b7f07678c766fcbd74f4716c39 /sql/item.h
parentd1b02b37cc5498ef655f5f184fc81d88b50370b1 (diff)
downloadmariadb-git-8df3bffd55a7b4a9152c83fffcd6975bc45a33a5.tar.gz
Added frame offset to debug pring of local SP variables.
Diffstat (limited to 'sql/item.h')
-rw-r--r--sql/item.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/item.h b/sql/item.h
index 90362e917d3..8c356d84aa0 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -342,7 +342,10 @@ public:
inline void print(String *str)
{
+ str->reserve(m_name.length+8);
str->append(m_name.str, m_name.length);
+ str->append('@');
+ str->qs_append(m_offset);
}
inline bool send(Protocol *protocol, String *str)