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
056d7266
Commit
056d7266
authored
Nov 23, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A name of macro is fixed.
parent
4aea839b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
sql/sql_class.cc
sql/sql_class.cc
+1
-1
sql/sql_class.h
sql/sql_class.h
+1
-1
sql/sql_yacc.yy
sql/sql_yacc.yy
+3
-3
No files found.
sql/sql_class.cc
View file @
056d7266
...
...
@@ -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 D
E
BUG_OFF
#ifndef DBUG_OFF
var
->
owner
=
mv
->
owner
;
#endif
}
...
...
sql/sql_class.h
View file @
056d7266
...
...
@@ -2086,7 +2086,7 @@ public:
class
my_var
:
public
Sql_alloc
{
public:
LEX_STRING
s
;
#ifndef D
E
BUG_OFF
#ifndef DBUG_OFF
/*
Routine to which this Item_splocal belongs. Used for checking if correct
runtime context is used for variable handling.
...
...
sql/sql_yacc.yy
View file @
056d7266
...
...
@@ -2288,7 +2288,7 @@ sp_case:
ivar.length= 5;
Item_splocal *var= new Item_splocal(ivar,
ctx->current_pvars()-1);
#ifndef D
E
BUG_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 D
E
BUG_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 D
E
BUG_OFF
#ifndef DBUG_OFF
if (splocal)
splocal->owner= lex->sphead;
#endif
...
...
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