Set def page size for HDB SQLite3 backend to 8KB
This commit is contained in:
@@ -418,6 +418,10 @@ hdb_sqlite_make_database(krb5_context context, HDB *db, const char *filename)
|
|||||||
|
|
||||||
created_file = 1;
|
created_file = 1;
|
||||||
|
|
||||||
|
hdb_sqlite_exec_stmt(context, hsdb,
|
||||||
|
"PRAGMA main.page_size = 8192",
|
||||||
|
HDB_ERR_UK_SERROR);
|
||||||
|
|
||||||
ret = hdb_sqlite_exec_stmt(context, hsdb,
|
ret = hdb_sqlite_exec_stmt(context, hsdb,
|
||||||
HDBSQLITE_CREATE_TABLES,
|
HDBSQLITE_CREATE_TABLES,
|
||||||
HDB_ERR_UK_SERROR);
|
HDB_ERR_UK_SERROR);
|
||||||
|
Reference in New Issue
Block a user