aboutsummaryrefslogtreecommitdiff
path: root/code/sqlite3ext.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-06-12hack to use libsqlite3Yasuhiro Matsumoto1-0/+0
$ go build -tags "libsqlite3 windows"
2015-04-28remove -lpthread. related issue #201Yasuhiro Matsumoto1-1/+0
2015-04-15Remove debug codeYasuhiro Matsumoto1-2/+0
2015-04-15Z suffix should be no-opYasuhiro Matsumoto2-1/+42
2015-04-13Add a txlock option when opening databases (v2)Serge Hallyn2-9/+62
When specified, changes the default locking at a tx.Begin. Changelog (v2): Add a testcase to ensure _txlock is properly handled. Closes #189 Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
2015-04-12Fix NULs in text.Egon Elbre2-1/+42
NUL character is a valid symbols in UTF8. Fixes #195
2015-03-23Change strlen(s) > 0 => *s != '\000'.Lars Buitinck1-1/+1
2015-03-23Less C/Go border crossing to get database changesLars Buitinck1-18/+22
Speeds up the query benchmark by about 5% (Go 1.2.1, Linux x64).
2015-03-24Implement number-named parameters. Close #187mattn2-3/+55
2015-03-22Revert a6c208564eccf3c6743f608ef88398a4ca84c5ebmattn2-77/+3
2015-03-22Remove debug messagemattn1-1/+0
2015-03-22Fix hang in testmattn1-11/+12
2015-03-22Fix buildmattn2-4/+5
2015-03-22Should use C.int()mattn1-1/+1
2015-03-22revert 5253daf8561a6ca5015fd5ce79e4367912146be9 and add _busy_timeout query ↵mattn1-20/+25
parameter.
2015-03-22Fix testmattn1-1/+1
2015-03-22Support $NNN-style named parameter. Close #187mattn2-4/+93
2015-03-19Next() should wait while BUSY or LOCKED because return value is boolmattn1-9/+17
2015-03-12Apply -lpthread withou windows.Yasuhiro Matsumoto3-2/+2
2015-03-11Link against pthreadStéphane Graber1-0/+1
This is required by gccgo because of the pthread_mutex_trylock symbol. Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2015-03-11Rename sqlite3.{c,h} to sqlite3-binding.{c,h}Stéphane Graber7-5/+7
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>
2015-03-05Correct HasPrefix method nameAntoni Rościszewski1-1/+1
2015-03-06Don't modify dsn when has prefix file:mattn1-1/+3
2015-03-05Fix filename with loc parameterYasuhiro Matsumoto1-1/+1
2015-03-05Fix testYasuhiro Matsumoto1-3/+3
2015-03-05Remove test dupYasuhiro Matsumoto1-96/+0
2015-03-05Fix loc parsingmix32-29/+33
2015-03-05Add testmix31-0/+96
2015-03-05Add testYasuhiro Matsumoto1-0/+97
2015-03-05Update README.mdmattn1-0/+4
2015-03-05Fixed bug for loc parametermattn2-26/+25
2015-03-04cleanup codeYasuhiro Matsumoto1-13/+8
2015-03-04Add loc=XXX parameters to handle timezoneYasuhiro Matsumoto2-8/+109
2015-02-24Add FTS3 feature. Close #176Yasuhiro Matsumoto3-1/+85
2015-01-26load extensions using the C API instead of SQLAttila Tajti1-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.
2015-01-26Fix testmattn1-1/+1
2015-01-26Fix testmattn1-1/+1
2015-01-26Add test for Versionmattn1-0/+7
2015-01-26Add test for ErrNo.Extend()mattn1-0/+6
2015-01-26Return error code of sqlite3_step, not sqlite3_resetMahadevan1-1/+2
2015-01-02Handle 13 digit datetime valuesIan Bishop2-1/+14
2014-12-31Revert d369cbb7d42232f785f51b3ef4c8b994dae83486mattn1-32/+2
See https://github.com/golang/go/issues/9356
2014-12-19Revert d369cbb7d42232f785f51b3ef4c8b994dae83486mattn2-8616/+4627
See https://github.com/golang/go/issues/9356
2014-12-18set CFLAGS: -std=gnu99Nahum Shalman1-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"
2014-12-11Update SQLite amalgamation to 3.8.7.4.Neil Conway3-4629/+8648
2014-11-29Catch missing arguments for Query()Josiah Kiehl (formerly @bluepojo)1-1/+5
Also improved error message on Exec() for consistency.
2014-11-16Reset statement. Fixes #150mattn1-0/+2
2014-11-14Update README.mdmattn1-0/+1
2014-11-14Update README.mdmattn1-0/+4
2014-11-14Backup.Step may handle SQLITE_BUSY / SQLITE_LOCKED specifically. Close #133mattn1-1/+1