Commit graph

2 commits

Author SHA1 Message Date
Stephen Dennis
2de919cf12 Fix db/ test suite for current API and add null-safety to GetAttribute
Update test_sqlitedb.cpp and test_backend.cpp to match the current
PutAttribute/GetAttribute/GetAll signatures (owner + flags params added
in the Stage 3 attr column split).

Add null-checks on owner/flags out-params in CSQLiteDB::GetAttribute()
and CSQLiteBackend::Get() so callers can safely pass nullptr when they
don't need the metadata.

All 20 tests pass (10 CSQLiteDB + 10 IStorageBackend).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 23:11:03 -07:00
Stephen Dennis
31e52b402c Add IStorageBackend interface and SQLite adapter (Stage 2).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 20:43:43 -07:00