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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
f3027595
Commit
f3027595
authored
Jul 14, 2005
by
gluh@eagle.intranet.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
valgrind error fix(uninitialiased variable)
removed unnecessary operation
parent
3cf9a4c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
sql/sql_lex.cc
sql/sql_lex.cc
+1
-1
sql/sql_parse.cc
sql/sql_parse.cc
+0
-1
No files found.
sql/sql_lex.cc
View file @
f3027595
...
@@ -164,7 +164,7 @@ void lex_start(THD *thd, uchar *buf,uint length)
...
@@ -164,7 +164,7 @@ void lex_start(THD *thd, uchar *buf,uint length)
lex
->
current_select
=
&
lex
->
select_lex
;
lex
->
current_select
=
&
lex
->
select_lex
;
lex
->
yacc_yyss
=
lex
->
yacc_yyvs
=
0
;
lex
->
yacc_yyss
=
lex
->
yacc_yyvs
=
0
;
lex
->
ignore_space
=
test
(
thd
->
variables
.
sql_mode
&
MODE_IGNORE_SPACE
);
lex
->
ignore_space
=
test
(
thd
->
variables
.
sql_mode
&
MODE_IGNORE_SPACE
);
lex
->
sql_command
=
SQLCOM_END
;
lex
->
sql_command
=
lex
->
orig_sql_command
=
SQLCOM_END
;
lex
->
duplicates
=
DUP_ERROR
;
lex
->
duplicates
=
DUP_ERROR
;
lex
->
ignore
=
0
;
lex
->
ignore
=
0
;
lex
->
sphead
=
NULL
;
lex
->
sphead
=
NULL
;
...
...
sql/sql_parse.cc
View file @
f3027595
...
@@ -5189,7 +5189,6 @@ mysql_init_select(LEX *lex)
...
@@ -5189,7 +5189,6 @@ mysql_init_select(LEX *lex)
{
{
SELECT_LEX
*
select_lex
=
lex
->
current_select
;
SELECT_LEX
*
select_lex
=
lex
->
current_select
;
select_lex
->
init_select
();
select_lex
->
init_select
();
lex
->
orig_sql_command
=
SQLCOM_END
;
lex
->
wild
=
0
;
lex
->
wild
=
0
;
if
(
select_lex
==
&
lex
->
select_lex
)
if
(
select_lex
==
&
lex
->
select_lex
)
{
{
...
...
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