40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
*/
#include "sqlite3.h"
#include <stdio.h>
int main(int argc, char **argv){
int i;
static const char *zRequiredOpts[] = {
"ENABLE_FTS4", /* Required for repository search */
"ENABLE_JSON1", /* Required for the check-in locking protocol */
"ENABLE_DBSTAT_VTAB", /* Required by /repo-tabsize page */
"ENABLE_DBPAGE_VTAB", /* Required by the .dump command in "fossil sql" */
};
/* Check minimum SQLite version number */
if( sqlite3_libversion_number()<3028000 ){
printf("found SQLite version %s but need 3.28.0 or later\n",
sqlite3_libversion());
return 1;
|
|
|
|
|
|
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
*/
#include "sqlite3.h"
#include <stdio.h>
int main(int argc, char **argv){
int i;
static const char *zRequiredOpts[] = {
"ENABLE_FTS4", /* Required for repository search */
"ENABLE_JSON1", /* Required for the check-in locking protocol */
"ENABLE_DBSTAT_VTAB", /* Required by /repo-tabsize page */
"ENABLE_DBPAGE_VTAB", /* Required by the .recover command in "fossil sql" */
};
/* Check minimum SQLite version number */
if( sqlite3_libversion_number()<3028000 ){
printf("found SQLite version %s but need 3.28.0 or later\n",
sqlite3_libversion());
return 1;
|