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
17395f03
Commit
17395f03
authored
May 23, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge lmy004.:/work/mysql-5.1-release
into lmy004.:/work/mysql-5.1-release-17619-try3
parents
36438eba
91de2afb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
sql/set_var.cc
sql/set_var.cc
+5
-4
No files found.
sql/set_var.cc
View file @
17395f03
...
...
@@ -3663,15 +3663,16 @@ sys_var_event_scheduler::update(THD *thd, set_var *var)
DBUG_RETURN
(
true
);
}
if
(
var
->
save_result
.
ulong_value
<
1
||
var
->
save_result
.
ulong_value
>
2
)
if
(
var
->
save_result
.
ulonglong_value
<
1
||
var
->
save_result
.
ulonglong_value
>
2
)
{
char
buf
[
64
];
my_error
(
ER_WRONG_VALUE_FOR_VAR
,
MYF
(
0
),
"event_scheduler"
,
llstr
(
var
->
save_result
.
ulong_value
,
buf
));
llstr
(
var
->
save_result
.
ulong
long
_value
,
buf
));
DBUG_RETURN
(
true
);
}
if
((
res
=
scheduler
->
suspend_or_resume
(
var
->
save_result
.
ulong_value
==
1
?
Event_scheduler
::
RESUME
:
if
((
res
=
scheduler
->
suspend_or_resume
(
var
->
save_result
.
ulong
long
_value
==
1
?
Event_scheduler
::
RESUME
:
Event_scheduler
::
SUSPEND
)))
my_error
(
ER_EVENT_SET_VAR_ERROR
,
MYF
(
0
),
(
uint
)
res
);
DBUG_RETURN
((
bool
)
res
);
...
...
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