Commit a9edb062 authored by unknown's avatar unknown

Merge four.local.lan:/WORK/mysql-5.1-runtime/src-clean

into  four.local.lan:/WORK/mysql-5.1-runtime/src-1

parents bcb1ff7f 850eadad
...@@ -1261,7 +1261,7 @@ class Item_func_get_user_var :public Item_func, ...@@ -1261,7 +1261,7 @@ class Item_func_get_user_var :public Item_func,
public: public:
LEX_STRING name; // keep it public LEX_STRING name; // keep it public
Item_func_get_user_var(LEX_STRING a): Item_func_get_user_var(LEX_STRING a):
Item_func(), name(a), m_cached_result_type(STRING_RESULT) {} Item_func(), m_cached_result_type(STRING_RESULT), name(a) {}
enum Functype functype() const { return GUSERVAR_FUNC; } enum Functype functype() const { return GUSERVAR_FUNC; }
LEX_STRING get_name() { return name; } LEX_STRING get_name() { return name; }
double val_real(); double val_real();
......
...@@ -1786,8 +1786,6 @@ st_lex::st_lex() ...@@ -1786,8 +1786,6 @@ st_lex::st_lex()
:result(0), yacc_yyss(0), yacc_yyvs(0), :result(0), yacc_yyss(0), yacc_yyvs(0),
sql_command(SQLCOM_END), option_type(OPT_DEFAULT) sql_command(SQLCOM_END), option_type(OPT_DEFAULT)
{ {
/* Check that plugins_static_buffer is declared immediately after plugins */
compile_time_assert((&plugins + 1) == (DYNAMIC_ARRAY*)plugins_static_buffer);
my_init_dynamic_array2(&plugins, sizeof(plugin_ref), my_init_dynamic_array2(&plugins, sizeof(plugin_ref),
plugins_static_buffer, plugins_static_buffer,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment