utelle / SQLite3MultipleCiphers

SQLite3 encryption extension with support for multiple ciphers
https://utelle.github.io/SQLite3MultipleCiphers/
MIT License
390 stars 73 forks source link

Build fails with the latest release when built in debug mode #74

Closed m4heshd closed 2 years ago

m4heshd commented 2 years ago

The build fails with the following error:

sqlite3.c:273888:31: error: ‘mcVfsGlobal’ undeclared (first use in this function); did you mean ‘mcVfsSleep’?
   assert(p->pMainNext == 0 && mcVfsGlobal.pMain != p);

You can take a look at this run to inspect the error in depth.

utelle commented 2 years ago

Sorry, I simply forgot to replace the reference to mcVfsGlobal in the assert statement with the new structure.

Strange enough Visual C++ compiles the code in debug mode without any error or warning message. Commit 91c7cd625ec279fb70c9c87b3704dfcf760951f3 should fix the problem.

m4heshd commented 2 years ago

Perfect. Thank you so much for the very fast patch. I'm gonna wait for a release to run a test on bs3mc. I'll leave the issue open till the next release in case somebody else run into this issue. 😊

utelle commented 2 years ago

I just made a new release. Sorry for the inconveniences.

m4heshd commented 2 years ago

Sorry for the inconveniences.

That was no trouble at all.

All tests ran perfectly. Thank you again. ❤️