aboutsummaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #534 from basvanbeek/master•••only enable pread/pwrite for linux. fixes #533 and fixes #532mattn2018-02-181-1/+2
|\
| * only enable pread/pwrite for linux. fixes #533 and fixes #532Bas van Beek2018-02-171-1/+2
|/
* Merge pull request #531 from navytux/y/preadwrite•••Let SQLite use pread/pwritemattn2018-02-171-1/+1
|\
| * Let SQLite use pread/pwrite•••With current settings SQLite was using lseek/read syscalls to read data, e.g.: 20:43:17.640660 fcntl(3, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0 20:43:17.640683 fcntl(3, F_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=1073741824, l_len=1}) = 0 20:43:17.640705 fcntl(3, F_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=1073741826, l_len=510}) = 0 20:43:17.640725 fcntl(3, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=1073741824, l_len=1}) = 0 20:43:17.640744 stat(".../neo.sqlite-journal", 0x7ffef2c91080) = -1 ENOENT (No such file or directory) 20:43:17.640764 lseek(3, 24, SEEK_SET) = 24 20:43:17.640779 read(3, "\0\0\0\33\0\0\10\235\0\0\10]\0\0\0\27", 16) = 16 20:43:17.640795 stat(".../neo.sqlite-wal", 0x7ffef2c91080) = -1 ENOENT (No such file or directory) but if we allow it to use pread it will be only 1 system call instead of 2 and reading this way can also be done in parallel because there is no global to file seeking: 20:48:42.668466 fcntl(3, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0 20:48:42.668501 fcntl(3, F_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=1073741824, l_len=1}) = 0 20:48:42.668522 fcntl(3, F_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=1073741826, l_len=510}) = 0 20:48:42.668542 fcntl(3, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=1073741824, l_len=1}) = 0 20:48:42.668561 stat(".../neo.sqlite-journal", 0x7ffdbc1f22c0) = -1 ENOENT (No such file or directory) 20:48:42.668580 pread64(3, "\0\0\0\33\0\0\10\235\0\0\10]\0\0\0\27", 16, 24) = 16 20:48:42.668597 stat(".../neo.sqlite-wal", 0x7ffdbc1f22c0) = -1 ENOENT (No such file or directory) (if needed this enablement can be done per OS) Kirill Smelkov2018-02-161-1/+1
|/
* Merge pull request #527 from mattn/sqlite-amalgamation-3220000•••bump sqlite 3.22.0mattn2018-02-074-3194/+5559
|\
| * bump sqlite 3.22.0•••closes #526 Yasuhiro Matsumoto2018-02-074-3194/+5559
* | Merge pull request #525 from mattn/add-usleep•••add -DHAVE_USLEEP=1mattn2018-02-071-1/+1
|\|
| * add -DHAVE_USLEEP=1•••fixes #211 Yasuhiro Matsumoto2018-02-071-1/+1
* | Merge pull request #524 from jckimble/master•••Add static_mock.go to allow building with CGO_ENABLED=0mattn2018-02-023-0/+25
|\ \
| * | Add static_mock.go to allow building with CGO_ENABLED=0James C Kimble2018-01-313-0/+25
|/ /
* | Merge pull request #521 from mattn/fix520•••fix type of event codemattn2018-01-292-11/+13
|\|
| * fix type of event code•••fixes #520 Yasuhiro Matsumoto2018-01-292-11/+13
* | Merge pull request #501 from matthewswain/patch-1•••Update README.mdmattn2018-01-221-1/+1
|\ \
| * | Update README.md•••Clarified the gcc requirement to avoid confusion.Matthew Swain2017-11-301-1/+1
* | | Merge pull request #515 from mattn/fix514•••add build constraint for solarismattn2018-01-221-0/+12
|\ \ \ | |_|/ |/| |
| * | add build constraint for solaris•••fixes #514 Yasuhiro Matsumoto2018-01-221-0/+12
|/ /
* | Merge pull request #462 from faruzzy/master•••Updated "context" import since it has become a standard library mattn2018-01-121-2/+1
|\ \ | |/ |/|
| * Updated "context" import since it has become a standard library after go 1.7 ...Roland Pangu2017-09-051-2/+1
* | Merge pull request #489 from Projectplace/fix-cancel-race•••Fix race in ExecContextmattn2017-11-222-2/+27
|\ \
| * | Fix race in ExecContext•••When the context is cancelled, an interrupt should only be made if the operation is still ongoing. Niklas Janlert2017-11-212-2/+27
|/ /
* | Merge pull request #485 from mattn/sqlite3-3.21.0•••upgrade SQLite3 amalgamation codemattn2017-11-214-6858/+11082
|\ \
| * | fix error messageYasuhiro Matsumoto2017-11-191-2/+2
| * | handle new error messageYasuhiro Matsumoto2017-11-181-1/+1
| * | upgrade SQLite3 amalgamation codeYasuhiro Matsumoto2017-11-183-6856/+11080
|/ /
* | replace header nameYasuhiro Matsumoto2017-11-181-1/+13
* | Merge pull request #484 from mattn/fix-header•••fix header filemattn2017-11-181-2/+2
|\ \
| * | fix header fileYasuhiro Matsumoto2017-11-171-2/+2
|/ /
* | Merge pull request #479 from kenshaw/move-registeraggregator•••Move RegisterAggregator implementationmattn2017-11-144-201/+187
|\ \
| * | Move RegisterAggregator implementation•••The SQLiteConn.RegisterAggregator implementation was defined in sqlite3_trace.go file, which is guarded with a build constraint. This change simply moves RegisterAggregator to the main sqlite3.go file, and moves accompanying unit tests. The rationale for this move is that it was not possible for downstream using packages to use RegisterAggregator without also specifying (and notifying the user) the 'trace' build tag. Kenneth Shaw2017-11-054-201/+187
* | | Merge pull request #440 from t2y/add-sqlite3-limit•••Support sqlite3_limit to get/set the value of run-time limitsmattn2017-11-142-0/+169
|\ \ \ | |/ / |/| |
| * | fix to be able to build with GOTAGS=libsqlite3Tetsuya Morimoto2017-11-051-0/+2
| * | update to call _sqlite3_limit as a wrapper instead of sqlite3_limitTetsuya Morimoto2017-11-051-2/+26
| * | support sqlite3_limit to get/set run time limitTetsuya Morimoto2017-11-052-0/+143
|/ /
* | Merge pull request #471 from msoap/patch-1•••Updated travis.ymlmattn2017-10-241-3/+4
|\ \
| * | Updated travis.yml•••Use the latest Go version in each major branch (documentation: https://docs.travis-ci.com/user/languages/go/#Specifying-a-Go-version-to-use)Sergey Mudrik2017-10-221-3/+4
|/ /
* | fix testYasuhiro Matsumoto2017-09-281-1/+1
* | remove rows.Close() in TestShortTimeout•••couldn't reproduce on local environment Yasuhiro Matsumoto2017-09-281-1/+0
* | fix broken testYasuhiro Matsumoto2017-09-281-3/+3
* | fix error handling•••close #464 Yasuhiro Matsumoto2017-09-281-2/+2
* | use file instead of memory for TestShortTimeoutYasuhiro Matsumoto2017-09-281-14/+9
|/
* Merge pull request #423 from danderson/master•••Add support for collation sequences implemented in Go.mattn2017-09-013-0/+152
|\
| * Merge branch 'master' into mastermattn2017-08-309-454/+823
| |\ | |/ |/|
* | Merge pull request #461 from mattn/solaris•••support Solarismattn2017-08-303-5/+28
|\ \
| * | fix raceYasuhiro Matsumoto2017-08-301-10/+10
| * | fix raceYasuhiro Matsumoto2017-08-301-1/+0
| * | fix lockYasuhiro Matsumoto2017-08-301-2/+24
| * | support Solaris•••See #459 Yasuhiro Matsumoto2017-08-302-0/+2
|/ /
* | fixes #458Yasuhiro Matsumoto2017-08-282-0/+93
* | fix README.md•••close #456 Yasuhiro Matsumoto2017-08-271-1/+1
* | Merge pull request #454 from gholt/master•••Fix to better handle NULL values in TEXT and BLOB columns.mattn2017-08-222-2/+59
|\ \