summaryrefslogtreecommitdiff
path: root/sql/sql_signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_signal.h')
-rw-r--r--sql/sql_signal.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/sql/sql_signal.h b/sql/sql_signal.h
index 433cee21d58..092c917942c 100644
--- a/sql/sql_signal.h
+++ b/sql/sql_signal.h
@@ -18,6 +18,35 @@
#define SQL_SIGNAL_H
/**
+ Set_signal_information is a container used in the parsed tree to represent
+ the collection of assignments to condition items in the SIGNAL and RESIGNAL
+ statements.
+*/
+class Set_signal_information
+{
+public:
+ /** Empty default constructor, use clear() */
+ Set_signal_information() {}
+
+ /** Copy constructor. */
+ Set_signal_information(const Set_signal_information& set);
+
+ /** Destructor. */
+ ~Set_signal_information()
+ {}
+
+ /** Clear all items. */
+ void clear();
+
+ /**
+ For each condition item assignment, m_item[] contains the parsed tree
+ that represents the expression assigned, if any.
+ m_item[] is an array indexed by Diag_condition_item_name.
+ */
+ Item *m_item[LAST_DIAG_SET_PROPERTY+1];
+};
+
+/**
Sql_cmd_common_signal represents the common properties of the
SIGNAL and RESIGNAL statements.
*/