diff options
Diffstat (limited to 'SOURCES')
-rw-r--r-- | SOURCES/Makefile | 5 | ||||
-rw-r--r-- | SOURCES/sqlite-3.19.2.tar.gz | bin | 0 -> 2542613 bytes | |||
-rw-r--r-- | SOURCES/test.c | 19 |
3 files changed, 24 insertions, 0 deletions
diff --git a/SOURCES/Makefile b/SOURCES/Makefile new file mode 100644 index 0000000..8cc82c6 --- /dev/null +++ b/SOURCES/Makefile @@ -0,0 +1,5 @@ +CWD = $(shell readlink -f .) + +$(PWD)/sqlite-3.19.2.tar.gz: + wget -c "https://www.sqlite.org/2017/sqlite-autoconf-3190200.tar.gz" -O \ + $(PWD)/sqlite-3.19.2.tar.gz diff --git a/SOURCES/sqlite-3.19.2.tar.gz b/SOURCES/sqlite-3.19.2.tar.gz Binary files differnew file mode 100644 index 0000000..a3ab573 --- /dev/null +++ b/SOURCES/sqlite-3.19.2.tar.gz diff --git a/SOURCES/test.c b/SOURCES/test.c new file mode 100644 index 0000000..ab7597e --- /dev/null +++ b/SOURCES/test.c @@ -0,0 +1,19 @@ +#include<stdio.h> +#include<sqlite3.h> + +int +main(int argc, char **argv) +{ + int rc; + sqlite3 *db; + + rc = sqlite3_open(argv[1], &db); + if( rc ){ + printf("ERROR\n"); + sqlite3_close(db); + return(1); + } + printf("%d\n", sqlite3_limit(db, SQLITE_LIMIT_COLUMN, -1)); + sqlite3_close(db); + return 0; +} |