1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
#
# Different statements not related to an engine,
# but added to provide function coverage for handler.cc and handler.h.
# The test can be disabled or removed later.
#
# hits get_error_message(int, String*)
--source have_engine.inc
INSERT INTO mysql.event (
db,
name,
body,
definer,
interval_value,
interval_field,
originator,
character_set_client,
collation_connection,
db_collation,
body_utf8)
values (
database(),
"ev1",
"select 1",
user(),
100,
"SECOND_MICROSECOND",
1,
'utf8',
'utf8_general_ci',
'utf8_general_ci',
'select 1');
--let $error_codes = ER_NOT_SUPPORTED_YET
SHOW EVENTS;
--source check_errors.inc
DROP EVENT ev1;
# hits get_foreign_key_list(THD*, List<st_foreign_key_info>*)
--sorted_result
SELECT TABLE_NAME, COLUMN_NAME, REFERENCED_TABLE_NAME, REFERENCED_COLUMN_NAME
FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE ORDER BY TABLE_NAME;
--source cleanup_engine.inc
|