From 973e82b13982deeef6477979d0a8ef8a1605c23f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sun, 10 Mar 2019 05:48:25 +0100 Subject: [PATCH] Fix a typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d5fb2b499..571354a9c 100644 --- a/README.md +++ b/README.md @@ -7319,7 +7319,7 @@ let dbQueue = try DatabaseQueue(path: "...", configuration: configuration) The `cipherPageSize` is used to adjust the page size for the encrypted database (this corresponds to the [SQLCipher `PRAGMA cipher_page_size`](https://www.zetetic.net/sqlcipher/sqlcipher-api/#cipher_page_size) configuration option). Increasing the page size can noticeably improve performance for certain queries that access large numbers of pages. -The default `cipherPageSize` in the current version of SQLCipher used in GRDB.swift is `.pageSize1K`. +The default `cipherPageSize` in the current version of SQLCipher used in GRDB.swift is `1024`. > :point_up: **Note**: the same `cipherPageSize` must be supplied every time that the database file is open; attempting to access the database without setting the proper `cipherPageSize` will result in the `SQLite error 26: file is encrypted or is not a database` error being thrown.