summaryrefslogtreecommitdiff
path: root/sql/sp_rcontext.h
diff options
context:
space:
mode:
authorhalfspawn <j.brauge@qualiac.com>2017-09-27 16:49:40 +0200
committerhalfspawn <j.brauge@qualiac.com>2017-09-27 16:49:40 +0200
commitf44d5de689cb62fc96676571f72df050a1760b20 (patch)
tree503363893180b8e67b0ce33c8ce7f1b8e1cc0c88 /sql/sp_rcontext.h
parentd387bc89ede0adf00d5940ee89004a412aebdf46 (diff)
downloadmariadb-git-f44d5de689cb62fc96676571f72df050a1760b20.tar.gz
MDEV-13919 sql_mode=ORACLE: Derive length of VARCHAR SP parameters with no length from actual parameters
Diffstat (limited to 'sql/sp_rcontext.h')
-rw-r--r--sql/sp_rcontext.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/sp_rcontext.h b/sql/sp_rcontext.h
index 98464518787..39635d47029 100644
--- a/sql/sp_rcontext.h
+++ b/sql/sp_rcontext.h
@@ -71,7 +71,8 @@ public:
static sp_rcontext *create(THD *thd,
const sp_pcontext *root_parsing_ctx,
Field *return_value_fld,
- bool resolve_type_refs);
+ bool resolve_type_refs,
+ List<Item> *args);
~sp_rcontext();
@@ -344,6 +345,9 @@ private:
Qualified_column_ident *ref);
bool resolve_table_rowtype_ref(THD *thd, Row_definition_list &defs,
Table_ident *ref);
+ bool adjust_formal_params_to_actual_params(THD *thd,
+ List<Spvar_definition> &field_def_lst,
+ List<Item> *args);
/// Create and initialize an Item-adapter (Item_field) for each SP-var field.
///