diff options
author | Alexander Barkov <bar@mariadb.com> | 2019-06-16 07:51:59 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2019-06-16 19:03:47 +0400 |
commit | 4156b1a2602915d6adf983e5c8efaa4f41df3d21 (patch) | |
tree | 3e5d25df62e59d5d73025557b87b63973fbf83b3 /plugin/feedback/feedback.cc | |
parent | 984d7100cdab91fb23d97c05e8b6329a90fe1583 (diff) | |
download | mariadb-git-4156b1a2602915d6adf983e5c8efaa4f41df3d21.tar.gz |
MDEV-19772 Add helper classes for ST_FIELD_INFO
Diffstat (limited to 'plugin/feedback/feedback.cc')
-rw-r--r-- | plugin/feedback/feedback.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/feedback/feedback.cc b/plugin/feedback/feedback.cc index 48e3d21f6fe..b8e6feb3807 100644 --- a/plugin/feedback/feedback.cc +++ b/plugin/feedback/feedback.cc @@ -67,9 +67,9 @@ ST_SCHEMA_TABLE *i_s_feedback; ///< table descriptor for our I_S table */ static ST_FIELD_INFO feedback_fields[] = { - {"VARIABLE_NAME", 255, MYSQL_TYPE_STRING, 0, 0, 0, 0}, - {"VARIABLE_VALUE", 1024, MYSQL_TYPE_STRING, 0, 0, 0, 0}, - {0, 0, MYSQL_TYPE_NULL, 0, 0, 0, 0} + Show::Column("VARIABLE_NAME", Show::Varchar(255), NOT_NULL), + Show::Column("VARIABLE_VALUE", Show::Varchar(1024), NOT_NULL), + Show::CEnd() }; static COND * const OOM= (COND*)1; |