mirror of
https://github.com/samba-team/samba.git
synced 2025-11-16 20:23:50 +03:00
in tests/test-sqlite3.sh (tests/test-generic.sh). There are lots of optimizations still TBD, and some things are REALLY slow right now (e.g. each add() operation takes 1/3 - 1/2 second) but it's ready for interested parties to poke it and prod it and see how (un)reasonable it is. Play away. Still to be implemented or improved: - tdb specials (@MODULES, @SUBCLASSES, etc.) - all DNs are case-folded in their entirty right now (since doing otherwise would require @ATTRIBUTES to be implemented) - speed improvements and optimizations. I am quite confident that the excessively slow add() operation can be much improved, and other areas can be somewhat improved.
16 lines
301 B
C
16 lines
301 B
C
#include <sqlite3.h>
|
|
|
|
struct lsqlite3_private {
|
|
char ** options;
|
|
const char * basedn;
|
|
sqlite3 * sqlite;
|
|
int lock_count;
|
|
};
|
|
|
|
void
|
|
lsqlite3_base160(unsigned long val,
|
|
unsigned char result[5]);
|
|
|
|
char *
|
|
lsqlite3_base160Next(char base160[]);
|