SQLite User Forum

lsm1 compression
Login
I'm pretty sure that's the code that I'm using.

I created the build dir Tuesday, September 1:

```
fossil clone https://www.sqlite.org/src sqlite.fossil
mkdir sqlite3 ; cd sqlite3
fossil open ../sqlite.fossil
```

I copied code from a clone of [https://github.com/thoughtpolice/sqlite4_lsm_lz4](https://github.com/thoughtpolice/sqlite4_lsm_lz4):

```
sqlite4_lsm_lz4 % cp -p *.c *.h lz4/*.c lz4/*.h ../sqlite3/ext/lsm1
sqlite4_lsm_lz4 % ls *.c *.h lz4/*.c lz4/*.h
lsm-lz4.c		lsm-test.c		lz4/lz4.h		lz4/lz4_encoder.h
lsm-lz4.h		lz4/lz4.c		lz4/lz4_decoder.h
```

I edited the Makefile:
[https://github.com/galgeek/sqlite-lsm1-lz4/commit/3aae5c28eff92f7a7ff85b75b91b105239ed0de9](https://github.com/galgeek/sqlite-lsm1-lz4/commit/3aae5c28eff92f7a7ff85b75b91b105239ed0de9)

I edited vtab.c:
[https://github.com/galgeek/sqlite-lsm1-lz4/commit/4ed20a55afcd70f3595438e2d3f7d8b47f89cb59](https://github.com/galgeek/sqlite-lsm1-lz4/commit/4ed20a55afcd70f3595438e2d3f7d8b47f89cb59)