Commit Graph

302 Commits

Author SHA1 Message Date
xeodou 5d8d55f2fb Update test. 2015-04-06 23:54:08 +08:00
xeodou 4315377555 Update test. 2015-04-06 23:41:55 +08:00
xeodou c38c17d68c Update wercker. 2015-04-06 23:39:02 +08:00
xeodou defab1e47b Update wercker. 2015-04-06 23:36:16 +08:00
xeodou 93ac07754f Update wercker. 2015-04-06 23:35:03 +08:00
xeodou db2c18e41e Add wercker. 2015-04-06 23:32:53 +08:00
xeodou 17a7a943c6 Add wercker. 2015-04-06 23:31:39 +08:00
xeodou 78a9457e13 Add wercker. 2015-04-06 23:30:59 +08:00
xeodou 3f004c6230 Add wercker. 2015-04-06 23:29:54 +08:00
xeodou c659bdbdea Fix go lint 2015-04-05 23:54:16 +08:00
xeodou a7de802f90 Add fts3 flags. 2015-04-03 11:52:28 +08:00
xeodou b81936c4b2 Fix doc 2015-04-02 11:03:51 +08:00
xeodou afd39ebd2e Fix readme 2015-04-02 11:03:09 +08:00
xeodou 1eb4f30827 Fix readme 2015-04-01 23:04:07 +08:00
xeodou ad4724616a Fix readme 2015-04-01 22:52:22 +08:00
xeodou 4139b17dd4 Fix readme 2015-04-01 22:51:38 +08:00
xeodou 6da54e6499 Fix typo. 2015-04-01 22:49:37 +08:00
xeodou 6375837186 Update readme. 2015-04-01 22:48:28 +08:00
xeodou ccb4365156 Add example from encrypted database. 2015-04-01 22:48:04 +08:00
xeodou 00748147c4 Change sqlite to sqlcipher. 2015-04-01 22:26:04 +08:00
mattn e28cd440fa Merge pull request #188 from larsmans/optimize
Optimize queries
2015-03-24 08:48:55 +09:00
Lars Buitinck 4dfb2ecaf0 Change strlen(s) > 0 => *s != '\000'. 2015-03-23 22:18:23 +01:00
Lars Buitinck 92b704c1a6 Less C/Go border crossing to get database changes
Speeds up the query benchmark by about 5% (Go 1.2.1, Linux x64).
2015-03-23 22:17:00 +01:00
mattn 07f9c9c30f Implement number-named parameters. Close #187 2015-03-24 00:46:49 +09:00
mattn ff38c8ec02 Revert a6c208564e 2015-03-22 04:29:14 +09:00
mattn e3990c31a0 Remove debug message 2015-03-22 03:38:57 +09:00
mattn 1354684d2b Fix hang in test 2015-03-22 03:37:43 +09:00
mattn c1abf95b38 Fix build 2015-03-22 03:16:35 +09:00
mattn fcd455919e Should use C.int() 2015-03-22 03:11:25 +09:00
mattn d754d2db45 revert 5253daf856 and add _busy_timeout query parameter. 2015-03-22 03:02:03 +09:00
mattn d7dbb909ec Fix test 2015-03-22 02:39:28 +09:00
mattn a6c208564e Support $NNN-style named parameter. Close #187 2015-03-22 02:08:47 +09:00
mattn 5253daf856 Next() should wait while BUSY or LOCKED because return value is bool 2015-03-19 13:29:43 +09:00
Yasuhiro Matsumoto 308067797b Apply -lpthread withou windows. 2015-03-12 18:43:55 +09:00
mattn 1b67b9f03b Merge pull request #183 from stgraber/master
Fix gccgo support
2015-03-12 18:42:19 +09:00
Stéphane Graber e688f0a8eb Link against pthread
This is required by gccgo because of the pthread_mutex_trylock symbol.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2015-03-11 16:20:52 -04:00
Stéphane Graber 3d6c6f9345 Rename sqlite3.{c,h} to sqlite3-binding.{c,h}
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-11 16:19:50 -04:00
mattn aa317ad229 Merge pull request #178 from antoni/master
Correct HasPrefix method name
2015-03-06 06:50:15 +09:00
Antoni Rościszewski 16f5b6415d Correct HasPrefix method name 2015-03-05 18:23:57 +01:00
mattn 519a1d07c4 Don't modify dsn when has prefix file: 2015-03-06 02:00:09 +09:00
Yasuhiro Matsumoto d86face730 Fix filename with loc parameter 2015-03-05 12:49:22 +09:00
Yasuhiro Matsumoto f40baee643 Fix test 2015-03-05 12:39:44 +09:00
Yasuhiro Matsumoto d463e8f1f9 Remove test dup 2015-03-05 12:32:06 +09:00
mix3 e48e0597ab Fix loc parsing 2015-03-05 11:06:33 +09:00
mix3 71712f0ba9 Add test 2015-03-05 10:36:47 +09:00
Yasuhiro Matsumoto 02f54e0263 Add test 2015-03-05 10:34:31 +09:00
mattn 1b2a5560c2 Update README.md 2015-03-05 01:19:33 +09:00
mattn e273a1552e Fixed bug for loc parameter 2015-03-05 01:17:38 +09:00
Yasuhiro Matsumoto 18aa166fa9 cleanup code 2015-03-04 22:58:32 +09:00
Yasuhiro Matsumoto 4c5c4e5261 Add loc=XXX parameters to handle timezone 2015-03-04 22:49:17 +09:00