-
-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMake and make script won't export user authentication functions #133
Comments
Well, the autoconf/automake build files coming with sqlite3mc were originally not meant to be used on Windows platforms (MSYS). However, I agree that it would be nice to have them working there as well.
The CMake script was adjusted recently to define the preprocessor symbol As you observed this works for all API functions ... except the ones of the user authentication. The reason is that the functions of the user authentication API are not decorated with the symbol To be frank I'm extremely sorry to have added the user authentication extension at all. It keeps causing issues all the time. This extension is provided by the SQLite core developer team, but it is not maintained well. There are flaws in the implementation, but bug reports are ignored. Actually, the user authentication is not very useful, because it prevents unauthorized access only, if it was compiled into the SQLite library. If you access a database file, that was created with a user authentication enabled SQLite library, with a SQLite library that does not contain this extension, you can freely access all data in the database. |
Found that the user authentication functions missing prefix |
Under Windows a DLL build with autoconf/automake (MSYS) did not export the SQLite API properly. All Windows build files have been adjusted to use the symbol SQLITE_API to define the API to be exported from a DLL, instead of using a .def file (which could cause various problems).
Commit 85be37e should fix the issue with missing exported API functions. The preprocessor symbol |
The library built by autotools script: missing most of functions
https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-sqlite3mc/PKGBUILD
The library built by CMake script: missing user authentication functions only
Anything missing by me?
The text was updated successfully, but these errors were encountered: