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
350af3a7
Commit
350af3a7
authored
Feb 22, 2008
by
gkodinov/kgeorge@magare.gmz
Browse files
Options
Browse Files
Download
Plain Diff
Merge magare.gmz:/home/kgeorge/mysql/work/B30604-5.0-opt
into magare.gmz:/home/kgeorge/mysql/work/B30604-5.1-opt
parents
6008c9b4
5b508f2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
sql/sp.cc
sql/sp.cc
+6
-0
No files found.
sql/sp.cc
View file @
350af3a7
...
...
@@ -388,6 +388,7 @@ db_find_routine(THD *thd, int type, sp_name *name, sp_head **sphp)
uint
length
;
char
buff
[
65
];
String
str
(
buff
,
sizeof
(
buff
),
&
my_charset_bin
);
bool
saved_time_zone_used
=
thd
->
time_zone_used
;
ulong
sql_mode
,
saved_mode
=
thd
->
variables
.
sql_mode
;
Open_tables_state
open_tables_state_backup
;
Stored_program_creation_ctx
*
creation_ctx
;
...
...
@@ -504,6 +505,11 @@ db_find_routine(THD *thd, int type, sp_name *name, sp_head **sphp)
sql_mode
,
params
,
returns
,
body
,
chistics
,
definer
,
created
,
modified
,
creation_ctx
);
done:
/*
Restore the time zone flag as the timezone usage in proc table
does not affect replication.
*/
thd
->
time_zone_used
=
saved_time_zone_used
;
if
(
table
)
close_system_tables
(
thd
,
&
open_tables_state_backup
);
thd
->
variables
.
sql_mode
=
saved_mode
;
...
...
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