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
9533db5f
Commit
9533db5f
authored
Apr 08, 2008
by
kostja@dipika.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix pushbuild errors and warnings.
parent
d1f93762
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
sql/sql_prepare.cc
sql/sql_prepare.cc
+2
-6
No files found.
sql/sql_prepare.cc
View file @
9533db5f
...
@@ -2399,7 +2399,6 @@ void mysql_stmt_execute(THD *thd, char *packet_arg, uint packet_length)
...
@@ -2399,7 +2399,6 @@ void mysql_stmt_execute(THD *thd, char *packet_arg, uint packet_length)
String
expanded_query
;
String
expanded_query
;
uchar
*
packet_end
=
packet
+
packet_length
;
uchar
*
packet_end
=
packet
+
packet_length
;
Prepared_statement
*
stmt
;
Prepared_statement
*
stmt
;
bool
error
;
bool
open_cursor
;
bool
open_cursor
;
DBUG_ENTER
(
"mysql_stmt_execute"
);
DBUG_ENTER
(
"mysql_stmt_execute"
);
...
@@ -3242,7 +3241,9 @@ Prepared_statement::reprepare()
...
@@ -3242,7 +3241,9 @@ Prepared_statement::reprepare()
{
{
swap_prepared_statement
(
copy
);
swap_prepared_statement
(
copy
);
swap_parameter_array
(
param_array
,
copy
->
param_array
,
param_count
);
swap_parameter_array
(
param_array
,
copy
->
param_array
,
param_count
);
#ifndef DBUG_OFF
is_reprepared
=
TRUE
;
is_reprepared
=
TRUE
;
#endif
/*
/*
Clear possible warnigns during re-prepare, it has to be completely
Clear possible warnigns during re-prepare, it has to be completely
transparent to the user. We use mysql_reset_errors() since
transparent to the user. We use mysql_reset_errors() since
...
@@ -3274,11 +3275,6 @@ end:
...
@@ -3274,11 +3275,6 @@ end:
bool
Prepared_statement
::
validate_metadata
(
Prepared_statement
*
copy
)
bool
Prepared_statement
::
validate_metadata
(
Prepared_statement
*
copy
)
{
{
List_iterator_fast
<
Item
>
it_org
(
lex
->
select_lex
.
item_list
);
List_iterator_fast
<
Item
>
it_new
(
copy
->
lex
->
select_lex
.
item_list
);
Item
*
item_org
;
Item
*
item_new
;
/**
/**
If this is an SQL prepared statement or EXPLAIN,
If this is an SQL prepared statement or EXPLAIN,
return FALSE -- the metadata of the original SELECT,
return FALSE -- the metadata of the original SELECT,
...
...
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