diff options
author | Aleksandrs Saveljevs <git-no-reply@zabbix.com> | 2011-03-18 13:17:14 +0300 |
---|---|---|
committer | Aleksandrs Saveljevs <git-no-reply@zabbix.com> | 2011-03-18 13:17:14 +0300 |
commit | cbeae00fb2ce24867efaee17452cd1e146aca003 (patch) | |
tree | f803ab822354272387267b01a4c73775e6bc7546 /include/dbschema.h | |
parent | dc6a26b1c13bb477ff3d7dcf488a279d9046d8df (diff) |
- [ZBXNEXT-676] Fixed warnings and made other improvements during code review.
Diffstat (limited to 'include/dbschema.h')
-rw-r--r-- | include/dbschema.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/dbschema.h b/include/dbschema.h index 2bd0333ca3f..cf0ff605f49 100644 --- a/include/dbschema.h +++ b/include/dbschema.h @@ -20,7 +20,7 @@ #ifndef ZABBIX_DBSCHEMA_H #define ZABBIX_DBSCHEMA_H -/* Flags */ +/* flags */ #define ZBX_SYNC 0x01 #define ZBX_NOTNULL 0x02 #define ZBX_HISTORY 0x04 @@ -28,10 +28,10 @@ #define ZBX_HISTORY_TRENDS 0x10 #define ZBX_PROXY 0x20 -/* FK Flags */ +/* FK flags */ #define ZBX_FK_CASCADE_DELETE 0x01 -/* Field types */ +/* field types */ #define ZBX_TYPE_INT 0 #define ZBX_TYPE_CHAR 1 #define ZBX_TYPE_FLOAT 2 @@ -40,7 +40,7 @@ #define ZBX_TYPE_UINT 5 #define ZBX_TYPE_ID 6 -#define ZBX_MAX_FIELDS 70 +#define ZBX_MAX_FIELDS 72 /* maximum number of fields in a table plus one for null terminator in dbschema.c */ #define ZBX_TABLENAME_LEN 64 #define ZBX_TABLENAME_LEN_MAX ZBX_TABLENAME_LEN + 1 #define ZBX_FIELDNAME_LEN 64 |