You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New PR: Microsoft.Data.Sqlite issue with multiple Blob colums (Issue #32747) and following Assertion failure in SQLite following Blob column PR (Issue #32944) (#33111)
* blob fix in case of join with multiple tables and related rowid
* test case for issue #32770
* assert readded
* fix for
Assertion failure in SQLite following Blob column PR
connection.ExecuteNonQuery("CREATE TABLE A (ID INTEGER PRIMARY KEY,VALUE BLOB); INSERT INTO A (ID, VALUE) VALUES (1,x'01020304');");
156
+
connection.ExecuteNonQuery("CREATE TABLE B (ID INTEGER PRIMARY KEY,FATHER_ID INTEGER NOT NULL,VALUE BLOB); INSERT INTO B (ID,FATHER_ID, VALUE) VALUES (1000,1,x'05060708');");
157
+
158
+
using(varreader=connection.ExecuteReader(@"SELECT
159
+
A.ID as AID,
160
+
A.VALUE as AVALUE,
161
+
B.ID as BID,
162
+
B.VALUE as BVALUE
163
+
FROM
164
+
A JOIN B
165
+
ON B.FATHER_ID=A.ID "))
166
+
{
167
+
varhasData=reader.Read();
168
+
Assert.True(hasData);
169
+
170
+
//reading fields that does not involve blobs should be ok
0 commit comments