summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests/test-sqlite3.sh
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r19461: Make sqlite3 work again (semi-async)Simo Sorce1-6/+9
Still not all tests pass (This used to be commit cbfc7305ad594c672a16a7f6f82758d17eb5ba62)
2007-10-10r10232: Some work on ldb_sqlite3.Simo Sorce1-1/+13
It is still far from being usable in samba4 but I want to commit so that the work does not get lost by mistake. This is also a good way to get comments if somebody is interested. Sorry Derrell I ended up rewriting large parts of the code but I find this style much more readable. Thanks for the hard work done. Your work was a good reference for me. ah the current code also shows some good numbers sqlite3 generic test: uid search took 0.05 seconds real 0m12.492s user 0m0.492s sys 0m0.345s with tdb we still get better numbers: uid search took 0.46 seconds real 0m0.892s user 0m0.360s sys 0m0.468s but most of the time is spent in adding operations and I think there's still a lot of space for improvement. Simo. (This used to be commit ace9990060c10d0931f418934b2121aea9512ff7)
2007-10-10r8485: - be friendly to shells other than bashAndrew Tridgell1-1/+2
- don't use /tmp in test paths, as that opens us to symlink attacks (This used to be commit 9f29cccbc1fb44cb0317911601456c190883f066)
2007-10-10r8039: allow ldb test suite to be run outside of the ldb directoryAndrew Tridgell1-1/+1
(This used to be commit f3e3b2ccd93b87c1c240cf7e44106389b089b526)
2007-10-10r7828: Although there is still plenty to do, ldb_sqlite3 now passes the set ↵Derrell Lipman1-1/+1
of tests 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. (This used to be commit 1dd865005594671e7effe06fb088fa97fa08de0b)
2007-10-10r7338: let it be possible to run sqlite3 tests when it is compiled inSimo Sorce1-0/+9
make it also so that we do not run test for modules we do not compile in (This used to be commit c226c1c7a393b398510dec0931aba2ddd09af4c3)