summaryrefslogtreecommitdiff
path: root/sql/sql_tvc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_tvc.h')
-rw-r--r--sql/sql_tvc.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/sql/sql_tvc.h b/sql/sql_tvc.h
new file mode 100644
index 00000000000..e5c3477351c
--- /dev/null
+++ b/sql/sql_tvc.h
@@ -0,0 +1,27 @@
+#ifndef SQL_TVC_INCLUDED
+#define SQL_TVC_INCLUDED
+#include "sql_type.h"
+#include "item.h"
+
+typedef List<Item> List_item;
+class select_result;
+
+/**
+ @class table_value_constr
+ @brief Definition of a Table Value Construction(TVC)
+
+ It contains a list of lists of values that this TVC contains.
+*/
+
+class table_value_constr : public Sql_alloc
+{
+public:
+ List<List_item> lists_of_values;
+ select_result *result;
+
+ bool prepare(THD *thd_arg, SELECT_LEX *sl,
+ select_result *tmp_result);
+ bool exec();
+};
+
+#endif /* SQL_TVC_INCLUDED */ \ No newline at end of file