summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/mysqldump.c4
-rw-r--r--mysys/test_charset.c2
-rw-r--r--sql/event_db_repository.cc6
-rw-r--r--sql/events.cc3
-rw-r--r--sql/events.h9
-rw-r--r--sql/item_create.cc330
-rw-r--r--sql/item_create.h8
-rw-r--r--sql/item_subselect.cc2
-rw-r--r--sql/lock.cc13
-rw-r--r--sql/sp.cc2
-rw-r--r--sql/sp_head.h2
-rw-r--r--sql/sql_analyse.cc2
-rw-r--r--sql/sql_analyse.h2
-rw-r--r--sql/sql_base.cc6
-rw-r--r--sql/sql_db.cc2
-rw-r--r--sql/sql_lex.cc15
-rw-r--r--sql/sql_lex.h19
-rw-r--r--sql/sql_parse.cc11
-rw-r--r--sql/sql_plugin.cc2
-rw-r--r--sql/sql_prepare.cc1
-rw-r--r--sql/sql_show.cc4
-rw-r--r--sql/sql_trigger.cc16
-rw-r--r--sql/sql_update.cc8
-rw-r--r--sql/table.h10
24 files changed, 247 insertions, 232 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index 566760d2db3..3d2aec92dea 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -1308,8 +1308,8 @@ static char *cover_definer_clause_in_trigger(const char *trigger_def_str,
@note This function will go away when WL#3995 is implemented.
- @param[in] def_str CREATE FUNCTION|PROCEDURE statement string.
- @param[in] def_length length of the def_str.
+ @param[in] def_str CREATE FUNCTION|PROCEDURE statement string.
+ @param[in] def_str_length length of the def_str.
@return pointer to the new allocated query string.
*/
diff --git a/mysys/test_charset.c b/mysys/test_charset.c
index 08154e67863..d867b49304e 100644
--- a/mysys/test_charset.c
+++ b/mysys/test_charset.c
@@ -77,7 +77,7 @@ int main(int argc, char **argv) {
_print_csinfo(cs);
fflush(stdout);
-#define NOT_USED_ANYMORE
+#ifdef NOT_USED_ANYMORE
cs_list = list_charsets(MYF(MY_CS_COMPILED | MY_CS_CONFIG));
printf("LIST OF CHARSETS (compiled + *.conf):\n%s\n", cs_list);
my_free(cs_list,MYF(0));
diff --git a/sql/event_db_repository.cc b/sql/event_db_repository.cc
index b7bcb6344fd..96c01ad9a0e 100644
--- a/sql/event_db_repository.cc
+++ b/sql/event_db_repository.cc
@@ -556,7 +556,7 @@ Event_db_repository::open_event_table(THD *thd, enum thr_lock_type lock_type,
only creates a record on disk.
@pre The thread handle has no open tables.
- @param[in,out] THD
+ @param[in,out] thd THD
@param[in] parse_data Parsed event definition
@param[in] create_if_not TRUE if IF NOT EXISTS clause was provided
to CREATE EVENT statement
@@ -657,7 +657,7 @@ end:
@param[in,out] thd thread handle
@param[in] parse_data parsed event definition
- @paran[in[ new_dbname not NULL if ALTER EVENT RENAME
+ @param[in] new_dbname not NULL if ALTER EVENT RENAME
points at a new database name
@param[in] new_name not NULL if ALTER EVENT RENAME
points at a new event name
@@ -812,7 +812,7 @@ end:
@retval FALSE an event with such db/name key exists
- @reval TRUE no record found or an error occured.
+ @retval TRUE no record found or an error occured.
*/
bool
diff --git a/sql/events.cc b/sql/events.cc
index 8d32580816f..bdb9512647f 100644
--- a/sql/events.cc
+++ b/sql/events.cc
@@ -790,8 +790,7 @@ Events::show_create_event(THD *thd, LEX_STRING dbname, LEX_STRING name)
Check access rights and fill INFORMATION_SCHEMA.events table.
@param[in,out] thd Thread context
- @param[in] table The temporary table to fill.
- cond Unused
+ @param[in] tables The temporary table to fill.
In MySQL INFORMATION_SCHEMA tables are temporary tables that are
created and filled on demand. In this function, we fill
diff --git a/sql/events.h b/sql/events.h
index 1b99b072fd7..078ab63041b 100644
--- a/sql/events.h
+++ b/sql/events.h
@@ -15,9 +15,11 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
-/*
+/**
@file
A public interface of Events Scheduler module.
+ @defgroup Event Scheduler
+ @{
*/
class Event_parse_data;
@@ -42,7 +44,7 @@ int
sortcmp_lex_string(LEX_STRING s, LEX_STRING t, CHARSET_INFO *cs);
/**
- @class Events -- a facade to the functionality of the Event Scheduler.
+ @brief A facade to the functionality of the Event Scheduler.
Every public operation against the scheduler has to be executed via the
interface provided by a static method of this class. No instance of this
@@ -152,5 +154,8 @@ private:
void operator=(Events &);
};
+/**
+ @} (end of group Event Scheduler)
+*/
#endif /* _EVENT_H_ */
diff --git a/sql/item_create.cc b/sql/item_create.cc
index fa15b992e5c..03424da80a8 100644
--- a/sql/item_create.cc
+++ b/sql/item_create.cc
@@ -37,7 +37,7 @@
class Create_native_func : public Create_func
{
public:
- virtual Item* create(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create(THD *thd, LEX_STRING name, List<Item> *item_list);
/**
Builder method, with no arguments.
@@ -46,7 +46,7 @@ public:
@param item_list The function parameters, none of which are named
@return An item representing the function call
*/
- virtual Item* create_native(THD *thd, LEX_STRING name,
+ virtual Item *create_native(THD *thd, LEX_STRING name,
List<Item> *item_list) = 0;
protected:
@@ -64,14 +64,14 @@ protected:
class Create_func_arg0 : public Create_func
{
public:
- virtual Item* create(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create(THD *thd, LEX_STRING name, List<Item> *item_list);
/**
Builder method, with no arguments.
@param thd The current thread
@return An item representing the function call
*/
- virtual Item* create(THD *thd) = 0;
+ virtual Item *create(THD *thd) = 0;
protected:
/** Constructor. */
@@ -88,7 +88,7 @@ protected:
class Create_func_arg1 : public Create_func
{
public:
- virtual Item* create(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create(THD *thd, LEX_STRING name, List<Item> *item_list);
/**
Builder method, with one argument.
@@ -96,7 +96,7 @@ public:
@param arg1 The first argument of the function
@return An item representing the function call
*/
- virtual Item* create(THD *thd, Item *arg1) = 0;
+ virtual Item *create(THD *thd, Item *arg1) = 0;
protected:
/** Constructor. */
@@ -113,7 +113,7 @@ protected:
class Create_func_arg2 : public Create_func
{
public:
- virtual Item* create(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create(THD *thd, LEX_STRING name, List<Item> *item_list);
/**
Builder method, with two arguments.
@@ -122,7 +122,7 @@ public:
@param arg2 The second argument of the function
@return An item representing the function call
*/
- virtual Item* create(THD *thd, Item *arg1, Item *arg2) = 0;
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2) = 0;
protected:
/** Constructor. */
@@ -139,7 +139,7 @@ protected:
class Create_func_arg3 : public Create_func
{
public:
- virtual Item* create(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create(THD *thd, LEX_STRING name, List<Item> *item_list);
/**
Builder method, with three arguments.
@@ -149,7 +149,7 @@ public:
@param arg3 The third argument of the function
@return An item representing the function call
*/
- virtual Item* create(THD *thd, Item *arg1, Item *arg2, Item *arg3) = 0;
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2, Item *arg3) = 0;
protected:
/** Constructor. */
@@ -166,7 +166,7 @@ protected:
class Create_sp_func : public Create_qfunc
{
public:
- virtual Item* create(THD *thd, LEX_STRING db, LEX_STRING name,
+ virtual Item *create(THD *thd, LEX_STRING db, LEX_STRING name,
bool use_explicit_name, List<Item> *item_list);
static Create_sp_func s_singleton;
@@ -189,7 +189,7 @@ protected:
class Create_func_no_geom : public Create_func
{
public:
- virtual Item* create(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create(THD *thd, LEX_STRING name, List<Item> *item_list);
/** Singleton. */
static Create_func_no_geom s_singleton;
@@ -212,7 +212,7 @@ protected:
class Create_func_abs : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_abs s_singleton;
@@ -225,7 +225,7 @@ protected:
class Create_func_acos : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_acos s_singleton;
@@ -238,7 +238,7 @@ protected:
class Create_func_addtime : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_addtime s_singleton;
@@ -251,7 +251,7 @@ protected:
class Create_func_aes_encrypt : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_aes_encrypt s_singleton;
@@ -264,7 +264,7 @@ protected:
class Create_func_aes_decrypt : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_aes_decrypt s_singleton;
@@ -278,7 +278,7 @@ protected:
class Create_func_area : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_area s_singleton;
@@ -293,7 +293,7 @@ protected:
class Create_func_as_wkb : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_as_wkb s_singleton;
@@ -308,7 +308,7 @@ protected:
class Create_func_as_wkt : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_as_wkt s_singleton;
@@ -322,7 +322,7 @@ protected:
class Create_func_asin : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_asin s_singleton;
@@ -335,7 +335,7 @@ protected:
class Create_func_atan : public Create_native_func
{
public:
- virtual Item* create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
static Create_func_atan s_singleton;
@@ -348,7 +348,7 @@ protected:
class Create_func_benchmark : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_benchmark s_singleton;
@@ -361,7 +361,7 @@ protected:
class Create_func_bin : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_bin s_singleton;
@@ -374,7 +374,7 @@ protected:
class Create_func_bit_count : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_bit_count s_singleton;
@@ -387,7 +387,7 @@ protected:
class Create_func_bit_length : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_bit_length s_singleton;
@@ -400,7 +400,7 @@ protected:
class Create_func_ceiling : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_ceiling s_singleton;
@@ -414,7 +414,7 @@ protected:
class Create_func_centroid : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_centroid s_singleton;
@@ -428,7 +428,7 @@ protected:
class Create_func_char_length : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_char_length s_singleton;
@@ -441,7 +441,7 @@ protected:
class Create_func_coercibility : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_coercibility s_singleton;
@@ -454,7 +454,7 @@ protected:
class Create_func_compress : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_compress s_singleton;
@@ -467,7 +467,7 @@ protected:
class Create_func_concat : public Create_native_func
{
public:
- virtual Item* create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
static Create_func_concat s_singleton;
@@ -480,7 +480,7 @@ protected:
class Create_func_concat_ws : public Create_native_func
{
public:
- virtual Item* create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
static Create_func_concat_ws s_singleton;
@@ -493,7 +493,7 @@ protected:
class Create_func_connection_id : public Create_func_arg0
{
public:
- virtual Item* create(THD *thd);
+ virtual Item *create(THD *thd);
static Create_func_connection_id s_singleton;
@@ -507,7 +507,7 @@ protected:
class Create_func_contains : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_contains s_singleton;
@@ -521,7 +521,7 @@ protected:
class Create_func_conv : public Create_func_arg3
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2, Item *arg3);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2, Item *arg3);
static Create_func_conv s_singleton;
@@ -534,7 +534,7 @@ protected:
class Create_func_convert_tz : public Create_func_arg3
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2, Item *arg3);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2, Item *arg3);
static Create_func_convert_tz s_singleton;
@@ -547,7 +547,7 @@ protected:
class Create_func_cos : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_cos s_singleton;
@@ -560,7 +560,7 @@ protected:
class Create_func_cot : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_cot s_singleton;
@@ -573,7 +573,7 @@ protected:
class Create_func_crc32 : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_crc32 s_singleton;
@@ -587,7 +587,7 @@ protected:
class Create_func_crosses : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_crosses s_singleton;
@@ -601,7 +601,7 @@ protected:
class Create_func_date_format : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_date_format s_singleton;
@@ -614,7 +614,7 @@ protected:
class Create_func_datediff : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_datediff s_singleton;
@@ -627,7 +627,7 @@ protected:
class Create_func_dayname : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_dayname s_singleton;
@@ -640,7 +640,7 @@ protected:
class Create_func_dayofmonth : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_dayofmonth s_singleton;
@@ -653,7 +653,7 @@ protected:
class Create_func_dayofweek : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_dayofweek s_singleton;
@@ -666,7 +666,7 @@ protected:
class Create_func_dayofyear : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_dayofyear s_singleton;
@@ -679,7 +679,7 @@ protected:
class Create_func_decode : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_decode s_singleton;
@@ -692,7 +692,7 @@ protected:
class Create_func_degrees : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_degrees s_singleton;
@@ -705,7 +705,7 @@ protected:
class Create_func_des_decrypt : public Create_native_func
{
public:
- virtual Item* create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
static Create_func_des_decrypt s_singleton;
@@ -718,7 +718,7 @@ protected:
class Create_func_des_encrypt : public Create_native_func
{
public:
- virtual Item* create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
static Create_func_des_encrypt s_singleton;
@@ -732,7 +732,7 @@ protected:
class Create_func_dimension : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_dimension s_singleton;
@@ -747,7 +747,7 @@ protected:
class Create_func_disjoint : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_disjoint s_singleton;
@@ -761,7 +761,7 @@ protected:
class Create_func_elt : public Create_native_func
{
public:
- virtual Item* create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
static Create_func_elt s_singleton;
@@ -774,7 +774,7 @@ protected:
class Create_func_encode : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_encode s_singleton;
@@ -787,7 +787,7 @@ protected:
class Create_func_encrypt : public Create_native_func
{
public:
- virtual Item* create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
static Create_func_encrypt s_singleton;
@@ -801,7 +801,7 @@ protected:
class Create_func_endpoint : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_endpoint s_singleton;
@@ -816,7 +816,7 @@ protected:
class Create_func_envelope : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_envelope s_singleton;
@@ -831,7 +831,7 @@ protected:
class Create_func_equals : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_equals s_singleton;
@@ -845,7 +845,7 @@ protected:
class Create_func_exp : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_exp s_singleton;
@@ -858,7 +858,7 @@ protected:
class Create_func_export_set : public Create_native_func
{
public:
- virtual Item* create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
static Create_func_export_set s_singleton;
@@ -872,7 +872,7 @@ protected:
class Create_func_exteriorring : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_exteriorring s_singleton;
@@ -886,7 +886,7 @@ protected:
class Create_func_field : public Create_native_func
{
public:
- virtual Item* create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
static Create_func_field s_singleton;
@@ -899,7 +899,7 @@ protected:
class Create_func_find_in_set : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_find_in_set s_singleton;
@@ -912,7 +912,7 @@ protected:
class Create_func_floor : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_floor s_singleton;
@@ -925,7 +925,7 @@ protected:
class Create_func_format : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_format s_singleton;
@@ -938,7 +938,7 @@ protected:
class Create_func_found_rows : public Create_func_arg0
{
public:
- virtual Item* create(THD *thd);
+ virtual Item *create(THD *thd);
static Create_func_found_rows s_singleton;
@@ -951,7 +951,7 @@ protected:
class Create_func_from_days : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_from_days s_singleton;
@@ -964,7 +964,7 @@ protected:
class Create_func_from_unixtime : public Create_native_func
{
public:
- virtual Item* create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
static Create_func_from_unixtime s_singleton;
@@ -978,7 +978,7 @@ protected:
class Create_func_geometry_from_text : public Create_native_func
{
public:
- virtual Item* create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
static Create_func_geometry_from_text s_singleton;
@@ -993,7 +993,7 @@ protected:
class Create_func_geometry_from_wkb : public Create_native_func
{
public:
- virtual Item* create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
static Create_func_geometry_from_wkb s_singleton;
@@ -1008,7 +1008,7 @@ protected:
class Create_func_geometry_type : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_geometry_type s_singleton;
@@ -1023,7 +1023,7 @@ protected:
class Create_func_geometryn : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_geometryn s_singleton;
@@ -1037,7 +1037,7 @@ protected:
class Create_func_get_lock : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_get_lock s_singleton;
@@ -1051,7 +1051,7 @@ protected:
class Create_func_glength : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_glength s_singleton;
@@ -1065,7 +1065,7 @@ protected:
class Create_func_greatest : public Create_native_func
{
public:
- virtual Item* create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
static Create_func_greatest s_singleton;
@@ -1078,7 +1078,7 @@ protected:
class Create_func_hex : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_hex s_singleton;
@@ -1091,7 +1091,7 @@ protected:
class Create_func_ifnull : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_ifnull s_singleton;
@@ -1104,7 +1104,7 @@ protected:
class Create_func_inet_ntoa : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_inet_ntoa s_singleton;
@@ -1117,7 +1117,7 @@ protected:
class Create_func_inet_aton : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_inet_aton s_singleton;
@@ -1130,7 +1130,7 @@ protected:
class Create_func_instr : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_instr s_singleton;
@@ -1144,7 +1144,7 @@ protected:
class Create_func_interiorringn : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_interiorringn s_singleton;
@@ -1159,7 +1159,7 @@ protected:
class Create_func_intersects : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_intersects s_singleton;
@@ -1173,7 +1173,7 @@ protected:
class Create_func_is_free_lock : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_is_free_lock s_singleton;
@@ -1186,7 +1186,7 @@ protected:
class Create_func_is_used_lock : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_is_used_lock s_singleton;
@@ -1200,7 +1200,7 @@ protected:
class Create_func_isclosed : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_isclosed s_singleton;
@@ -1215,7 +1215,7 @@ protected:
class Create_func_isempty : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_isempty s_singleton;
@@ -1229,7 +1229,7 @@ protected:
class Create_func_isnull : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_isnull s_singleton;
@@ -1243,7 +1243,7 @@ protected:
class Create_func_issimple : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_issimple s_singleton;
@@ -1257,7 +1257,7 @@ protected:
class Create_func_last_day : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_last_day s_singleton;
@@ -1270,7 +1270,7 @@ protected:
class Create_func_last_insert_id : public Create_native_func
{
public:
- virtual Item* create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
static Create_func_last_insert_id s_singleton;
@@ -1283,7 +1283,7 @@ protected:
class Create_func_lcase : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_lcase s_singleton;
@@ -1296,7 +1296,7 @@ protected:
class Create_func_least : public Create_native_func
{
public:
- virtual Item* create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
static Create_func_least s_singleton;
@@ -1309,7 +1309,7 @@ protected:
class Create_func_length : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_length s_singleton;
@@ -1322,7 +1322,7 @@ protected:
class Create_func_ln : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_ln s_singleton;
@@ -1335,7 +1335,7 @@ protected:
class Create_func_load_file : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_load_file s_singleton;
@@ -1348,7 +1348,7 @@ protected:
class Create_func_locate : public Create_native_func
{
public:
- virtual Item* create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
static Create_func_locate s_singleton;
@@ -1361,7 +1361,7 @@ protected:
class Create_func_log : public Create_native_func
{
public:
- virtual Item* create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
static Create_func_log s_singleton;
@@ -1374,7 +1374,7 @@ protected:
class Create_func_log10 : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_log10 s_singleton;
@@ -1387,7 +1387,7 @@ protected:
class Create_func_log2 : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_log2 s_singleton;
@@ -1400,7 +1400,7 @@ protected:
class Create_func_lpad : public Create_func_arg3
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2, Item *arg3);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2, Item *arg3);
static Create_func_lpad s_singleton;
@@ -1413,7 +1413,7 @@ protected:
class Create_func_ltrim : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_ltrim s_singleton;
@@ -1426,7 +1426,7 @@ protected:
class Create_func_makedate : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_makedate s_singleton;
@@ -1439,7 +1439,7 @@ protected:
class Create_func_maketime : public Create_func_arg3
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2, Item *arg3);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2, Item *arg3);
static Create_func_maketime s_singleton;
@@ -1452,7 +1452,7 @@ protected:
class Create_func_make_set : public Create_native_func
{
public:
- virtual Item* create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
static Create_func_make_set s_singleton;
@@ -1465,7 +1465,7 @@ protected:
class Create_func_master_pos_wait : public Create_native_func
{
public:
- virtual Item* create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
static Create_func_master_pos_wait s_singleton;
@@ -1478,7 +1478,7 @@ protected:
class Create_func_md5 : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_md5 s_singleton;
@@ -1491,7 +1491,7 @@ protected:
class Create_func_monthname : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_monthname s_singleton;
@@ -1504,7 +1504,7 @@ protected:
class Create_func_name_const : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_name_const s_singleton;
@@ -1517,7 +1517,7 @@ protected:
class Create_func_nullif : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_nullif s_singleton;
@@ -1531,7 +1531,7 @@ protected:
class Create_func_numgeometries : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_numgeometries s_singleton;
@@ -1546,7 +1546,7 @@ protected:
class Create_func_numinteriorring : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_numinteriorring s_singleton;
@@ -1561,7 +1561,7 @@ protected:
class Create_func_numpoints : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_numpoints s_singleton;
@@ -1575,7 +1575,7 @@ protected:
class Create_func_oct : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_oct s_singleton;
@@ -1588,7 +1588,7 @@ protected:
class Create_func_ord : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_ord s_singleton;
@@ -1602,7 +1602,7 @@ protected:
class Create_func_overlaps : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_overlaps s_singleton;
@@ -1616,7 +1616,7 @@ protected:
class Create_func_period_add : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_period_add s_singleton;
@@ -1629,7 +1629,7 @@ protected:
class Create_func_period_diff : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_period_diff s_singleton;
@@ -1642,7 +1642,7 @@ protected:
class Create_func_pi : public Create_func_arg0
{
public:
- virtual Item* create(THD *thd);
+ virtual Item *create(THD *thd);
static Create_func_pi s_singleton;
@@ -1656,7 +1656,7 @@ protected:
class Create_func_pointn : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_pointn s_singleton;
@@ -1670,7 +1670,7 @@ protected:
class Create_func_pow : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_pow s_singleton;
@@ -1683,7 +1683,7 @@ protected:
class Create_func_quote : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_quote s_singleton;
@@ -1696,7 +1696,7 @@ protected:
class Create_func_radians : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_radians s_singleton;
@@ -1709,7 +1709,7 @@ protected:
class Create_func_rand : public Create_native_func
{
public:
- virtual Item* create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
static Create_func_rand s_singleton;
@@ -1722,7 +1722,7 @@ protected:
class Create_func_release_lock : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_release_lock s_singleton;
@@ -1735,7 +1735,7 @@ protected:
class Create_func_reverse : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_reverse s_singleton;
@@ -1748,7 +1748,7 @@ protected:
class Create_func_round : public Create_native_func
{
public:
- virtual Item* create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
static Create_func_round s_singleton;
@@ -1761,7 +1761,7 @@ protected:
class Create_func_row_count : public Create_func_arg0
{
public:
- virtual Item* create(THD *thd);
+ virtual Item *create(THD *thd);
static Create_func_row_count s_singleton;
@@ -1774,7 +1774,7 @@ protected:
class Create_func_rpad : public Create_func_arg3
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2, Item *arg3);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2, Item *arg3);
static Create_func_rpad s_singleton;
@@ -1787,7 +1787,7 @@ protected:
class Create_func_rtrim : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_rtrim s_singleton;
@@ -1800,7 +1800,7 @@ protected:
class Create_func_sec_to_time : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_sec_to_time s_singleton;
@@ -1813,7 +1813,7 @@ protected:
class Create_func_sha : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_sha s_singleton;
@@ -1826,7 +1826,7 @@ protected:
class Create_func_sign : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_sign s_singleton;
@@ -1839,7 +1839,7 @@ protected:
class Create_func_sin : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_sin s_singleton;
@@ -1852,7 +1852,7 @@ protected:
class Create_func_sleep : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_sleep s_singleton;
@@ -1865,7 +1865,7 @@ protected:
class Create_func_soundex : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_soundex s_singleton;
@@ -1878,7 +1878,7 @@ protected:
class Create_func_space : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_space s_singleton;
@@ -1891,7 +1891,7 @@ protected:
class Create_func_sqrt : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_sqrt s_singleton;
@@ -1905,7 +1905,7 @@ protected:
class Create_func_srid : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_srid s_singleton;
@@ -1920,7 +1920,7 @@ protected:
class Create_func_startpoint : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_startpoint s_singleton;
@@ -1934,7 +1934,7 @@ protected:
class Create_func_str_to_date : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_str_to_date s_singleton;
@@ -1947,7 +1947,7 @@ protected:
class Create_func_strcmp : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_strcmp s_singleton;
@@ -1960,7 +1960,7 @@ protected:
class Create_func_substr_index : public Create_func_arg3
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2, Item *arg3);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2, Item *arg3);
static Create_func_substr_index s_singleton;
@@ -1973,7 +1973,7 @@ protected:
class Create_func_subtime : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_subtime s_singleton;
@@ -1986,7 +1986,7 @@ protected:
class Create_func_tan : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_tan s_singleton;
@@ -1999,7 +1999,7 @@ protected:
class Create_func_time_format : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_time_format s_singleton;
@@ -2012,7 +2012,7 @@ protected:
class Create_func_time_to_sec : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_time_to_sec s_singleton;
@@ -2025,7 +2025,7 @@ protected:
class Create_func_timediff : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_timediff s_singleton;
@@ -2038,7 +2038,7 @@ protected:
class Create_func_to_days : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_to_days s_singleton;
@@ -2052,7 +2052,7 @@ protected:
class Create_func_touches : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_touches s_singleton;
@@ -2066,7 +2066,7 @@ protected:
class Create_func_ucase : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_ucase s_singleton;
@@ -2079,7 +2079,7 @@ protected:
class Create_func_uncompress : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_uncompress s_singleton;
@@ -2092,7 +2092,7 @@ protected:
class Create_func_uncompressed_length : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_uncompressed_length s_singleton;
@@ -2105,7 +2105,7 @@ protected:
class Create_func_unhex : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_unhex s_singleton;
@@ -2118,7 +2118,7 @@ protected:
class Create_func_unix_timestamp : public Create_native_func
{
public:
- virtual Item* create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
static Create_func_unix_timestamp s_singleton;
@@ -2131,7 +2131,7 @@ protected:
class Create_func_uuid : public Create_func_arg0
{
public:
- virtual Item* create(THD *thd);
+ virtual Item *create(THD *thd);
static Create_func_uuid s_singleton;
@@ -2157,7 +2157,7 @@ protected:
class Create_func_version : public Create_func_arg0
{
public:
- virtual Item* create(THD *thd);
+ virtual Item *create(THD *thd);
static Create_func_version s_singleton;
@@ -2170,7 +2170,7 @@ protected:
class Create_func_weekday : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_weekday s_singleton;
@@ -2183,7 +2183,7 @@ protected:
class Create_func_weekofyear : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_weekofyear s_singleton;
@@ -2197,7 +2197,7 @@ protected:
class Create_func_within : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_within s_singleton;
@@ -2212,7 +2212,7 @@ protected:
class Create_func_x : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_x s_singleton;
@@ -2226,7 +2226,7 @@ protected:
class Create_func_xml_extractvalue : public Create_func_arg2
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2);
static Create_func_xml_extractvalue s_singleton;
@@ -2239,7 +2239,7 @@ protected:
class Create_func_xml_update : public Create_func_arg3
{
public:
- virtual Item* create(THD *thd, Item *arg1, Item *arg2, Item *arg3);
+ virtual Item *create(THD *thd, Item *arg1, Item *arg2, Item *arg3);
static Create_func_xml_update s_singleton;
@@ -2253,7 +2253,7 @@ protected:
class Create_func_y : public Create_func_arg1
{
public:
- virtual Item* create(THD *thd, Item *arg1);
+ virtual Item *create(THD *thd, Item *arg1);
static Create_func_y s_singleton;
@@ -2267,7 +2267,7 @@ protected:
class Create_func_year_week : public Create_native_func
{
public:
- virtual Item* create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create_native(THD *thd, LEX_STRING name, List<Item> *item_list);
static Create_func_year_week s_singleton;
diff --git a/sql/item_create.h b/sql/item_create.h
index 7ace4032515..a3ba6bd26a6 100644
--- a/sql/item_create.h
+++ b/sql/item_create.h
@@ -53,7 +53,7 @@ public:
@param item_list The list of arguments to the function, can be NULL
@return An item representing the parsed function call, or NULL
*/
- virtual Item* create(THD *thd, LEX_STRING name, List<Item> *item_list) = 0;
+ virtual Item *create(THD *thd, LEX_STRING name, List<Item> *item_list) = 0;
protected:
/** Constructor */
@@ -80,7 +80,7 @@ public:
@param item_list The list of arguments to the function, can be NULL
@return An item representing the parsed function call
*/
- virtual Item* create(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create(THD *thd, LEX_STRING name, List<Item> *item_list);
/**
The builder create method, for qualified functions.
@@ -127,7 +127,7 @@ extern Create_qfunc * find_qualified_function_builder(THD *thd);
class Create_udf_func : public Create_func
{
public:
- virtual Item* create(THD *thd, LEX_STRING name, List<Item> *item_list);
+ virtual Item *create(THD *thd, LEX_STRING name, List<Item> *item_list);
/**
The builder create method, for User Defined Functions.
@@ -136,7 +136,7 @@ public:
@param item_list The list of arguments to the function, can be NULL
@return An item representing the parsed function call
*/
- Item* create(THD *thd, udf_func *fct, List<Item> *item_list);
+ Item *create(THD *thd, udf_func *fct, List<Item> *item_list);
/** Singleton. */
static Create_udf_func s_singleton;
diff --git a/sql/item_subselect.cc b/sql/item_subselect.cc
index 1d042860d73..6d4207e89ec 100644
--- a/sql/item_subselect.cc
+++ b/sql/item_subselect.cc
@@ -624,7 +624,7 @@ void Item_exists_subselect::print(String *str)
}
-bool Item_in_subselect::test_limit(SELECT_LEX_UNIT *unit_arg)
+bool Item_in_subselect::test_limit(st_select_lex_unit *unit_arg)
{
if (unit_arg->fake_select_lex &&
unit_arg->fake_select_lex->test_limit())
diff --git a/sql/lock.cc b/sql/lock.cc
index 20fb7d73c1c..8b98c2303a8 100644
--- a/sql/lock.cc
+++ b/sql/lock.cc
@@ -472,6 +472,9 @@ void mysql_unlock_read_tables(THD *thd, MYSQL_LOCK *sql_lock)
unlock_external() we call handler::external_lock(F_UNLCK) only
if table->current_lock is not F_UNLCK.
+ @param thd thread context
+ @param locked list of locked tables
+ @param table the table to unlock
@param always_unlock specify explicitly if the legacy side
effect is desired.
*/
@@ -1174,8 +1177,9 @@ bool lock_table_names_exclusively(THD *thd, TABLE_LIST *table_list)
/**
@brief Test is 'table' is protected by an exclusive name lock.
- @param[in] thd The current thread handler
- @param[in] table Table container containing the single table to be tested
+ @param[in] thd The current thread handler
+ @param[in] table_list Table container containing the single table to be
+ tested
@note Needs to be protected by LOCK_open mutex.
@@ -1201,8 +1205,9 @@ is_table_name_exclusively_locked_by_this_thread(THD *thd,
/**
@brief Test is 'table key' is protected by an exclusive name lock.
- @param[in] thd The current thread handler.
- @param[in] table Table container containing the single table to be tested.
+ @param[in] thd The current thread handler.
+ @param[in] key
+ @param[in] key_length
@note Needs to be protected by LOCK_open mutex
diff --git a/sql/sp.cc b/sql/sp.cc
index 372aa9c6780..7b69842669f 100644
--- a/sql/sp.cc
+++ b/sql/sp.cc
@@ -84,7 +84,7 @@ class Stored_routine_creation_ctx : public Stored_program_creation_ctx,
{
public:
static Stored_routine_creation_ctx *
- load_from_db(THD *thd, const class sp_name *name, TABLE *proc_tbl);
+ load_from_db(THD *thd, const sp_name *name, TABLE *proc_tbl);
public:
virtual Stored_program_creation_ctx *clone(MEM_ROOT *mem_root)
diff --git a/sql/sp_head.h b/sql/sp_head.h
index f6764fbc90e..41cf8167376 100644
--- a/sql/sp_head.h
+++ b/sql/sp_head.h
@@ -186,7 +186,7 @@ public:
LEX_STRING m_qname; // db.name
/**
Key representing routine in the set of stored routines used by statement.
- [routine_type]db.name\0
+ [routine_type]db.name
@sa sp_name::m_sroutines_key
*/
LEX_STRING m_sroutines_key;
diff --git a/sql/sql_analyse.cc b/sql/sql_analyse.cc
index 6b4aaa26236..490cc5e28c1 100644
--- a/sql/sql_analyse.cc
+++ b/sql/sql_analyse.cc
@@ -668,7 +668,7 @@ void field_ulonglong::add()
} // field_ulonglong::add
-int analyse::send_row(List<Item> &field_list __attribute__((unused)))
+int analyse::send_row(List<Item> & /* field_list */)
{
field_info **f = f_info;
diff --git a/sql/sql_analyse.h b/sql/sql_analyse.h
index ae5d88bf93e..827b6f4b217 100644
--- a/sql/sql_analyse.h
+++ b/sql/sql_analyse.h
@@ -348,7 +348,7 @@ public:
}
virtual void add() {}
virtual bool change_columns(List<Item> &fields);
- virtual int send_row(List<Item> &fields);
+ virtual int send_row(List<Item> &field_list);
virtual void end_group(void) {}
virtual bool end_of_records(void);
friend Procedure *proc_analyse_init(THD *thd, ORDER *param,
diff --git a/sql/sql_base.cc b/sql/sql_base.cc
index 24c6979c0f6..cdec96a8526 100644
--- a/sql/sql_base.cc
+++ b/sql/sql_base.cc
@@ -2148,9 +2148,9 @@ bool lock_table_name_if_not_cached(THD *thd, const char *db,
@brief Check that table exists in table definition cache, on disk
or in some storage engine.
- @param thd Thread context
- @param table Table list element
- @param exists[out] Out parameter which is set to TRUE if table
+ @param thd Thread context
+ @param table Table list element
+ @param[out] exists Out parameter which is set to TRUE if table
exists and to FALSE otherwise.
@note This function assumes that caller owns LOCK_open mutex.
diff --git a/sql/sql_db.cc b/sql/sql_db.cc
index 575db5b80f7..23e18f85a3c 100644
--- a/sql/sql_db.cc
+++ b/sql/sql_db.cc
@@ -1350,7 +1350,7 @@ static void mysql_change_db_impl(THD *thd,
@brief Change the current database.
@param thd thread handle
- @param name database name
+ @param new_db_name database name
@param force_switch if this flag is set (TRUE), mysql_change_db() will
switch to NULL db if the specified database is not
available anymore. Corresponding warning will be
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc
index c83c7a1c894..8d13e3c7554 100644
--- a/sql/sql_lex.cc
+++ b/sql/sql_lex.cc
@@ -173,7 +173,7 @@ void Lex_input_stream::body_utf8_start(THD *thd, const char *begin_ptr)
}
/**
- The operation appends unprocessed part of pre-processed buffer till
+ @brief The operation appends unprocessed part of pre-processed buffer till
the given pointer (ptr) and sets m_cpp_utf8_processed_ptr to end_ptr.
The idea is that some tokens in the pre-processed buffer (like character
@@ -1400,6 +1400,19 @@ int MYSQLlex(void *arg, void *yythd)
}
+/**
+ Construct a copy of this object to be used for mysql_alter_table
+ and mysql_create_table.
+
+ Historically, these two functions modify their Alter_info
+ arguments. This behaviour breaks re-execution of prepared
+ statements and stored procedures and is compensated by always
+ supplying a copy of Alter_info to these functions.
+
+ @return You need to use check the error in THD for out
+ of memory condition after calling this function.
+*/
+
Alter_info::Alter_info(const Alter_info &rhs, MEM_ROOT *mem_root)
:drop_list(rhs.drop_list, mem_root),
alter_list(rhs.alter_list, mem_root),
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index 11273bba314..94feddf6e77 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -859,8 +859,8 @@ public:
uint no_parts;
enum_alter_table_change_level change_level;
Create_field *datetime_field;
- bool error_if_not_empty;
-
+ bool error_if_not_empty;
+
Alter_info() :
flags(0),
@@ -887,16 +887,6 @@ public:
datetime_field= 0;
error_if_not_empty= FALSE;
}
- /**
- Construct a copy of this object to be used for mysql_alter_table
- and mysql_create_table. Historically, these two functions modify
- their Alter_info arguments. This behaviour breaks re-execution of
- prepared statements and stored procedures and is compensated by
- always supplying a copy of Alter_info to these functions.
-
- @return You need to use check the error in THD for out
- of memory condition after calling this function.
- */
Alter_info(const Alter_info &rhs, MEM_ROOT *mem_root);
private:
Alter_info &operator=(const Alter_info &rhs); // not implemented
@@ -1102,8 +1092,9 @@ enum enum_comment_state
/**
- This class represents the character input stream consumed during
+ @brief This class represents the character input stream consumed during
lexical analysis.
+
In addition to consuming the input stream, this class performs some
comment pre processing, by filtering out out of bound special text
from the query input stream.
@@ -1113,6 +1104,7 @@ enum enum_comment_state
is the pre-processed buffer that contains only the query text that
should be seen once out-of-bound data is removed.
*/
+
class Lex_input_stream
{
public:
@@ -1121,6 +1113,7 @@ public:
/**
Set the echo mode.
+
When echo is true, characters parsed from the raw input stream are
preserved. When false, characters parsed are silently ignored.
@param echo the echo mode.
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index d38c9bd8643..cef551b812b 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -5370,11 +5370,12 @@ void mysql_init_multi_delete(LEX *lex)
/**
Parse a query.
- @param thd Current thread
- @param inBuf Begining of the query text
- @param length Length of the query text
- @param [out] semicolon For multi queries, position of the character of
- the next query in the query text.
+
+ @param thd Current thread
+ @param inBuf Begining of the query text
+ @param length Length of the query text
+ @param[out] found_semicolon For multi queries, position of the character of
+ the next query in the query text.
*/
void mysql_parse(THD *thd, const char *inBuf, uint length,
diff --git a/sql/sql_plugin.cc b/sql/sql_plugin.cc
index 0d088063462..56aef9f9b95 100644
--- a/sql/sql_plugin.cc
+++ b/sql/sql_plugin.cc
@@ -2444,7 +2444,7 @@ void plugin_thdvar_cleanup(THD *thd)
/**
@brief Free values of thread variables of a plugin.
- @detail This must be called before a plugin is deleted. Otherwise its
+ This must be called before a plugin is deleted. Otherwise its
variables are no longer accessible and the value space is lost. Note
that only string values with PLUGIN_VAR_MEMALLOC are allocated and
must be freed.
diff --git a/sql/sql_prepare.cc b/sql/sql_prepare.cc
index a97bd908468..6b60f89b8e3 100644
--- a/sql/sql_prepare.cc
+++ b/sql/sql_prepare.cc
@@ -112,7 +112,6 @@ public:
/****************************************************************************/
/**
- @class Prepared_statement
@brief Prepared_statement: a statement that can contain placeholders
*/
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index 5a1619aa5cf..9df652a679e 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -2459,8 +2459,8 @@ static COND * make_cond_for_info_schema(COND *cond, TABLE_LIST *table)
@param[in] thd thread handler
@param[in] cond WHERE condition
- @param[in] table I_S table
- @param[in, out] lookup_field_vals Struct which holds lookup values
+ @param[in] tables I_S table
+ @param[in, out] lookup_field_values Struct which holds lookup values
@return void
*/
diff --git a/sql/sql_trigger.cc b/sql/sql_trigger.cc
index fa0154dc39e..ce26b025430 100644
--- a/sql/sql_trigger.cc
+++ b/sql/sql_trigger.cc
@@ -1882,7 +1882,7 @@ end:
@param thd
@param event
- @param time_type,
+ @param time_type
@param old_row_is_record1
@return Error status.
@@ -2074,9 +2074,9 @@ process_unknown_string(char *&unknown_key, uchar* base, MEM_ROOT *mem_root,
/**
Contruct path to TRN-file.
- @param thd[in] Thread context.
- @param trg_name[in] Trigger name.
- @param trn_path[out] Variable to store constructed path
+ @param[in] thd Thread context.
+ @param[in] trg_name Trigger name.
+ @param[out] trn_path Variable to store constructed path
*/
void build_trn_path(THD *thd, const sp_name *trg_name, LEX_STRING *trn_path)
@@ -2109,10 +2109,10 @@ bool check_trn_exists(const LEX_STRING *trn_path)
/**
Retrieve table name for given trigger.
- @param thd[in] Thread context.
- @param trg_name[in] Trigger name.
- @param trn_path[in] Path to the corresponding TRN-file.
- @param tbl_name[out] Variable to store retrieved table name.
+ @param[in] thd Thread context.
+ @param[in] trg_name Trigger name.
+ @param[in] trn_path Path to the corresponding TRN-file.
+ @param[out] tbl_name Variable to store retrieved table name.
@return Error status.
@retval FALSE on success.
diff --git a/sql/sql_update.cc b/sql/sql_update.cc
index cb3f2fece89..d4df805d006 100644
--- a/sql/sql_update.cc
+++ b/sql/sql_update.cc
@@ -86,10 +86,10 @@ static bool check_fields(THD *thd, List<Item> &items)
/**
@brief Re-read record if more columns are needed for error message.
- @detail If we got a duplicate key error, we want to write an error
- message containing the value of the duplicate key. If we do not have
- all fields of the key value in record[0], we need to re-read the
- record with a proper read_set.
+ If we got a duplicate key error, we want to write an error
+ message containing the value of the duplicate key. If we do not have
+ all fields of the key value in record[0], we need to re-read the
+ record with a proper read_set.
@param[in] error error number
@param[in] table table
diff --git a/sql/table.h b/sql/table.h
index ffe7350f250..5ef2467341a 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -157,7 +157,7 @@ enum enum_table_category
- FLUSH TABLES WITH READ LOCK
- SET GLOBAL READ_ONLY = ON
do not apply to this table.
- Note that LOCK TABLE <t> FOR READ/WRITE
+ Note that LOCK TABLE t FOR READ/WRITE
can be used on temporary tables.
Temporary tables are not part of the table cache.
*/
@@ -166,7 +166,7 @@ enum enum_table_category
/**
User table.
These tables do honor:
- - LOCK TABLE <t> FOR READ/WRITE
+ - LOCK TABLE t FOR READ/WRITE
- FLUSH TABLES WITH READ LOCK
- SET GLOBAL READ_ONLY = ON
User tables are cached in the table cache.
@@ -176,7 +176,7 @@ enum enum_table_category
/**
System table, maintained by the server.
These tables do honor:
- - LOCK TABLE <t> FOR READ/WRITE
+ - LOCK TABLE t FOR READ/WRITE
- FLUSH TABLES WITH READ LOCK
- SET GLOBAL READ_ONLY = ON
Typically, writes to system tables are performed by
@@ -190,7 +190,7 @@ enum enum_table_category
These tables are an interface provided by the system
to inspect the system metadata.
These tables do *not* honor:
- - LOCK TABLE <t> FOR READ/WRITE
+ - LOCK TABLE t FOR READ/WRITE
- FLUSH TABLES WITH READ LOCK
- SET GLOBAL READ_ONLY = ON
as there is no point in locking explicitely
@@ -212,7 +212,7 @@ enum enum_table_category
These tables are an interface provided by the system
to inspect the system performance data.
These tables do *not* honor:
- - LOCK TABLE <t> FOR READ/WRITE
+ - LOCK TABLE t FOR READ/WRITE
- FLUSH TABLES WITH READ LOCK
- SET GLOBAL READ_ONLY = ON
as there is no point in locking explicitely