iamacarpet / go-sqlite3-win64 Goto Github PK
View Code? Open in Web Editor NEWGoLang Wrapper Around sqlite3.dll
License: MIT License
GoLang Wrapper Around sqlite3.dll
License: MIT License
Hello,
When I use this code:
var nbAccount int
err := db_sqlite.QueryRow("select count(*) as nbAccount from my_table;").Scan(&nbAccount)
checkError(err, "", "", true)
fmt.Printf("Value is %d\n", nbAccount)
I have a panic with this error:
github.com/iamacarpet/go-sqlite3-win64.BytePtrToString(0x0, 0xc042005290, 0x2)
../projet/golang/src/github.com/iamacarpet/go-sqlite3-win64/functions.go:40 +0x41
github.com/iamacarpet/go-sqlite3-win64.sqlite3_column_decltype(0x2998680, 0x0, 0x1, 0xc042005280)
../projet/golang/src/github.com/iamacarpet/go-sqlite3-win64/sqlite3_raw.go:253 +0x83
github.com/iamacarpet/go-sqlite3-win64.(*SQLiteRows).DeclTypes(0xc042011f40, 0xc042005248, 0xc042005270, 0x64)
../projet/golang/src/github.com/iamacarpet/go-sqlite3-win64/sqlite3_rows.go:53 +0xb7
github.com/iamacarpet/go-sqlite3-win64.(*SQLiteRows).Next(0xc042011f40, 0xc042005260, 0x1, 0x1, 0x1, 0x1)
../projet/golang/src/github.com/iamacarpet/go-sqlite3-win64/sqlite3_rows.go:74 +0xcd
database/sql.(*Rows).Next(0xc0426d3800, 0x73f7b8)
I have the same problem with the MIN() or MAX() sql functions
29/5000
Do you reproduce this issue?
I am really like this for no cgo build and easy to load the newest sqlite.dll.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.