diff options
author | petr@mysql.com <> | 2005-09-08 18:25:42 +0200 |
---|---|---|
committer | petr@mysql.com <> | 2005-09-08 18:25:42 +0200 |
commit | 4a28ddac1cf77fa8b2c7515a3623df6ea8a3f9dc (patch) | |
tree | c08168bd61b61bb609554187c18f46ee88be27d7 /sql/item.h | |
parent | ffea32c6f30e6f0e2fe5b3fb35ddb978909f160f (diff) | |
download | mariadb-git-4a28ddac1cf77fa8b2c7515a3623df6ea8a3f9dc.tar.gz |
fix for Bug #12849 Stored Procedure: Crash on procedure call with CHAR type 'INOUT' parameter
(recommit with the right Bug#)
Diffstat (limited to 'sql/item.h')
-rw-r--r-- | sql/item.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/item.h b/sql/item.h index f128c72413d..381ba98e193 100644 --- a/sql/item.h +++ b/sql/item.h @@ -715,9 +715,17 @@ public: class Item_splocal : public Item { uint m_offset; + public: LEX_STRING m_name; + /* + Buffer, pointing to the string value of the item. We need it to + protect internal buffer from changes. See comment to analogous + member in Item_param for more details. + */ + String str_value_ptr; + /* Position of this reference to SP variable in the statement (the statement itself is in sp_instr_stmt::m_query). |