fixed linux compile
This commit is contained in:
@@ -38,11 +38,11 @@ TEST_CASE_METHOD( QueryFixture, "Insert and select basic datatypes", "[query][da
|
||||
int8_t cval = 'c';
|
||||
short sval = (std::numeric_limits<short>::min)();
|
||||
int ival = (std::numeric_limits<int>::min)();
|
||||
long long llval = (std::numeric_limits<long long>::max)();
|
||||
int64_t llval = (std::numeric_limits<long long>::max)();
|
||||
unsigned char ucval = (std::numeric_limits<unsigned char>::max)();
|
||||
unsigned short usval = (std::numeric_limits<unsigned short>::max)();
|
||||
unsigned int uival = (std::numeric_limits<unsigned int>::max)();
|
||||
unsigned long long ullval = (std::numeric_limits<unsigned long long>::max)();
|
||||
uint64_t ullval = (std::numeric_limits<unsigned long long>::max)();
|
||||
if (db.type() == "sqlite" || db.type() == "postgres") {
|
||||
ullval = (std::numeric_limits<long long>::max)();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user