diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-04-29 00:38:10 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-04-29 00:38:10 +0200 |
commit | c4499a03917aecfc2d86142c469d02618cbec54b (patch) | |
tree | 9cd51b7c8d2274300165840204ae3eb19401942f /sql/item_func.h | |
parent | d6dbe8e2071bf9fdc21b5530abce88ff01b40e25 (diff) | |
parent | 5cfe52314e29386e1867fad1b44eace2b9d0be7e (diff) | |
download | mariadb-git-c4499a03917aecfc2d86142c469d02618cbec54b.tar.gz |
Merge branch '5.5' into 10.0
Diffstat (limited to 'sql/item_func.h')
-rw-r--r-- | sql/item_func.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/item_func.h b/sql/item_func.h index b0ba87b4bd0..813bcf0d023 100644 --- a/sql/item_func.h +++ b/sql/item_func.h @@ -90,6 +90,7 @@ public: args= tmp_arg; args[0]= a; with_sum_func= a->with_sum_func; + with_param= a->with_param; with_field= a->with_field; } Item_func(Item *a,Item *b): @@ -98,6 +99,7 @@ public: args= tmp_arg; args[0]= a; args[1]= b; with_sum_func= a->with_sum_func || b->with_sum_func; + with_param= a->with_param || b->with_param; with_field= a->with_field || b->with_field; } Item_func(Item *a,Item *b,Item *c): @@ -109,6 +111,7 @@ public: arg_count= 3; args[0]= a; args[1]= b; args[2]= c; with_sum_func= a->with_sum_func || b->with_sum_func || c->with_sum_func; + with_param= a->with_param || b->with_param || c->with_param; with_field= a->with_field || b->with_field || c->with_field; } } @@ -122,6 +125,8 @@ public: args[0]= a; args[1]= b; args[2]= c; args[3]= d; with_sum_func= a->with_sum_func || b->with_sum_func || c->with_sum_func || d->with_sum_func; + with_param= a->with_param || b->with_param || + c->with_param || d->with_param; with_field= a->with_field || b->with_field || c->with_field || d->with_field; } @@ -135,6 +140,8 @@ public: args[0]= a; args[1]= b; args[2]= c; args[3]= d; args[4]= e; with_sum_func= a->with_sum_func || b->with_sum_func || c->with_sum_func || d->with_sum_func || e->with_sum_func ; + with_param= a->with_param || b->with_param || + c->with_param || d->with_param || e->with_param; with_field= a->with_field || b->with_field || c->with_field || d->with_field || e->with_field; } |