DbImplementation.cpp (Firebird-3.0.2.32703-0.tar.bz2) | : | DbImplementation.cpp (Firebird-3.0.4.33054-0.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 190 | skipping to change at line 190 | |||
EndianBig); | EndianBig); | |||
#else | #else | |||
EndianLittle); | EndianLittle); | |||
#endif | #endif | |||
bool DbImplementation::compatible(const DbImplementation& v) const | bool DbImplementation::compatible(const DbImplementation& v) const | |||
{ | { | |||
return di_flags == v.di_flags; | return di_flags == v.di_flags; | |||
} | } | |||
bool DbImplementation::ods12_1_gen() const | ||||
{ | ||||
if ((di_cpu == CpuAmd || di_cpu == CpuIntel) && di_os == OsWindows && di_ | ||||
cc == CcMsvc) | ||||
return true; | ||||
if (di_cpu == CpuAmd && di_os == OsLinux && di_cc == CcGcc) | ||||
return true; | ||||
return false; | ||||
} | ||||
bool DbImplementation::ods12_0_gen() const | ||||
{ | ||||
if (di_cpu == CpuIntel && di_os == OsLinux && di_cc == CcGcc) | ||||
return true; | ||||
return false; | ||||
} | ||||
bool DbImplementation::same() const | ||||
{ | ||||
if (di_cpu == current.di_cpu && di_os == current.di_os && di_cc == curren | ||||
t.di_cc) | ||||
return true; | ||||
return false; | ||||
} | ||||
void DbImplementation::store(Ods::header_page* h) const | void DbImplementation::store(Ods::header_page* h) const | |||
{ | { | |||
h->hdr_cpu = di_cpu; | h->hdr_cpu = di_cpu; | |||
h->hdr_os = di_os; | h->hdr_os = di_os; | |||
h->hdr_cc = di_cc; | h->hdr_cc = di_cc; | |||
h->hdr_compatibility_flags = di_flags; | h->hdr_compatibility_flags = di_flags; | |||
} | } | |||
void DbImplementation::stuff(UCHAR** info) const | void DbImplementation::stuff(UCHAR** info) const | |||
{ | { | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 29 lines changed or added |