Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Merge pull request #188 from larsmans/optimize | mattn | 2015-03-24 | 1 | -19/+23 | |
|\ | | | | | Optimize queries | |||||
| * | Change strlen(s) > 0 => *s != '\000'. | Lars Buitinck | 2015-03-23 | 1 | -1/+1 | |
| | | ||||||
| * | Less C/Go border crossing to get database changes | Lars Buitinck | 2015-03-23 | 1 | -18/+22 | |
| | | | | | | | | Speeds up the query benchmark by about 5% (Go 1.2.1, Linux x64). | |||||
* | | Implement number-named parameters. Close #187 | mattn | 2015-03-24 | 1 | -3/+19 | |
| | | ||||||
* | | Revert a6c208564eccf3c6743f608ef88398a4ca84c5eb | mattn | 2015-03-22 | 1 | -41/+3 | |
| | | ||||||
* | | Remove debug message | mattn | 2015-03-22 | 1 | -1/+0 | |
| | | ||||||
* | | Fix hang in test | mattn | 2015-03-22 | 1 | -11/+12 | |
| | | ||||||
* | | Fix build | mattn | 2015-03-22 | 1 | -1/+2 | |
| | | ||||||
* | | Should use C.int() | mattn | 2015-03-22 | 1 | -1/+1 | |
| | | ||||||
* | | revert 5253daf8561a6ca5015fd5ce79e4367912146be9 and add _busy_timeout query ↵ | mattn | 2015-03-22 | 1 | -20/+25 | |
| | | | | | | | | parameter. | |||||
* | | Support $NNN-style named parameter. Close #187 | mattn | 2015-03-22 | 1 | -4/+57 | |
| | | ||||||
* | | Next() should wait while BUSY or LOCKED because return value is bool | mattn | 2015-03-19 | 1 | -9/+17 | |
|/ | ||||||
* | Apply -lpthread withou windows. | Yasuhiro Matsumoto | 2015-03-12 | 1 | -1/+0 | |
| | ||||||
* | Link against pthread | Stéphane Graber | 2015-03-11 | 1 | -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 Graber | 2015-03-11 | 1 | -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 name | Antoni Rościszewski | 2015-03-05 | 1 | -1/+1 | |
| | ||||||
* | Don't modify dsn when has prefix file: | mattn | 2015-03-06 | 1 | -1/+3 | |
| | ||||||
* | Fix filename with loc parameter | Yasuhiro Matsumoto | 2015-03-05 | 1 | -1/+1 | |
| | ||||||
* | Fix loc parsing | mix3 | 2015-03-05 | 1 | -27/+31 | |
| | ||||||
* | Fixed bug for loc parameter | mattn | 2015-03-05 | 1 | -16/+18 | |
| | ||||||
* | cleanup code | Yasuhiro Matsumoto | 2015-03-04 | 1 | -13/+8 | |
| | ||||||
* | Add loc=XXX parameters to handle timezone | Yasuhiro Matsumoto | 2015-03-04 | 1 | -8/+44 | |
| | ||||||
* | Add FTS3 feature. Close #176 | Yasuhiro Matsumoto | 2015-02-24 | 1 | -0/+2 | |
| | ||||||
* | load extensions using the C API instead of SQL | Attila Tajti | 2015-01-26 | 1 | -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_reset | Mahadevan | 2015-01-26 | 1 | -1/+2 | |
| | ||||||
* | Handle 13 digit datetime values | Ian Bishop | 2015-01-02 | 1 | -1/+13 | |
| | ||||||
* | set CFLAGS: -std=gnu99 | Nahum Shalman | 2014-12-18 | 1 | -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-29 | 1 | -1/+5 | |
| | | | Also improved error message on Exec() for consistency. | |||||
* | Reset statement. Fixes #150 | mattn | 2014-11-16 | 1 | -0/+2 | |
| | ||||||
* | set/reset finalizer to free SQLite3 handles | mattn | 2014-11-14 | 1 | -2/+7 | |
| | ||||||
* | rows.Close() | mattn | 2014-11-14 | 1 | -0/+1 | |
| | ||||||
* | Should affect on only 386 | mattn | 2014-10-24 | 1 | -7/+0 | |
| | ||||||
* | Merge pull request #155 from kartaca/master | mattn | 2014-10-24 | 1 | -2/+4 | |
|\ | | | | | fixed timezone problem for datetime types | |||||
| * | fixed timezone problem for datetime types | Mehmet Gurevin | 2014-10-23 | 1 | -2/+4 | |
| | | ||||||
* | | Specify by -D | mattn | 2014-10-22 | 1 | -4/+0 | |
| | | ||||||
* | | Thread safe | mattn | 2014-10-20 | 1 | -3/+11 | |
| | | ||||||
* | | add Version func for retrieving SQLite library version info | romo | 2014-10-13 | 1 | -0/+8 | |
|/ | ||||||
* | Merge commit '3d78a08b9f3307ac3874f5c120f7d4166c62efb9' | mattn | 2014-09-10 | 1 | -0/+3 | |
|\ | ||||||
| * | Workaround for #109, #147 | mattn | 2014-09-10 | 1 | -0/+3 | |
| | | ||||||
* | | Merge branch 'master' of https://github.com/mattn/go-sqlite3 | mattn | 2014-09-03 | 1 | -0/+3 | |
|\ \ | ||||||
| * | | Fixed checking parameter count | mattn | 2014-08-18 | 1 | -1/+1 | |
| | | | ||||||
| * | | Merge branch 'master' of github.com:mattn/go-sqlite3 | mattn | 2014-08-18 | 1 | -0/+5 | |
| |\ \ | ||||||
| * | | | Check parameter count | mattn | 2014-08-18 | 1 | -0/+3 | |
| | | | | ||||||
* | | | | Merge branch 'pr/135' | mattn | 2014-09-03 | 1 | -2/+2 | |
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | ||||||
| * | | Add "date" to decltypes parsed as a unix time | Peter Waller | 2014-09-02 | 1 | -1/+1 | |
| | | | ||||||
| * | | Add 'date' to rc.decltypes interpreted as a time | Peter Waller | 2014-08-11 | 1 | -1/+1 | |
| |/ | ||||||
* | | Add one blank line for godoc | mattn | 2014-08-18 | 1 | -0/+1 | |
| | | ||||||
* | | Add license header | mattn | 2014-08-18 | 1 | -0/+4 | |
|/ | ||||||
* | implicitly close Stmt in Queryer, Close #131 | Sven Engelhardt | 2014-07-15 | 1 | -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 #43 | Sean Duffy | 2014-07-08 | 1 | -0/+1 | |
| |