This commit is contained in:
EmosewaMC 2022-12-08 04:44:56 -08:00
parent 8886bf6547
commit d5613b8034

View File

@ -49,9 +49,9 @@ bool FdbToSqlite::Convert::ConvertDatabase() {
}
int32_t FdbToSqlite::Convert::ReadInt32() {
uint32_t numberOfTables{};
BinaryIO::BinaryRead(fdb, numberOfTables);
return numberOfTables;
int32_t nextInt{};
BinaryIO::BinaryRead(fdb, nextInt);
return nextInt;
}
int64_t FdbToSqlite::Convert::ReadInt64() {
@ -193,7 +193,7 @@ void FdbToSqlite::Convert::ReadRowValues(int32_t& numberOfColumns, std::string&
case eSqliteDataType::NONE:
BinaryIO::BinaryRead(fdb, emptyValue);
assert(emptyValue == 0);
insertedRow << "\"\"";
insertedRow << "NULL";
break;
case eSqliteDataType::INT32: