mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge mysql.com:/home/my/mysql-5.0
into mysql.com:/home/my/mysql-5.1 Merge of 'remove compiler warnings when using -Wshadow'
This commit is contained in:
@ -653,9 +653,9 @@ class sp_instr_set : public sp_instr
|
||||
public:
|
||||
|
||||
sp_instr_set(uint ip, sp_pcontext *ctx,
|
||||
uint offset, Item *val, enum enum_field_types type,
|
||||
uint offset, Item *val, enum enum_field_types type_arg,
|
||||
LEX *lex, bool lex_resp)
|
||||
: sp_instr(ip, ctx), m_offset(offset), m_value(val), m_type(type),
|
||||
: sp_instr(ip, ctx), m_offset(offset), m_value(val), m_type(type_arg),
|
||||
m_lex_keeper(lex, lex_resp)
|
||||
{}
|
||||
|
||||
@ -853,8 +853,9 @@ class sp_instr_freturn : public sp_instr
|
||||
public:
|
||||
|
||||
sp_instr_freturn(uint ip, sp_pcontext *ctx,
|
||||
Item *val, enum enum_field_types type, LEX *lex)
|
||||
: sp_instr(ip, ctx), m_value(val), m_type(type), m_lex_keeper(lex, TRUE)
|
||||
Item *val, enum enum_field_types type_arg, LEX *lex)
|
||||
: sp_instr(ip, ctx), m_value(val), m_type(type_arg),
|
||||
m_lex_keeper(lex, TRUE)
|
||||
{}
|
||||
|
||||
virtual ~sp_instr_freturn()
|
||||
|
Reference in New Issue
Block a user