@@ -12,9 +12,7 @@ For easy building, I also put libTomCrypt related files in project.
12
12
13
13
sqlite3 driver conforming to the built-in database/sql interface
14
14
15
- Supported Golang version:
16
- - 1.9.x
17
- - 1.10.x
15
+ Supported Golang version: See .travis.yml
18
16
19
17
[ This package follows the official Golang Release Policy.] ( https://golang.org/doc/devel/release.html#policy )
20
18
@@ -88,6 +86,7 @@ This is also known as a DSN string. (Data Source Name).
88
86
89
87
Options are append after the filename of the SQLite database.
90
88
The database filename and options are seperated by an ` ? ` (Question Mark).
89
+ Options should be URL-encoded (see [ url.QueryEscape] ( https://golang.org/pkg/net/url/#QueryEscape ) ).
91
90
92
91
This also applies when using an in-memory database instead of a file.
93
92
@@ -219,7 +218,7 @@ Additional information:
219
218
220
219
# Google Cloud Platform
221
220
222
- Building on GCP is not possible because ` Google Cloud Platform does not allow ` gcc` to be executed.
221
+ Building on GCP is not possible because Google Cloud Platform does not allow ` gcc ` to be executed.
223
222
224
223
Please work only with compiled final binaries.
225
224
@@ -302,7 +301,7 @@ To compile this package on Windows OS you must have the `gcc` compiler installed
302
301
3 ) Open a terminal for the TDM-GCC toolchain, can be found in the Windows Start menu.
303
302
4 ) Navigate to your project folder and run the ` go build ... ` command for this package.
304
303
305
- For example the TDM-GCC Toolchain can be found [ here] ( ttps ://sourceforge.net/projects/tdm-gcc/) .
304
+ For example the TDM-GCC Toolchain can be found [ here] ( https ://sourceforge.net/projects/tdm-gcc/) .
306
305
307
306
## Errors
308
307
@@ -311,7 +310,7 @@ For example the TDM-GCC Toolchain can be found [here](ttps://sourceforge.net/pro
311
310
When receiving a compile time error referencing recompile with ` -FPIC ` then you
312
311
are probably using a hardend system.
313
312
314
- You can copile the library on a hardend system with the following command.
313
+ You can compile the library on a hardend system with the following command.
315
314
316
315
``` bash
317
316
go build -ldflags ' -extldflags=-fno-PIC'
@@ -505,7 +504,7 @@ For an example see [shaxbee/go-spatialite](https://github.com/shaxbee/go-spatial
505
504
506
505
- Error: ` database is locked`
507
506
508
- When you get an database is locked. Please use the following options.
507
+ When you get a database is locked. Please use the following options.
509
508
510
509
Add to DSN: ` cache=shared`
511
510
@@ -517,7 +516,7 @@ For an example see [shaxbee/go-spatialite](https://github.com/shaxbee/go-spatial
517
516
Second please set the database connections of the SQL package to 1.
518
517
519
518
` ` ` go
520
- db.SetMaxOpenConn (1)
519
+ db.SetMaxOpenConns (1)
521
520
` ` `
522
521
523
522
More information see [# 209](https://github.com/mattn/go-sqlite3/issues/209)
0 commit comments