| Commit message (Expand) | Author | Age | Files | Lines |
| * | Merge pull request #534 from basvanbeek/master•••only enable pread/pwrite for linux. fixes #533 and fixes #532 | mattn | 2018-02-18 | 1 | -1/+2 |
| |\ |
|
| | * | only enable pread/pwrite for linux. fixes #533 and fixes #532 | Bas van Beek | 2018-02-17 | 1 | -1/+2 |
| |/ |
|
| * | Merge pull request #531 from navytux/y/preadwrite•••Let SQLite use pread/pwrite | mattn | 2018-02-17 | 1 | -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 Smelkov | 2018-02-16 | 1 | -1/+1 |
| |/ |
|
| * | Merge pull request #527 from mattn/sqlite-amalgamation-3220000•••bump sqlite 3.22.0 | mattn | 2018-02-07 | 4 | -3194/+5559 |
| |\ |
|
| | * | bump sqlite 3.22.0•••closes #526
| Yasuhiro Matsumoto | 2018-02-07 | 4 | -3194/+5559 |
| * | | Merge pull request #525 from mattn/add-usleep•••add -DHAVE_USLEEP=1 | mattn | 2018-02-07 | 1 | -1/+1 |
| |\| |
|
| | * | add -DHAVE_USLEEP=1•••fixes #211
| Yasuhiro Matsumoto | 2018-02-07 | 1 | -1/+1 |
| * | | Merge pull request #524 from jckimble/master•••Add static_mock.go to allow building with CGO_ENABLED=0 | mattn | 2018-02-02 | 3 | -0/+25 |
| |\ \ |
|
| | * | | Add static_mock.go to allow building with CGO_ENABLED=0 | James C Kimble | 2018-01-31 | 3 | -0/+25 |
| |/ / |
|
| * | | Merge pull request #521 from mattn/fix520•••fix type of event code | mattn | 2018-01-29 | 2 | -11/+13 |
| |\| |
|
| | * | fix type of event code•••fixes #520
| Yasuhiro Matsumoto | 2018-01-29 | 2 | -11/+13 |
| * | | Merge pull request #501 from matthewswain/patch-1•••Update README.md | mattn | 2018-01-22 | 1 | -1/+1 |
| |\ \ |
|
| | * | | Update README.md•••Clarified the gcc requirement to avoid confusion. | Matthew Swain | 2017-11-30 | 1 | -1/+1 |
| * | | | Merge pull request #515 from mattn/fix514•••add build constraint for solaris | mattn | 2018-01-22 | 1 | -0/+12 |
| |\ \ \
| |_|/
|/| | |
|
| | * | | add build constraint for solaris•••fixes #514
| Yasuhiro Matsumoto | 2018-01-22 | 1 | -0/+12 |
| |/ / |
|
| * | | Merge pull request #462 from faruzzy/master•••Updated "context" import since it has become a standard library | mattn | 2018-01-12 | 1 | -2/+1 |
| |\ \
| |/
|/| |
|
| | * | Updated "context" import since it has become a standard library after go 1.7 ... | Roland Pangu | 2017-09-05 | 1 | -2/+1 |
| * | | Merge pull request #489 from Projectplace/fix-cancel-race•••Fix race in ExecContext | mattn | 2017-11-22 | 2 | -2/+27 |
| |\ \ |
|
| | * | | Fix race in ExecContext•••When the context is cancelled, an interrupt should only be made if the
operation is still ongoing.
| Niklas Janlert | 2017-11-21 | 2 | -2/+27 |
| |/ / |
|
| * | | Merge pull request #485 from mattn/sqlite3-3.21.0•••upgrade SQLite3 amalgamation code | mattn | 2017-11-21 | 4 | -6858/+11082 |
| |\ \ |
|
| | * | | fix error message | Yasuhiro Matsumoto | 2017-11-19 | 1 | -2/+2 |
| | * | | handle new error message | Yasuhiro Matsumoto | 2017-11-18 | 1 | -1/+1 |
| | * | | upgrade SQLite3 amalgamation code | Yasuhiro Matsumoto | 2017-11-18 | 3 | -6856/+11080 |
| |/ / |
|
| * | | replace header name | Yasuhiro Matsumoto | 2017-11-18 | 1 | -1/+13 |
| * | | Merge pull request #484 from mattn/fix-header•••fix header file | mattn | 2017-11-18 | 1 | -2/+2 |
| |\ \ |
|
| | * | | fix header file | Yasuhiro Matsumoto | 2017-11-17 | 1 | -2/+2 |
| |/ / |
|
| * | | Merge pull request #479 from kenshaw/move-registeraggregator•••Move RegisterAggregator implementation | mattn | 2017-11-14 | 4 | -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 Shaw | 2017-11-05 | 4 | -201/+187 |
| * | | | Merge pull request #440 from t2y/add-sqlite3-limit•••Support sqlite3_limit to get/set the value of run-time limits | mattn | 2017-11-14 | 2 | -0/+169 |
| |\ \ \
| |/ /
|/| | |
|
| | * | | fix to be able to build with GOTAGS=libsqlite3 | Tetsuya Morimoto | 2017-11-05 | 1 | -0/+2 |
| | * | | update to call _sqlite3_limit as a wrapper instead of sqlite3_limit | Tetsuya Morimoto | 2017-11-05 | 1 | -2/+26 |
| | * | | support sqlite3_limit to get/set run time limit | Tetsuya Morimoto | 2017-11-05 | 2 | -0/+143 |
| |/ / |
|
| * | | Merge pull request #471 from msoap/patch-1•••Updated travis.yml | mattn | 2017-10-24 | 1 | -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 Mudrik | 2017-10-22 | 1 | -3/+4 |
| |/ / |
|
| * | | fix test | Yasuhiro Matsumoto | 2017-09-28 | 1 | -1/+1 |
| * | | remove rows.Close() in TestShortTimeout•••couldn't reproduce on local environment
| Yasuhiro Matsumoto | 2017-09-28 | 1 | -1/+0 |
| * | | fix broken test | Yasuhiro Matsumoto | 2017-09-28 | 1 | -3/+3 |
| * | | fix error handling•••close #464
| Yasuhiro Matsumoto | 2017-09-28 | 1 | -2/+2 |
| * | | use file instead of memory for TestShortTimeout | Yasuhiro Matsumoto | 2017-09-28 | 1 | -14/+9 |
| |/ |
|
| * | Merge pull request #423 from danderson/master•••Add support for collation sequences implemented in Go. | mattn | 2017-09-01 | 3 | -0/+152 |
| |\ |
|
| | * | Merge branch 'master' into master | mattn | 2017-08-30 | 9 | -454/+823 |
| | |\
| |/
|/| |
|
| * | | Merge pull request #461 from mattn/solaris•••support Solaris | mattn | 2017-08-30 | 3 | -5/+28 |
| |\ \ |
|
| | * | | fix race | Yasuhiro Matsumoto | 2017-08-30 | 1 | -10/+10 |
| | * | | fix race | Yasuhiro Matsumoto | 2017-08-30 | 1 | -1/+0 |
| | * | | fix lock | Yasuhiro Matsumoto | 2017-08-30 | 1 | -2/+24 |
| | * | | support Solaris•••See #459
| Yasuhiro Matsumoto | 2017-08-30 | 2 | -0/+2 |
| |/ / |
|
| * | | fixes #458 | Yasuhiro Matsumoto | 2017-08-28 | 2 | -0/+93 |
| * | | fix README.md•••close #456
| Yasuhiro Matsumoto | 2017-08-27 | 1 | -1/+1 |
| * | | Merge pull request #454 from gholt/master•••Fix to better handle NULL values in TEXT and BLOB columns. | mattn | 2017-08-22 | 2 | -2/+59 |
| |\ \ |
|