Commit 1343975d authored by bell@sanja.is.com.ua's avatar bell@sanja.is.com.ua

A name of macro is fixed.

parent 83d692da
...@@ -1498,7 +1498,7 @@ int select_dumpvar::prepare(List<Item> &list, SELECT_LEX_UNIT *u) ...@@ -1498,7 +1498,7 @@ int select_dumpvar::prepare(List<Item> &list, SELECT_LEX_UNIT *u)
{ {
Item_splocal *var; Item_splocal *var;
(void)local_vars.push_back(var= new Item_splocal(mv->s, mv->offset)); (void)local_vars.push_back(var= new Item_splocal(mv->s, mv->offset));
#ifndef DEBUG_OFF #ifndef DBUG_OFF
var->owner= mv->owner; var->owner= mv->owner;
#endif #endif
} }
......
...@@ -2086,7 +2086,7 @@ public: ...@@ -2086,7 +2086,7 @@ public:
class my_var : public Sql_alloc { class my_var : public Sql_alloc {
public: public:
LEX_STRING s; LEX_STRING s;
#ifndef DEBUG_OFF #ifndef DBUG_OFF
/* /*
Routine to which this Item_splocal belongs. Used for checking if correct Routine to which this Item_splocal belongs. Used for checking if correct
runtime context is used for variable handling. runtime context is used for variable handling.
......
...@@ -2288,7 +2288,7 @@ sp_case: ...@@ -2288,7 +2288,7 @@ sp_case:
ivar.length= 5; ivar.length= 5;
Item_splocal *var= new Item_splocal(ivar, Item_splocal *var= new Item_splocal(ivar,
ctx->current_pvars()-1); ctx->current_pvars()-1);
#ifndef DEBUG_OFF #ifndef DBUG_OFF
if (var) if (var)
var->owner= sp; var->owner= sp;
#endif #endif
...@@ -5875,7 +5875,7 @@ select_var_ident: ...@@ -5875,7 +5875,7 @@ select_var_ident:
my_var *var; my_var *var;
((select_dumpvar *)lex->result)-> ((select_dumpvar *)lex->result)->
var_list.push_back(var= new my_var($1,1,t->offset,t->type)); var_list.push_back(var= new my_var($1,1,t->offset,t->type));
#ifndef DEBUG_OFF #ifndef DBUG_OFF
if (var) if (var)
var->owner= lex->sphead; var->owner= lex->sphead;
#endif #endif
...@@ -7181,7 +7181,7 @@ simple_ident: ...@@ -7181,7 +7181,7 @@ simple_ident:
Item_splocal *splocal; Item_splocal *splocal;
splocal= new Item_splocal($1, spv->offset, lex->tok_start_prev - splocal= new Item_splocal($1, spv->offset, lex->tok_start_prev -
lex->sphead->m_tmp_query); lex->sphead->m_tmp_query);
#ifndef DEBUG_OFF #ifndef DBUG_OFF
if (splocal) if (splocal)
splocal->owner= lex->sphead; splocal->owner= lex->sphead;
#endif #endif
......
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