Navigation Menu

Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 15, 2017
1 parent 49323fb commit 955b8a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mrn_mysql_compat.h
Expand Up @@ -436,7 +436,7 @@
# define MRN_SUPPORT_GENERATED_COLUMNS
#endif

#if defined(HA_CAN_VIRTUAL_COLUMNS)
#ifdef MRN_MARIADB_P
# if (MYSQL_VERSION_ID >= 100200)
# define MRN_GENERATED_COLUMNS_FIELD_IS_VIRTUAL(field) \
(!field->stored_in_db())
Expand All @@ -446,7 +446,7 @@
# else
# define MRN_GENERATED_COLUMNS_FIELD_IS_VIRTUAL(field) false
# endif
#elif defined(HA_GENERATED_COLUMNS)
#else
# if (MYSQL_VERSION_ID >= 50708)
# define MRN_GENERATED_COLUMNS_FIELD_IS_VIRTUAL(field) \
(field->is_virtual_gcol())
Expand Down

0 comments on commit 955b8a6

Please sign in to comment.