Use SQLite3 based authentication

The user data is now stored inside a SQLite3 database. By storing the data
inside a database, we remove the restriction that the previous hashtable
based implementation had.
This commit is contained in:
Markus Mäkelä
2017-01-28 12:58:24 +02:00
parent ce5e429ad3
commit 2b4ff82999
6 changed files with 378 additions and 27 deletions

View File

@ -25,3 +25,6 @@
#if SQLITE_VERSION_NUMBER < 3007014
#define sqlite3_close_v2 sqlite3_close
#endif
/** Default timeout is one minute */
#define MXS_SQLITE_BUSY_TIMEOUT 60000