/*
* This file is part of mapper
*
+ * Generic sqlite database helper functions.
+ *
* Copyright (C) 2007 Kaj-Michael Lang
*
* This program is free software; you can redistribute it and/or modify
#include <sqlite3.h>
#include "db.h"
-#include "osm-sql-tables.h"
sqlite3 *_db=NULL;
gchar *_mapper_db=NULL;
return FALSE;
}
+sqlite3_exec(*db, "PRAGMA page_size=4096;", NULL, NULL, NULL);
+sqlite3_exec(*db, "PRAGMA encoding = \"UTF-8\";", NULL, NULL, NULL);
+
/* Use smaller cache as the IT does not have much memory to spare */
#ifdef WITH_DEVICE_770
sqlite3_exec(*db, "PRAGMA cache_size = 2000;", NULL, NULL, NULL);