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
b1b0d8d3
Commit
b1b0d8d3
authored
Apr 06, 2007
by
kostja@vajra.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A fix for events_trans.test failure on many hosts (5.1-runtime)
parent
07daf699
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
sql/event_data_objects.cc
sql/event_data_objects.cc
+1
-0
sql/events.cc
sql/events.cc
+5
-5
No files found.
sql/event_data_objects.cc
View file @
b1b0d8d3
...
...
@@ -1043,6 +1043,7 @@ Event_queue_element::load_from_row(THD *thd, TABLE *table)
status
=
Event_queue_element
::
SLAVESIDE_DISABLED
;
break
;
case
'D'
:
default:
status
=
Event_queue_element
::
DISABLED
;
break
;
}
...
...
sql/events.cc
View file @
b1b0d8d3
...
...
@@ -387,7 +387,7 @@ Events::create_event(THD *thd, Event_parse_data *parse_data,
if
(
check_db_dir_existence
(
parse_data
->
dbname
.
str
))
{
my_error
(
ER_BAD_DB_ERROR
,
MYF
(
0
));
my_error
(
ER_BAD_DB_ERROR
,
MYF
(
0
)
,
parse_data
->
dbname
.
str
);
DBUG_RETURN
(
TRUE
);
}
...
...
@@ -508,7 +508,7 @@ Events::update_event(THD *thd, Event_parse_data *parse_data,
/* Check that the target database exists */
if
(
check_db_dir_existence
(
new_dbname
->
str
))
{
my_error
(
ER_BAD_DB_ERROR
,
MYF
(
0
));
my_error
(
ER_BAD_DB_ERROR
,
MYF
(
0
)
,
new_dbname
->
str
);
DBUG_RETURN
(
TRUE
);
}
}
...
...
@@ -1116,7 +1116,7 @@ Events::load_events_from_db(THD *thd)
DBUG_ENTER
(
"Events::load_events_from_db"
);
DBUG_PRINT
(
"enter"
,
(
"thd: 0x%lx"
,
(
long
)
thd
));
if
(
(
ret
=
db_repository
->
open_event_table
(
thd
,
TL_WRITE
,
&
table
)
))
if
(
db_repository
->
open_event_table
(
thd
,
TL_WRITE
,
&
table
))
{
sql_print_error
(
"Event Scheduler: Failed to open table mysql.event"
);
DBUG_RETURN
(
TRUE
);
...
...
@@ -1137,8 +1137,8 @@ Events::load_events_from_db(THD *thd)
if
(
et
->
load_from_row
(
thd
,
table
))
{
sql_print_error
(
"Event Scheduler: "
"Error while
reading
from mysql.event. "
"The table
is probably
corrupted"
);
"Error while
loading events
from mysql.event. "
"The table
probably contains bad data or is
corrupted"
);
delete
et
;
goto
end
;
}
...
...
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