Comments (8)
ExecuteQuery is part of the SQLiteDatabase class in the Benchmark sample.
It is not part of the C# implementation, simply a sample.
Any volunteers to extend the functionality of this class?
Original comment by [email protected]
on 21 Jan 2010 at 3:29
- Changed state: Accepted
- Added labels: Priority-Low, Type-Enhancement
- Removed labels: Priority-Medium, Type-Defect
from csharp-sqlite.
The problem seems to be the function csSQLite.sqlite3_column_type, it only
returns
the type SQLITE_NULL (5).
Original comment by seeseekey
on 21 Jan 2010 at 4:50
from csharp-sqlite.
Original comment by [email protected]
on 21 Jan 2010 at 8:37
- Added labels: Priority-Medium, Type-Defect
- Removed labels: Priority-Low, Type-Enhancement
from csharp-sqlite.
column_type is returned correctly under version 3.6.22;
Please update to latest version and retest;
Note: column_type will be SQLITE_NULL if no rows are returned.
Original comment by [email protected]
on 26 Jan 2010 at 2:19
- Changed state: CannotReproduce
from csharp-sqlite.
I had test the newest version and can reproduce the error again. I had attach a
modified benchmark.cs which i used to reproduce the error.
Original comment by seeseekey
on 26 Jan 2010 at 3:13
Attachments:
from csharp-sqlite.
Added Column type to returned DataTable in SQLiteDatabase class
Original comment by [email protected]
on 26 Jan 2010 at 4:19
- Changed state: Fixed
from csharp-sqlite.
[deleted comment]
from csharp-sqlite.
The change of column data type cannot be done after table has been populated.
The
implemented change table.Columns[i].DataType = typeof(String);
Genereates the following error.
"Cannot change DataType of a column once it has data"
Reading and setting the schema could be defined as a separate method which is
run
before the readrows process is done.
By the way will the change also work for in query casts like:
CAST(columnName as Integer) as Alias1?
I have done some testing and it seems as if data type string (5) is returned
regardless.
Original comment by [email protected]
on 28 Jan 2010 at 1:27
from csharp-sqlite.
Related Issues (20)
- SqliteDataReader.GetBoolean(int i) fails HOT 3
- CPU profile on Community.CsharpSqlite.SQLiteClient HOT 2
- SqliteDataReader.GetFieldType return a incorrect type
- Foreign key doesn`t work HOT 2
- Compiler option to build read-only library
- rtree and fts support HOT 1
- REQEXP logic error
- Parsing problem with some, but not all Chinese HOT 1
- SQLiteDatabase.cs class HOT 2
- Assert on "DELETE FROM .." statement
- String.Substring is very slow and floods garbage collector HOT 3
- Alter table rename to always fails if foreign keys are present HOT 1
- SqliteDataReader.GetSchemaTable returns wrong type for all columns
- why sqlite3_extended_errcode not public ?
- Using Community SQLite in Unity
- Using SQLite as local database with Universal Apps with Community.CsharpSqlite
- Add Nuget package
- Add wiki page listing supported features of sqlite
- unseal SqliteConnectionStringBuilder HOT 1
- System.Data.SQLite.SQLiteException (0x80004005): database is locked
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csharp-sqlite.