1- /* Copyright (C ) 2000-2003 MySQL AB
1+ /* Copyright (c ) 2000, 2010 Oracle and/or its affiliates. All rights reserved.
22
33 This program is free software; you can redistribute it and/or modify
44 it under the terms of the GNU General Public License as published by
4242class Create_native_func : public Create_func
4343{
4444public:
45- virtual Item *create (THD *thd, LEX_STRING name, List<Item> *item_list);
45+ virtual Item *create_func (THD *thd, LEX_STRING name, List<Item> *item_list);
4646
4747 /* *
4848 Builder method, with no arguments.
@@ -69,7 +69,7 @@ class Create_native_func : public Create_func
6969class Create_func_arg0 : public Create_func
7070{
7171public:
72- virtual Item *create (THD *thd, LEX_STRING name, List<Item> *item_list);
72+ virtual Item *create_func (THD *thd, LEX_STRING name, List<Item> *item_list);
7373
7474 /* *
7575 Builder method, with no arguments.
@@ -93,7 +93,7 @@ class Create_func_arg0 : public Create_func
9393class Create_func_arg1 : public Create_func
9494{
9595public:
96- virtual Item *create (THD *thd, LEX_STRING name, List<Item> *item_list);
96+ virtual Item *create_func (THD *thd, LEX_STRING name, List<Item> *item_list);
9797
9898 /* *
9999 Builder method, with one argument.
@@ -118,7 +118,7 @@ class Create_func_arg1 : public Create_func
118118class Create_func_arg2 : public Create_func
119119{
120120public:
121- virtual Item *create (THD *thd, LEX_STRING name, List<Item> *item_list);
121+ virtual Item *create_func (THD *thd, LEX_STRING name, List<Item> *item_list);
122122
123123 /* *
124124 Builder method, with two arguments.
@@ -144,7 +144,7 @@ class Create_func_arg2 : public Create_func
144144class Create_func_arg3 : public Create_func
145145{
146146public:
147- virtual Item *create (THD *thd, LEX_STRING name, List<Item> *item_list);
147+ virtual Item *create_func (THD *thd, LEX_STRING name, List<Item> *item_list);
148148
149149 /* *
150150 Builder method, with three arguments.
@@ -194,7 +194,7 @@ class Create_sp_func : public Create_qfunc
194194class Create_func_no_geom : public Create_func
195195{
196196public:
197- virtual Item *create (THD *thd, LEX_STRING name, List<Item> *item_list);
197+ virtual Item *create_func (THD *thd, LEX_STRING name, List<Item> *item_list);
198198
199199 /* * Singleton. */
200200 static Create_func_no_geom s_singleton;
@@ -2315,7 +2315,7 @@ static bool has_named_parameters(List<Item> *params)
23152315Create_func_no_geom Create_func_no_geom::s_singleton;
23162316
23172317Item*
2318- Create_func_no_geom::create (THD * /* unused */ ,
2318+ Create_func_no_geom::create_func (THD * /* unused */ ,
23192319 LEX_STRING /* unused */ ,
23202320 List<Item> * /* unused */ )
23212321{
@@ -2328,7 +2328,7 @@ Create_func_no_geom::create(THD * /* unused */,
23282328
23292329
23302330Item*
2331- Create_qfunc::create (THD *thd, LEX_STRING name, List<Item> *item_list)
2331+ Create_qfunc::create_func (THD *thd, LEX_STRING name, List<Item> *item_list)
23322332{
23332333 LEX_STRING db;
23342334
@@ -2361,7 +2361,7 @@ Create_qfunc::create(THD *thd, LEX_STRING name, List<Item> *item_list)
23612361Create_udf_func Create_udf_func::s_singleton;
23622362
23632363Item*
2364- Create_udf_func::create (THD *thd, LEX_STRING name, List<Item> *item_list)
2364+ Create_udf_func::create_func (THD *thd, LEX_STRING name, List<Item> *item_list)
23652365{
23662366 udf_func *udf= find_udf (name.str , name.length );
23672367 DBUG_ASSERT (udf);
@@ -2512,7 +2512,7 @@ Create_sp_func::create(THD *thd, LEX_STRING db, LEX_STRING name,
25122512
25132513
25142514Item*
2515- Create_native_func::create (THD *thd, LEX_STRING name, List<Item> *item_list)
2515+ Create_native_func::create_func (THD *thd, LEX_STRING name, List<Item> *item_list)
25162516{
25172517 if (has_named_parameters (item_list))
25182518 {
@@ -2525,7 +2525,7 @@ Create_native_func::create(THD *thd, LEX_STRING name, List<Item> *item_list)
25252525
25262526
25272527Item*
2528- Create_func_arg0::create (THD *thd, LEX_STRING name, List<Item> *item_list)
2528+ Create_func_arg0::create_func (THD *thd, LEX_STRING name, List<Item> *item_list)
25292529{
25302530 int arg_count= 0 ;
25312531
@@ -2543,7 +2543,7 @@ Create_func_arg0::create(THD *thd, LEX_STRING name, List<Item> *item_list)
25432543
25442544
25452545Item*
2546- Create_func_arg1::create (THD *thd, LEX_STRING name, List<Item> *item_list)
2546+ Create_func_arg1::create_func (THD *thd, LEX_STRING name, List<Item> *item_list)
25472547{
25482548 int arg_count= 0 ;
25492549
@@ -2569,7 +2569,7 @@ Create_func_arg1::create(THD *thd, LEX_STRING name, List<Item> *item_list)
25692569
25702570
25712571Item*
2572- Create_func_arg2::create (THD *thd, LEX_STRING name, List<Item> *item_list)
2572+ Create_func_arg2::create_func (THD *thd, LEX_STRING name, List<Item> *item_list)
25732573{
25742574 int arg_count= 0 ;
25752575
@@ -2597,7 +2597,7 @@ Create_func_arg2::create(THD *thd, LEX_STRING name, List<Item> *item_list)
25972597
25982598
25992599Item*
2600- Create_func_arg3::create (THD *thd, LEX_STRING name, List<Item> *item_list)
2600+ Create_func_arg3::create_func (THD *thd, LEX_STRING name, List<Item> *item_list)
26012601{
26022602 int arg_count= 0 ;
26032603
0 commit comments