Jan Mercl 
							
						 
					 
					
						
						
							
						
						4800b08a35 
					 
					
						
						
							
							update dependencies  
						
						
						
						
					 
					
						2021-04-08 12:18:25 +02:00 
						 
				 
			
				
					
						
							
							
								Dan Peterson 
							
						 
					 
					
						
						
							
						
						e2b915c98c 
					 
					
						
						
							
							driver: set libc environment in init  
						
						... 
						
						
						
						modernc.org/libc.Start does this when wrapping funcs main to seed data
for libc.Xgetenv and friends.
However, sqlite doesn't use libc.Start. It sets libc bits up in an
init func. This leaves the libc view of the enivorment empty/null.
When the sqlite "localtime" modifier used with datetime/strftime/etc,
sqlite eventually calls libc.Xlocaltime which wants to read TZ from
the environment. With an empty/null libc enivornment, this segfaults.
To fix that, call libc.SetEnviron in func init like libc.Start
does.
Fixes https://gitlab.com/cznic/sqlite/-/issues/49  
						
						
					 
					
						2021-04-05 20:35:19 -03:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						fae63b194d 
					 
					
						
						
							
							linux/amd64: enable pthreads  
						
						
						
						
					 
					
						2021-03-23 00:17:08 +01:00 
						 
				 
			
				
					
						
							
							
								Dan Peterson 
							
						 
					 
					
						
						
							
						
						798bbeb9bb 
					 
					
						
						
							
							driver: support scanning more formats into time.Time  
						
						... 
						
						
						
						Fixes https://gitlab.com/cznic/sqlite/-/issues/46  
						
						
					 
					
						2021-03-14 16:07:07 -03:00 
						 
				 
			
				
					
						
							
							
								Dan Peterson 
							
						 
					 
					
						
						
							
						
						77ccaf71ff 
					 
					
						
						
							
							driver: return column info even when no rows  
						
						... 
						
						
						
						Fixes https://gitlab.com/cznic/sqlite/-/issues/32  
						
						
					 
					
						2021-03-14 13:09:25 -03:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						f5bcea6543 
					 
					
						
						
							
							split production and testing  
						
						
						
						
					 
					
						2021-01-30 01:09:04 +01:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						3c751e6fc6 
					 
					
						
						
							
							fix memory leak caused by returning noRows{}/II, updates  #43  
						
						
						
						
					 
					
						2021-01-25 13:30:37 +01:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						168943b08a 
					 
					
						
						
							
							fix memory leak caused by returning noRows{}, updates  #43  
						
						
						
						
					 
					
						2021-01-25 12:22:10 +01:00 
						 
				 
			
				
					
						
							
							
								Dan Peterson 
							
						 
					 
					
						
						
							
						
						2d062fa148 
					 
					
						
						
							
							driver: support ?NNN and $NNN parameters, add tests  
						
						... 
						
						
						
						Fix a bug around ensuring each index matches a corresponding
argument.
Support ?NNN parameters by checking for a match between NNN and
Ordinal. Do the same for $NNN even though $NNN should technically
require sql.Named.
Updates https://gitlab.com/cznic/sqlite/-/issues/42 . 
						
						
					 
					
						2021-01-18 11:23:00 -04:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						0a7471a043 
					 
					
						
						
							
							Makefile: add regression_check target  
						
						
						
						
					 
					
						2021-01-17 21:34:54 +01:00 
						 
				 
			
				
					
						
							
							
								cznic 
							
						 
					 
					
						
						
							
						
						295d48b2e8 
					 
					
						
						
							
							Merge branch 'un-goroutine-ctx' into 'master'  
						
						... 
						
						
						
						un-go-routine the ctx cancelations
