mirror of
https://github.com/samba-team/samba.git
synced 2025-12-06 16:23:49 +03:00
r7276: - moved static tdb function ltdb_dn_fold() into common/ so that it can be
called from multiple backends. (ldb_sqlite3 needs it too.) Added parameter for a callback function that determines whether an attribute needs case folding. - begin to prepare for sqlite3 in build process - work-in-progress updates, on ldb_sqlite3
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
0dda66f0e8
commit
a80bced0b9
@@ -62,6 +62,12 @@ struct ldb_context *ldb_connect(const char *url, unsigned int flags,
|
||||
}
|
||||
#endif
|
||||
|
||||
#if HAVE_SQLITE3
|
||||
if (strncmp(url, "sqlite:", 7) == 0) {
|
||||
ldb_ctx = lsqlite3_connect(url, flags, options);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
if (!ldb_ctx) {
|
||||
errno = EINVAL;
|
||||
|
||||
Reference in New Issue
Block a user