summaryrefslogtreecommitdiff
path: root/sql/mysql_priv.h
diff options
context:
space:
mode:
authorunknown <acurtis@xiphis.org>2005-04-19 09:09:25 +0100
committerunknown <acurtis@xiphis.org>2005-04-19 09:09:25 +0100
commit9bf92ed6fe303ef0fd758616d336eec4b786cd7f (patch)
tree709bf359df4b898f4ff4afeebc82f4a97b3d3fdd /sql/mysql_priv.h
parentd0eecb394daad2900b732e056845041792fbdbef (diff)
downloadmariadb-git-9bf92ed6fe303ef0fd758616d336eec4b786cd7f.tar.gz
Bug#9102 - Stored proccedures: function which returns blob causes crash
Initialization of fields for sp return type was not complete. mysql-test/r/sp.result: Bug#9102 Test for bug mysql-test/t/sp.test: Bug#9102 Test for bug sql/mysql_priv.h: Bug#9102 new function: sp_prepare_create_field() sql/sp_head.cc: Strip spaces and do charset conversion for sp function typelibs sql/sql_table.cc: Bug#9102 new function - sp_prepare_create_field() prepares create_field in similar way to mysql_prepare_table() sql/sql_yacc.yy: Bug#9102
Diffstat (limited to 'sql/mysql_priv.h')
-rw-r--r--sql/mysql_priv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/mysql_priv.h b/sql/mysql_priv.h
index a854f8c45d3..56fbd993aed 100644
--- a/sql/mysql_priv.h
+++ b/sql/mysql_priv.h
@@ -647,6 +647,7 @@ Field *create_tmp_field(THD *thd, TABLE *table,Item *item, Item::Type type,
Item ***copy_func, Field **from_field,
bool group, bool modify_item,
uint convert_blob_length);
+void sp_prepare_create_field(THD *thd, create_field *sql_field);
int prepare_create_field(create_field *sql_field,
uint *blob_columns,
int *timestamps, int *timestamps_with_niladic,