aboutsummaryrefslogtreecommitdiff
path: root/tests/dedo.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* src/dedo.go: Add separate read and read-write ROCursorI and RWCursorI typesEuAndreh2025-02-191-20/+20
|
* src/dedo.go: Add strict separation between ROBucketI and RWBucketIEuAndreh2025-02-191-182/+84
|
* src/dedo.go: Allow x.Bucket() to also return an errorEuAndreh2025-02-121-112/+136
|
* src/dedo.go: Remove *bucketT appearance from public APIEuAndreh2025-02-101-9/+9
|
* src/dedo.go: Simple rename from DB to databaseTEuAndreh2025-02-101-25/+25
|
* src/dedo.go: Simple rename Bucket -> bucketTEuAndreh2025-02-101-10/+10
|
* src/dedo.go: Simple renames - beginRWTx->beginTransaction, ↵EuAndreh2025-02-091-27/+27
| | | | beginTx->beginSnapshot
* src/dedo.go: Simple rename of Tx to transactionTEuAndreh2025-02-091-29/+29
|
* src/dedo.go: Rename DedoI -> DatabaseIEuAndreh2025-02-081-2/+2
|
* src/dedo.go: Inline code of db.begin()EuAndreh2025-02-071-26/+32
|
* src/dedo.go: Rename TxI -> TransactionIEuAndreh2025-02-071-118/+118
|
* src/dedo.go: Rename IDedo -> DedoI, ITx -> TxIEuAndreh2025-02-071-127/+125
|
* src/dedo.go: Introduce SnapshotI typeEuAndreh2025-02-071-71/+79
|
* src/dedo.go: Introduce ITx interfaceEuAndreh2025-02-061-155/+158
|
* src/dedo.go: Replace concrete *DB type with IDedo interfaceEuAndreh2025-02-061-7/+12
|
* tests/dedo.go: Add tests for usage(), getGetopt() and setGetopt()EuAndreh2025-02-061-1/+87
|
* src/dedo.go: Parameterize the file "magic" byte markersEuAndreh2025-01-301-4/+17
|
* tests/dedo.go: Add tests for getopt() and runCommand()EuAndreh2025-01-271-0/+256
|
* tests/dedo.go: Add missing call to test_commands()EuAndreh2025-01-251-0/+1
|
* src/dedo.go: Remove public PageInfo typeEuAndreh2025-01-251-19/+27
|
* src/dedo.go: Remove Tx.CopyFile() and Tx.Page() public functionsEuAndreh2025-01-251-147/+60
|
* src/dedo.go: Remove public Cursor.Bucket() and Tx.DB() public functionsEuAndreh2025-01-251-26/+1
|
* src/dedo.go: Remove Bucket.Sequence() and Bucket.SetSequence()EuAndreh2025-01-251-52/+1
|
* src/dedo.go: Remove Bucket.Writable() and Tx.Writable() public APIEuAndreh2025-01-251-1/+1
|
* src/dedo.go: Remove Tx.managed fieldEuAndreh2025-01-251-154/+0
|
* src/dedo.go: Remove public API for manually managing transactionsEuAndreh2025-01-251-58/+58
|
* tests/dedo.go: Swallow error log from g.Assert()EuAndreh2025-01-251-0/+31
|
* Stylistic: stick to 80 columns and rewrite if err := ... codeEuAndreh2025-01-251-843/+1894
|
* src/dedo.go: Remove dbops typeEuAndreh2025-01-241-2/+0
|
* src/dedo.go: Remove Stats-related codeEuAndreh2025-01-241-542/+0
|
* Remove other unused codeEuAndreh2025-01-241-6/+0
|
* src/dedo.go: Remove old CLI code (~2k LoC!!)EuAndreh2025-01-241-269/+0
|
* src/dedo.go: Start rewrite and simplification of CLI implEuAndreh2025-01-241-1/+10
|
* src/dedo.go: Remove deprecated Tx.Copy() methodEuAndreh2025-01-241-2/+4
|
* src/dedo.go: Simplify initDB()EuAndreh2025-01-231-21/+46
|
* src/dedo.go: Instantiate &DB{} only after opening the file; simplify Open()EuAndreh2024-12-311-0/+5
|
* src/dedo.go: Remove DB.Info() methodEuAndreh2024-12-311-3/+3
|
* src/dedo.go: Remove mode and options from Open()EuAndreh2024-12-301-34/+34
|
* src/dedo.go: Remove Options.InitialMmapSize optionEuAndreh2024-12-301-2/+1
|
* src/dedo.go: Remove Bucket.FillPercent optionEuAndreh2024-12-301-1/+1
|
* src/dedo.go: Remove DB.ReadOnly optionEuAndreh2024-12-301-0/+51
|
* tests/dedo.go: Normalize testsEuAndreh2024-12-301-54/+404
| | | | | | | | | | | - hack extra `os.Remove()` calls to avoid leaving temporary files around; - try using temporary directories that usually live in RAM; - disable broken tests; - stop printing to stdout/stderr; - decrease test constants to make slow tests bearable*. (*): tests are bearable in RAM (~5s) or on SSDs (~10s). HDDs are still too slow for them (~2m).
* Rename "gkv" -> "dedo"EuAndreh2024-10-301-0/+6021