Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
7db7a83f
Commit
7db7a83f
authored
May 25, 2007
by
kostja@vajra.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warnings.
parent
33818118
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
sql/item_func.h
sql/item_func.h
+1
-1
sql/sql_lex.cc
sql/sql_lex.cc
+0
-2
No files found.
sql/item_func.h
View file @
7db7a83f
...
@@ -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
();
...
...
sql/sql_lex.cc
View file @
7db7a83f
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment