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
11423e84
Commit
11423e84
authored
May 23, 2006
by
andrey@lmy004
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
1372a7a9
30be7555
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 @
11423e84
...
@@ -3663,15 +3663,16 @@ sys_var_event_scheduler::update(THD *thd, set_var *var)
...
@@ -3663,15 +3663,16 @@ sys_var_event_scheduler::update(THD *thd, set_var *var)
DBUG_RETURN
(
true
);
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
];
char
buf
[
64
];
my_error
(
ER_WRONG_VALUE_FOR_VAR
,
MYF
(
0
),
"event_scheduler"
,
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
);
DBUG_RETURN
(
true
);
}
}
if
((
res
=
scheduler
->
suspend_or_resume
(
var
->
save_result
.
ulong_value
==
1
?
if
((
res
=
scheduler
->
suspend_or_resume
(
var
->
save_result
.
ulong
long
_value
==
1
?
Event_scheduler
::
RESUME
:
Event_scheduler
::
RESUME
:
Event_scheduler
::
SUSPEND
)))
Event_scheduler
::
SUSPEND
)))
my_error
(
ER_EVENT_SET_VAR_ERROR
,
MYF
(
0
),
(
uint
)
res
);
my_error
(
ER_EVENT_SET_VAR_ERROR
,
MYF
(
0
),
(
uint
)
res
);
DBUG_RETURN
((
bool
)
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