See merge request cznic/sqlite!20  
						
						
					 
					
						2021-01-12 20:39:48 +00:00 
						 
				 
			
				
					
						
							
							
								Jaap Aarts 
							
						 
					 
					
						
						
							
						
						bfc1503df5 
					 
					
						
						
							
							un-go-routine the ctx cancelations  
						
						
						
						
					 
					
						2021-01-12 20:39:48 +00:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						56d82b45dc 
					 
					
						
						
							
							noRows: return proper io.EOF  
						
						
						
						
					 
					
						2021-01-12 18:19:04 +01:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						d12d3a4d8c 
					 
					
						
						
							
							handle binding zero length blobs, updates  #40  
						
						
						
						
					 
					
						2021-01-12 17:50:29 +01:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						663f19b57d 
					 
					
						
						
							
							handle zero sized allocs  
						
						
						
						
					 
					
						2021-01-12 17:40:04 +01:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						9383707da0 
					 
					
						
						
							
							conn.Close: fix memory leak  
						
						
						
						
					 
					
						2021-01-11 13:21:44 +01:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						90dac3ac7b 
					 
					
						
						
							
							rows.Next: support scanning of time values,  fixes   #35  
						
						
						
						
					 
					
						2021-01-10 15:26:54 +01:00 
						 
				 
			
				
					
						
							
							
								Yaacov Akiba Slama 
							
						 
					 
					
						
						
							
						
						b69b933c94 
					 
					
						
						
							
							Add support for NULL values  
						
						
						
						
					 
					
						2020-10-12 22:09:42 +03:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						736c530ac7 
					 
					
						
						
							
							implement sql.{RowsColumnTypeScanType,RowsColumnTypeDatabaseTypeName,RowsColumnTypeLength,RowsColumnTypeNullable,RowsColumnTypePrecisionScale},  fixes   #30  
						
						
						
						
					 
					
						2020-09-25 15:12:39 +02:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						a4318db8c7 
					 
					
						
						
							
							handle properly 0 rows query results,  fixes   #28  
						
						
						
						
					 
					
						2020-09-21 18:36:03 +02:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						e662a135d1 
					 
					
						
						
							
							release 1.4.0  
						
						
						
						
					 
					
						2020-08-26 23:31:54 +02:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						43c865ce5d 
					 
					
						
						
							
							regenerate and update dependencies  
						
						
						
						
					 
					
						2020-08-04 17:15:32 +02:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						1349149922 
					 
					
						
						
							
							use crt v3.24.9  
						
						
						
						
					 
					
						2020-07-31 14:18:38 +02:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						3337c85b5e 
					 
					
						
						
							
							103 errors out of 202628 tests on  Linux 64-bit little-endian  
						
						
						
						
					 
					
						2020-07-30 17:13:42 +02:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						b406626c64 
					 
					
						
						
							
							release v1.4.0-beta1  
						
						
						
						
					 
					
						2020-07-26 22:36:18 +02:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						141c3f22b7 
					 
					
						
						
							
							fix forgotten TODO  
						
						
						
						
					 
					
						2020-01-01 12:05:39 +01:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						ef38ac9c3b 
					 
					
						
						
							
							use sqlite3_unlock_notify,  fixes   #20 .  
						
						
						
						
					 
					
						2019-12-31 16:46:08 +01:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						45936a375a 
					 
					
						
						
							
							fix (*stmt).Close logic,  closes   #19  
						
						
						
						
					 
					
						2019-12-28 11:10:32 +01:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						58026126c2 
					 
					
						
						
							
							support SQLite's multi-thread model  
						
						
						
						
					 
					
						2019-12-19 15:58:58 +01:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						0bd6d67fef 
					 
					
						
						
							
							prepare pre-alpha release  
						
						
						
						
					 
					
						2019-12-18 17:51:11 +01:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						89fd60bf68 
					 
					
						
						
							
							Make modernc.org the repository root  
						
						
						
						
					 
					
						2018-11-06 18:03:25 +01:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						0757a22337 
					 
					
						
						
							
							Use cznic/ccgo/crt instead of cznic/crt.  
						
						... 
						
						
						
						modified:   generator.go
	modified:   internal/bin/bin_linux_386.go
	modified:   internal/bin/bin_linux_amd64.go
	modified:   internal/bin/bin_windows_386.go
	modified:   internal/bin/bin_windows_amd64.go
	modified:   internal/mptest/mptest_linux_386.go
	modified:   internal/mptest/mptest_linux_amd64.go
	modified:   internal/threadtest1/threadtest1_linux_386.go
	modified:   internal/threadtest1/threadtest1_linux_amd64.go
	modified:   internal/threadtest2/threadtest2_linux_386.go
	modified:   internal/threadtest2/threadtest2_linux_amd64.go
	modified:   internal/threadtest3/threadtest3_linux_386.go
	modified:   internal/threadtest3/threadtest3_linux_amd64.go
	modified:   internal/threadtest4/threadtest4_linux_386.go
	modified:   internal/threadtest4/threadtest4_linux_amd64.go
	modified:   sqlite.go 
						
						
					 
					
						2018-04-10 10:33:55 +02:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						11216f7304 
					 
					
						
						
							
							Do not use fixed heap on Linux. Updates  #12 .  
						
						... 
						
						
						
						modified:   all_test.go
	modified:   generator.go
	modified:   internal/bin/bin_linux_386.go
	modified:   internal/bin/bin_linux_amd64.go
	modified:   main.c
	modified:   sqlite.go
	modified:   sqlite_go18.go 
						
						
					 
					
						2017-06-13 15:18:34 +02:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						212e4e19af 
					 
					
						
						
							
							Do not ignore bin.Init return value.  
						
						... 
						
						
						
						modified:   sqlite.go 
						
						
					 
					
						2017-06-06 19:03:58 +02:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						05b533496a 
					 
					
						
						
							
							Use usleep.  
						
						... 
						
						
						
						modified:   all_linux_test.go
	modified:   generator.go
	modified:   internal/bin/bin_linux_386.go
	modified:   internal/bin/bin_linux_amd64.go
	modified:   sqlite.go 
						
						
					 
					
						2017-06-06 14:55:48 +02:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						8c183b526b 
					 
					
						
						
							
							Release the {cgo,VM}-free Linux/Intel version.  
						
						... 
						
						
						
						modified:   Makefile
	new file:   all_linux_test.go
	renamed:    all_test.go -> all_test_windows.go
	new file:   doc.go
	new file:   generate_linux.go
	new file:   generate_windows.go
	modified:   generator.go
	new file:   generator_windows.go
	modified:   internal/bin/bin_linux_386.go
	modified:   internal/bin/bin_linux_amd64.go
	modified:   main.c
	modified:   sqlite.go
	modified:   sqlite_go18.go
	new file:   sqlite_windows.go 
						
						
					 
					
						2017-06-05 20:13:10 +02:00 
						 
				 
			
				
					
						
							
							
								Alexander Menzhinsky 
							
						 
					 
					
						
						
							
						
						7c52b44c39 
					 
					
						
						
							
							Fix building with go <= 1.8  
						
						
						
						
					 
					
						2017-05-12 13:31:54 +03:00 
						 
				 
			
				
					
						
							
							
								Alexander Menzhinsky 
							
						 
					 
					
						
						
							
						
						a0ae409cb1 
					 
					
						
						
							
							Add named parameters support  
						
						
						
						
					 
					
						2017-05-04 00:31:54 +03:00 
						 
				 
			
				
					
						
							
							
								Alexander Menzhinsky 
							
						 
					 
					
						
						
							
						
						65f6d7e4e9 
					 
					
						
						
							
							Make sqlite public  
						
						
						
						
					 
					
						2017-04-30 11:08:40 +03:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						661f432759 
					 
					
						
						
							
							Remove some confusing naming inconsistencies.  
						
						
						
						
					 
					
						2017-04-28 16:59:41 +02:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						1769e4aeff 
					 
					
						
						
							
							Fix typo.  
						
						
						
						
					 
					
						2017-04-21 16:27:48 +02:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						32412eba31 
					 
					
						
						
							
							Add "Connecting to a database" docs section.  
						
						
						
						
					 
					
						2017-04-21 01:30:47 +02:00 
						 
				 
			
				
					
						
							
							
								Jan Mercl 
							
						 
					 
					
						
						
							
						
						ed3807ab47 
					 
					
						
						
							
							Add Initial content.  
						
						
						
						
					 
					
						2017-04-21 01:17:29 +02:00