MySQL 9.1.0
Source Code Documentation
event_tracking_stored_program_defs.h
Go to the documentation of this file.
1/* Copyright (c) 2022, 2024, Oracle and/or its affiliates.
2
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License, version 2.0,
5 as published by the Free Software Foundation.
6
7 This program is designed to work with certain software (including
8 but not limited to OpenSSL) that is licensed under separate terms,
9 as designated in a particular file or component or in included license
10 documentation. The authors of MySQL hereby grant you an additional
11 permission to link the program and your derivative works with the
12 separately licensed software that they have either included with
13 the program or referenced in the documentation.
14
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License, version 2.0, for more details.
19
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software
22 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
23
24#ifndef COMPONENTS_SERVICES_DEFS_EVENT_TRACKING_STORED_PROGRAM_DEFS_H
25#define COMPONENTS_SERVICES_DEFS_EVENT_TRACKING_STORED_PROGRAM_DEFS_H
26
28
29/**
30 @file mysql/components/services/defs/event_tracking_stored_program_defs.h
31 Data for stored program event tracking.
32*/
33
34/** Stored program execute event */
35#define EVENT_TRACKING_STORED_PROGRAM_EXECUTE (1 << 0)
36
37#define EVENT_TRACKING_STORED_PROGRAM_ALL EVENT_TRACKING_STORED_PROGRAM_EXECUTE
38
39/**
40 @typedef mysql_event_tracking_stored_program_subclass_t
41
42 Events for Stored program event tracking.
43*/
45
46/**
47 @struct mysql_event_tracking_stored_program_data
48
49 Structure for Stored program event tracking.
50*/
52 /** Event subclass. */
54 /** Connection id. */
56 /**
57 The Database the procedure is defined in
58 System charset (defaults to utf8mb4)
59 Please use @ref s_mysql_mysql_charset to obtain charset
60 */
62 /**
63 Name of the stored program - System charset (defaults to utf8mb4)
64 Please use @ref s_mysql_mysql_charset to obtain charset
65 */
67 /** Stored program parameters. */
69};
70
71#endif // COMPONENTS_SERVICES_DEFS_EVENT_TRACKING_STORED_PROGRAM_DEFS_H
Common data used for tracking various types of events.
unsigned long mysql_connection_id
Connection Identifier.
Definition: event_tracking_common_defs.h:46
unsigned long mysql_event_tracking_stored_program_subclass_t
Events for Stored program event tracking.
Definition: event_tracking_stored_program_defs.h:44
String with length information.
Definition: mysql_string_defs.h:33
Structure for Stored program event tracking.
Definition: event_tracking_stored_program_defs.h:51
mysql_cstring_with_length database
The Database the procedure is defined in System charset (defaults to utf8mb4) Please use s_mysql_mysq...
Definition: event_tracking_stored_program_defs.h:61
mysql_event_tracking_stored_program_subclass_t event_subclass
Event subclass.
Definition: event_tracking_stored_program_defs.h:53
mysql_cstring_with_length name
Name of the stored program - System charset (defaults to utf8mb4) Please use s_mysql_mysql_charset to...
Definition: event_tracking_stored_program_defs.h:66
mysql_connection_id connection_id
Connection id.
Definition: event_tracking_stored_program_defs.h:55
void * parameters
Stored program parameters.
Definition: event_tracking_stored_program_defs.h:68