diff options
author | horchi <vdr@jwendel.de> | 2020-02-09 17:08:24 +0100 |
---|---|---|
committer | horchi <vdr@jwendel.de> | 2020-02-09 17:08:24 +0100 |
commit | 35395e6bf84581526e17f8b4c966ac9f39e437bc (patch) | |
tree | 3a507e4abbef444a1c2651cfce9d160a00258442 /lib | |
parent | 71cd4593136eeaf7612f6ca44e61172221d77b77 (diff) | |
download | vdr-epg-daemon-35395e6bf84581526e17f8b4c966ac9f39e437bc.tar.gz vdr-epg-daemon-35395e6bf84581526e17f8b4c966ac9f39e437bc.tar.bz2 |
2019-12-22: version 1.1.150 (horchi)\n - bugfix: Added missing commit after timer cleanup\n\n
Diffstat (limited to 'lib')
-rw-r--r-- | lib/db.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -952,6 +952,12 @@ int cDbTable::validateStructure(int allowAlter) strcasecmp(fieldInfo->description.c_str(), getField(i)->getDescription()) != 0 || (strcasecmp(fieldInfo->def.c_str(), getField(i)->getDefault()) != 0 && !(getField(i)->getType() & ftPrimary))) { + if (strcasecmp(fieldInfo->columnFormat.c_str(), colType) != 0) + tell(4, "Debug: Format of '%s' changed from '%s' to '%s'", getField(i)->getDbName(), fieldInfo->columnFormat.c_str(), colType); + + if (strcasecmp(fieldInfo->description.c_str(), getField(i)->getDescription()) != 0) + tell(4, "Debug: Description of '%s' changed from '%s' to '%s'", getField(i)->getDbName(), fieldInfo->description.c_str(), getField(i)->getDescription()); + alterModifyField(getField(i)); } } |