summaryrefslogtreecommitdiff
path: root/include/mysql.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2016-11-24 09:49:12 +0100
committerSergei Golubchik <serg@mariadb.org>2016-12-12 20:35:51 +0100
commit1db438c83386e0e58487056d6ea25a0f5e97f4d9 (patch)
tree7b40eb0c4a9a26fb1b56bae6f78ca64baa6d6318 /include/mysql.h
parent6eaa5fd21081c23f3d4da5be71a32886d98de5e9 (diff)
downloadmariadb-git-1db438c83386e0e58487056d6ea25a0f5e97f4d9.tar.gz
MDEV-11066 use MySQL terminology for "virtual columns"
Diffstat (limited to 'include/mysql.h')
-rw-r--r--include/mysql.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/mysql.h b/include/mysql.h
index eab859270f7..80e75c264e8 100644
--- a/include/mysql.h
+++ b/include/mysql.h
@@ -138,6 +138,12 @@ typedef unsigned long long my_ulonglong;
#define ER_WARN_DATA_TRUNCATED WARN_DATA_TRUNCATED
#define WARN_PLUGIN_DELETE_BUILTIN ER_PLUGIN_DELETE_BUILTIN
#define ER_FK_DUP_NAME ER_DUP_CONSTRAINT_NAME
+#define ER_VIRTUAL_COLUMN_FUNCTION_IS_NOT_ALLOWED ER_GENERATED_COLUMN_FUNCTION_IS_NOT_ALLOWED
+#define ER_PRIMARY_KEY_BASED_ON_VIRTUAL_COLUMN ER_PRIMARY_KEY_BASED_ON_GENERATED_COLUMN
+#define ER_WRONG_FK_OPTION_FOR_VIRTUAL_COLUMN ER_WRONG_FK_OPTION_FOR_GENERATED_COLUMN
+#define ER_WARNING_NON_DEFAULT_VALUE_FOR_VIRTUAL_COLUMN ER_WARNING_NON_DEFAULT_VALUE_FOR_GENERATED_COLUMN
+#define ER_UNSUPPORTED_ACTION_ON_VIRTUAL_COLUMN ER_UNSUPPORTED_ACTION_ON_GENERATED_COLUMN
+#define ER_UNSUPPORTED_ENGINE_FOR_VIRTUAL_COLUMNS ER_UNSUPPORTED_ENGINE_FOR_GENERATED_COLUMNS
typedef struct st_mysql_rows {
struct st_mysql_rows *next; /* list of rows */