diff options
author | unknown <bell@sanja.is.com.ua> | 2005-11-23 12:26:07 +0200 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2005-11-23 12:26:07 +0200 |
commit | 4fedac93b6c92338d1f7a892df168c1ee6727333 (patch) | |
tree | 0ce35135c790b99b4905ab7bffa46338dadbd9a7 /sql | |
parent | 66bf4b86fd862ba218d8771f58700d083f5d2e3d (diff) | |
download | mariadb-git-4fedac93b6c92338d1f7a892df168c1ee6727333.tar.gz |
A name of macro is fixed.
Diffstat (limited to 'sql')
-rw-r--r-- | sql/sql_class.cc | 2 | ||||
-rw-r--r-- | sql/sql_class.h | 2 | ||||
-rw-r--r-- | sql/sql_yacc.yy | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc index 82af1265a9d..a0d87b05e97 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -1498,7 +1498,7 @@ int select_dumpvar::prepare(List<Item> &list, SELECT_LEX_UNIT *u) { Item_splocal *var; (void)local_vars.push_back(var= new Item_splocal(mv->s, mv->offset)); -#ifndef DEBUG_OFF +#ifndef DBUG_OFF var->owner= mv->owner; #endif } diff --git a/sql/sql_class.h b/sql/sql_class.h index ee24d9e904b..0346801b0dc 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -2086,7 +2086,7 @@ public: class my_var : public Sql_alloc { public: LEX_STRING s; -#ifndef DEBUG_OFF +#ifndef DBUG_OFF /* Routine to which this Item_splocal belongs. Used for checking if correct runtime context is used for variable handling. diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy index 1c191cc2dc2..671e2b1740d 100644 --- a/sql/sql_yacc.yy +++ b/sql/sql_yacc.yy @@ -2288,7 +2288,7 @@ sp_case: ivar.length= 5; Item_splocal *var= new Item_splocal(ivar, ctx->current_pvars()-1); -#ifndef DEBUG_OFF +#ifndef DBUG_OFF if (var) var->owner= sp; #endif @@ -5875,7 +5875,7 @@ select_var_ident: my_var *var; ((select_dumpvar *)lex->result)-> var_list.push_back(var= new my_var($1,1,t->offset,t->type)); -#ifndef DEBUG_OFF +#ifndef DBUG_OFF if (var) var->owner= lex->sphead; #endif @@ -7181,7 +7181,7 @@ simple_ident: Item_splocal *splocal; splocal= new Item_splocal($1, spv->offset, lex->tok_start_prev - lex->sphead->m_tmp_query); -#ifndef DEBUG_OFF +#ifndef DBUG_OFF if (splocal) splocal->owner= lex->sphead; #endif |