diff --git a/README.md b/README.md index bb65bf6..54775d2 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Roadmap: - concurrency is achieved by instantiating the module repeatedly - file access needs to be synchronized, both in-process and out-of-process - out-of-process should be compatible with SQLite on Windows/Unix -- [ ] benchmark to see if this is usefull at all: +- [ ] benchmark to see if this is useful at all: - [`github.com/cvilsmeier/sqinn-go`](https://github.com/cvilsmeier/sqinn-go-bench) - [`github.com/bvinc/go-sqlite-lite`](https://github.com/bvinc/go-sqlite-lite) - [`github.com/mattn/go-sqlite3`](https://github.com/mattn/go-sqlite3) diff --git a/sqlite3/main.c b/sqlite3/main.c index 03f5424..589f72f 100644 --- a/sqlite3/main.c +++ b/sqlite3/main.c @@ -1,15 +1,16 @@ #include + #include "sqlite3.h" int main() { - int rc = sqlite3_initialize(); - if (rc != SQLITE_OK) return -1; + int rc = sqlite3_initialize(); + if (rc != SQLITE_OK) return -1; } sqlite3_vfs *sqlite3_demovfs(); int sqlite3_os_init() { - return sqlite3_vfs_register(sqlite3_demovfs(), /*default=*/1); + return sqlite3_vfs_register(sqlite3_demovfs(), /*default=*/1); } sqlite3_destructor_type malloc_destructor = &free; \ No newline at end of file