Changeset 626


Ignore:
Timestamp:
08/28/14 16:40:34 (5 years ago)
Author:
jls17
Message:
  • added a version check to avoid program crashes (if arapi 8.x is used to connect to servers below 7.0 the ARGetMultipleSchemas call doesn't return audit structs)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/work_311/scan/ScanSchema.cpp

    r617 r626  
    7676void CScanSchema::ScanAuditReference() 
    7777{ 
     78        if (CARInside::GetInstance()->CompareServerVersion(7,0) < 0) return; 
     79 
    7880        const ARAuditInfoStruct &audit = schema.GetAuditInfo(); 
    7981        if (audit.style != AR_AUDIT_NONE && audit.formName[0] != 0) 
Note: See TracChangeset for help on using the changeset viewer.