aboutsummaryrefslogtreecommitdiff
path: root/sqlite3.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #188 from larsmans/optimizemattn2015-03-241-19/+23
|\ | | | | Optimize queries
| * Change strlen(s) > 0 => *s != '\000'.Lars Buitinck2015-03-231-1/+1
| |
| * Less C/Go border crossing to get database changesLars Buitinck2015-03-231-18/+22
| | | | | | | | Speeds up the query benchmark by about 5% (Go 1.2.1, Linux x64).
* | Implement number-named parameters. Close #187mattn2015-03-241-3/+19
| |
* | Revert a6c208564eccf3c6743f608ef88398a4ca84c5ebmattn2015-03-221-41/+3
| |
* | Remove debug messagemattn2015-03-221-1/+0
| |
* | Fix hang in testmattn2015-03-221-11/+12
| |
* | Fix buildmattn2015-03-221-1/+2
| |
* | Should use C.int()mattn2015-03-221-1/+1
| |
* | revert 5253daf8561a6ca5015fd5ce79e4367912146be9 and add _busy_timeout query ↵mattn2015-03-221-20/+25
| | | | | | | | parameter.
* | Support $NNN-style named parameter. Close #187mattn2015-03-221-4/+57
| |
* | Next() should wait while BUSY or LOCKED because return value is boolmattn2015-03-191-9/+17
|/
* Apply -lpthread withou windows.Yasuhiro Matsumoto2015-03-121-1/+0
|
* Link against pthreadStéphane Graber2015-03-111-0/+1
| | | | | | This is required by gccgo because of the pthread_mutex_trylock symbol. Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
* Rename sqlite3.{c,h} to sqlite3-binding.{c,h}Stéphane Graber2015-03-111-1/+1
| | | | | | | | | | | | | This fixes the problem where when building with gccgo, sqlite3.c is overwritten, leading to a build failure. An alternative would have been to move sqlite3*.{c,h} to a subdirectory, but that seems to confuse the linker a fair bit and would just swap one implementation-dependent issue for another. Closes #20 Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
* Correct HasPrefix method nameAntoni Rościszewski2015-03-051-1/+1
|
* Don't modify dsn when has prefix file:mattn2015-03-061-1/+3
|
* Fix filename with loc parameterYasuhiro Matsumoto2015-03-051-1/+1
|
* Fix loc parsingmix32015-03-051-27/+31
|
* Fixed bug for loc parametermattn2015-03-051-16/+18
|
* cleanup codeYasuhiro Matsumoto2015-03-041-13/+8
|
* Add loc=XXX parameters to handle timezoneYasuhiro Matsumoto2015-03-041-8/+44
|
* Add FTS3 feature. Close #176Yasuhiro Matsumoto2015-02-241-0/+2
|
* load extensions using the C API instead of SQLAttila Tajti2015-01-261-11/+5
| | | | | | This fixes the problem of loading ICU, which needs to replace existing functions. Replacing existing functions are prohibited when a VM is running.
* Return error code of sqlite3_step, not sqlite3_resetMahadevan2015-01-261-1/+2
|
* Handle 13 digit datetime valuesIan Bishop2015-01-021-1/+13
|
* set CFLAGS: -std=gnu99Nahum Shalman2014-12-181-0/+1
| | | | | | | | | Fixes the following error message on SmartOS: $ go get github.com/mattn/go-sqlite3 In file included from /usr/include/stdio.h:37:0, from go/src/github.com/mattn/go-sqlite3/sqlite3.c:8422: /opt/local/gcc47/lib/gcc/i386-sun-solaris2.11/4.7.3/include-fixed/sys/feature_tests.h:366:2: error: #error "Compiler or options invalid; UNIX 03 and POSIX.1-2001 applications require the use of c99"
* Catch missing arguments for Query()Josiah Kiehl (formerly @bluepojo)2014-11-291-1/+5
| | | Also improved error message on Exec() for consistency.
* Reset statement. Fixes #150mattn2014-11-161-0/+2
|
* set/reset finalizer to free SQLite3 handlesmattn2014-11-141-2/+7
|
* rows.Close()mattn2014-11-141-0/+1
|
* Should affect on only 386mattn2014-10-241-7/+0
|
* Merge pull request #155 from kartaca/mastermattn2014-10-241-2/+4
|\ | | | | fixed timezone problem for datetime types
| * fixed timezone problem for datetime typesMehmet Gurevin2014-10-231-2/+4
| |
* | Specify by -Dmattn2014-10-221-4/+0
| |
* | Thread safemattn2014-10-201-3/+11
| |
* | add Version func for retrieving SQLite library version inforomo2014-10-131-0/+8
|/
* Merge commit '3d78a08b9f3307ac3874f5c120f7d4166c62efb9'mattn2014-09-101-0/+3
|\
| * Workaround for #109, #147mattn2014-09-101-0/+3
| |
* | Merge branch 'master' of https://github.com/mattn/go-sqlite3mattn2014-09-031-0/+3
|\ \
| * | Fixed checking parameter countmattn2014-08-181-1/+1
| | |
| * | Merge branch 'master' of github.com:mattn/go-sqlite3mattn2014-08-181-0/+5
| |\ \
| * | | Check parameter countmattn2014-08-181-0/+3
| | | |
* | | | Merge branch 'pr/135'mattn2014-09-031-2/+2
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/|
| * | Add "date" to decltypes parsed as a unix timePeter Waller2014-09-021-1/+1
| | |
| * | Add 'date' to rc.decltypes interpreted as a timePeter Waller2014-08-111-1/+1
| |/
* | Add one blank line for godocmattn2014-08-181-0/+1
| |
* | Add license headermattn2014-08-181-0/+4
|/
* implicitly close Stmt in Queryer, Close #131Sven Engelhardt2014-07-151-2/+8
| | | | | the cls field tracks if the Stmt should be implicitly closed, in the Exec() call the generated statement is always closed
* Add missing time format, fixes #43Sean Duffy2014-07-081-0/+1
|