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
c5baa61f
Commit
c5baa61f
authored
Jun 20, 2007
by
anozdrin/alik@ibm.opbmk
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.0-runtime
into ibm.opbmk:/home/alik/Documents/MySQL/devel/5.0-rt-build
parents
325b8835
8c8ab048
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
sql/handler.cc
sql/handler.cc
+1
-1
sql/sp.cc
sql/sp.cc
+1
-1
sql/sp_head.cc
sql/sp_head.cc
+2
-2
sql/sql_error.cc
sql/sql_error.cc
+1
-1
sql/sql_trigger.cc
sql/sql_trigger.cc
+1
-1
No files found.
sql/handler.cc
View file @
c5baa61f
...
@@ -1343,7 +1343,7 @@ int ha_delete_table(THD *thd, enum db_type table_type, const char *path,
...
@@ -1343,7 +1343,7 @@ int ha_delete_table(THD *thd, enum db_type table_type, const char *path,
strmake
(
buff
,
thd
->
net
.
last_error
,
sizeof
(
buff
)
-
1
);
strmake
(
buff
,
thd
->
net
.
last_error
,
sizeof
(
buff
)
-
1
);
thd
->
query_error
=
0
;
thd
->
query_error
=
0
;
thd
->
spcont
=
0
;
thd
->
spcont
=
NULL
;
thd
->
lex
->
current_select
=
0
;
thd
->
lex
->
current_select
=
0
;
thd
->
net
.
last_error
[
0
]
=
0
;
thd
->
net
.
last_error
[
0
]
=
0
;
...
...
sql/sp.cc
View file @
c5baa61f
...
@@ -438,10 +438,10 @@ db_load_routine(THD *thd, int type, sp_name *name, sp_head **sphp,
...
@@ -438,10 +438,10 @@ db_load_routine(THD *thd, int type, sp_name *name, sp_head **sphp,
Lex_input_stream
lip
(
thd
,
defstr
.
c_ptr
(),
defstr
.
length
());
Lex_input_stream
lip
(
thd
,
defstr
.
c_ptr
(),
defstr
.
length
());
thd
->
m_lip
=
&
lip
;
thd
->
m_lip
=
&
lip
;
lex_start
(
thd
);
lex_start
(
thd
);
thd
->
spcont
=
NULL
;
ret
=
MYSQLparse
(
thd
);
ret
=
MYSQLparse
(
thd
);
}
}
thd
->
spcont
=
0
;
if
(
ret
||
thd
->
is_fatal_error
||
newlex
.
sphead
==
NULL
)
if
(
ret
||
thd
->
is_fatal_error
||
newlex
.
sphead
==
NULL
)
{
{
sp_head
*
sp
=
newlex
.
sphead
;
sp_head
*
sp
=
newlex
.
sphead
;
...
...
sql/sp_head.cc
View file @
c5baa61f
...
@@ -2581,7 +2581,7 @@ sp_instr_set::exec_core(THD *thd, uint *nextp)
...
@@ -2581,7 +2581,7 @@ sp_instr_set::exec_core(THD *thd, uint *nextp)
sp_rcontext
*
spcont
=
thd
->
spcont
;
sp_rcontext
*
spcont
=
thd
->
spcont
;
thd
->
spcont
=
0
;
/* Avoid handlers */
thd
->
spcont
=
NULL
;
/* Avoid handlers */
my_error
(
ER_OUT_OF_RESOURCES
,
MYF
(
0
));
my_error
(
ER_OUT_OF_RESOURCES
,
MYF
(
0
));
spcont
->
clear_handler
();
spcont
->
clear_handler
();
thd
->
spcont
=
spcont
;
thd
->
spcont
=
spcont
;
...
@@ -3316,7 +3316,7 @@ sp_instr_set_case_expr::exec_core(THD *thd, uint *nextp)
...
@@ -3316,7 +3316,7 @@ sp_instr_set_case_expr::exec_core(THD *thd, uint *nextp)
sp_rcontext
*
spcont
=
thd
->
spcont
;
sp_rcontext
*
spcont
=
thd
->
spcont
;
thd
->
spcont
=
0
;
/* Avoid handlers */
thd
->
spcont
=
NULL
;
/* Avoid handlers */
my_error
(
ER_OUT_OF_RESOURCES
,
MYF
(
0
));
my_error
(
ER_OUT_OF_RESOURCES
,
MYF
(
0
));
spcont
->
clear_handler
();
spcont
->
clear_handler
();
thd
->
spcont
=
spcont
;
thd
->
spcont
=
spcont
;
...
...
sql/sql_error.cc
View file @
c5baa61f
...
@@ -126,7 +126,7 @@ MYSQL_ERROR *push_warning(THD *thd, MYSQL_ERROR::enum_warning_level level,
...
@@ -126,7 +126,7 @@ MYSQL_ERROR *push_warning(THD *thd, MYSQL_ERROR::enum_warning_level level,
sp_rcontext
*
spcont
=
thd
->
spcont
;
sp_rcontext
*
spcont
=
thd
->
spcont
;
thd
->
no_warnings_for_error
=
1
;
thd
->
no_warnings_for_error
=
1
;
thd
->
spcont
=
0
;
thd
->
spcont
=
NULL
;
thd
->
killed
=
THD
::
KILL_BAD_DATA
;
thd
->
killed
=
THD
::
KILL_BAD_DATA
;
my_message
(
code
,
msg
,
MYF
(
0
));
my_message
(
code
,
msg
,
MYF
(
0
));
...
...
sql/sql_trigger.cc
View file @
c5baa61f
...
@@ -982,7 +982,7 @@ bool Table_triggers_list::check_n_load(THD *thd, const char *db,
...
@@ -982,7 +982,7 @@ bool Table_triggers_list::check_n_load(THD *thd, const char *db,
Lex_input_stream
lip
(
thd
,
trg_create_str
->
str
,
trg_create_str
->
length
);
Lex_input_stream
lip
(
thd
,
trg_create_str
->
str
,
trg_create_str
->
length
);
thd
->
m_lip
=
&
lip
;
thd
->
m_lip
=
&
lip
;
lex_start
(
thd
);
lex_start
(
thd
);
thd
->
spcont
=
0
;
thd
->
spcont
=
NULL
;
int
err
=
MYSQLparse
((
void
*
)
thd
);
int
err
=
MYSQLparse
((
void
*
)
thd
);
if
(
err
||
thd
->
is_fatal_error
)
if
(
err
||
thd
->
is_fatal_error
)
...
...
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