AP: Update Sqlite to version 3.37.2 (#7124)
* Update sqlite package for windows Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com> * Add assert to make sure sqlite header and lib version match Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com> * Update linux Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com> * Update Builting Package / Mac for Sqlite 3.37.2-rev1 Signed-off-by: spham <82231385+spham-amzn@users.noreply.github.com> * Re-add newline at end of file Signed-off-by: amzn-mike <80125227+amzn-mike@users.noreply.github.com> Co-authored-by: spham <82231385+spham-amzn@users.noreply.github.com>
This commit is contained in:
@@ -65,6 +65,9 @@ namespace AzToolsFramework
|
||||
|
||||
bool Connection::Open(const AZStd::string& filename, bool readOnly)
|
||||
{
|
||||
AZ_Assert(sqlite3_libversion_number() == SQLITE_VERSION_NUMBER, "Sqlite header version number does not match library");
|
||||
AZ_Assert(strncmp(sqlite3_sourceid(), SQLITE_SOURCE_ID, 80) == 0, "Sqlite header source id does not match library");
|
||||
AZ_Assert(strcmp(sqlite3_libversion(), SQLITE_VERSION) == 0, "Sqlite header version does not match library");
|
||||
AZ_Assert(m_db == NULL, "You have to close the database prior to opening a new one.");
|
||||
if (m_db)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user