Quack round 3 — FLT-281 — 0.1.3¶
Implemented in the existing quack-tls worktree, starting at 01a8217. No commit or push: the brief assigns commits to Clahadore.
Changes¶
- Actual Quack connections execute non-returning DML through a reader.
QuackDataReaderreads the server'sCountresult, exposesRecordsAffected, and suppliesExecuteNonQuerytotals. Zero stays zero, preserving optimistic concurrency. Local connections retain their native execution path. - SQL classification uses the existing literal/comment-aware lexer. It preserves DDL result positions, omits transaction-control results as observed from the producer, and handles mixed batches, CTAS and TRUNCATE. Ordinary SELECT and explicit RETURNING columns named
Countremain data. The provider does not add UPDATE RETURNING. - Parameter-list Contains receives an intermediate element mapping only within IN expressions. EF expands it to scalar parameters; Quack uses the existing mapped literal conversion. Tests cover Guid/int, empty and changed collections, duplicates, nullable/negated/projected Contains, hostile strings and enum converters.
QuackExceptionderives fromDbException, suppresses driver text/inner exceptions, and retains ErrorCode, SqlState and IsTransient. Cancellation exceptions pass through unchanged; pre-canceled sync/async helper calls do not invoke the driver.- Stream/text-reader wrappers delegate reads lazily while retaining redaction for deferred failures. The reader's synchronous dispose pattern calls its base implementation and releases the inner reader even if count inspection fails.
- Version is 0.1.3.
Files changed¶
Production:
src/EFCore.DuckDB/Diagnostics/DuckDBQuackCommandInterceptor.cssrc/EFCore.DuckDB/Diagnostics/DuckDBQuackConnectionInterceptor.cssrc/EFCore.DuckDB/Diagnostics/QuackDataReader.cssrc/EFCore.DuckDB/Diagnostics/QuackParameterSql.cssrc/EFCore.DuckDB/Diagnostics/QuackErrors.cs(new)src/EFCore.DuckDB/Diagnostics/QuackStream.cs(new)src/EFCore.DuckDB/Diagnostics/QuackTextReader.cs(new)src/EFCore.DuckDB/Query/DuckDBSqlExpressionFactory.cs(new)src/EFCore.DuckDB/Extensions/DuckDBServiceCollectionExtensions.cssrc/EFCore.DuckDB/EFCore.DuckDB.csproj
Tests and report:
tests/EFCore.DuckDB.Tests/QuackCommandBoundaryTests.cstests/EFCore.DuckDB.Tests/QuackParameterTests.cs(already untracked at intake; preserved, with four driver-failure assertions updated to the new exception type)tests/EFCore.DuckDB.Tests/ContainsTests.cs(new)tests/EFCore.DuckDB.Tests/QuackAffectedRowsTests.cs(new; embeds verbatim real-producer evidence)tests/EFCore.DuckDB.Tests/QuackErrorAndStreamingTests.cs(new)QUACK-ROUND3-RESULT.md(new)
External harness, under the scratchpad directory specified in the brief:
quack-e2e/Program.cs: real assertions for every failing baseline path, stale concurrency, referenced-parent UPDATE, reader/nonquery counts, mixed batches and UPDATE rollback; server token redacted from output.quack-e2e/E2E.csproj: references this worktree's project; preserves the custom native DLL copy targets.quack-e2e/build-baseline.cmd: serial headless build with a writable APPDATA for NuGet configuration.
QUACK-ROUND3-BRIEF.md was already untracked and was not edited. Reproduction scripts and logs are under ignored artifacts/ and the specified scratchpad.
Verification and environment¶
Before changes: unit suite 203 passed, 1 skipped, 0 failed. The real-server baseline reproduced 2 failures (UPDATE concurrency and parameter-list Contains).
After changes: unit suite 271 passed, 1 skipped, 0 failed. Release build has 0 warnings, 0 errors. The package and final e2e receipts follow below.
Commands ran serially using hidden child processes. artifacts/round3-validate.ps1 ran:
dotnet build -c Release -m:1 -p:NuGetAudit=false --ignore-failed-sources
dotnet test -c Release -m:1 --no-restore
dotnet pack -c Release -m:1 --no-restore
NuGet's default roaming configuration was inaccessible under the sandbox. Builds use a writable APPDATA and the existing C:\Users\fives\.nuget\packages cache. NuGet audit was disabled for this validation; no vulnerability-scan claim is made.
The real e2e harness uses C:\Tools\duckdb\2.0.0\duckdb.exe, a fresh isolated database/server, and a generated token passed through the server environment. Its output shows DisableSsl=False. The custom Windows DuckDB 2.0.0 native DLL is verified against the brief's SHA-256. The harness tests both local execution and actual UseQuack transport.
After package creation, artifacts/round3-package-e2e.ps1 copies the built provider assembly into the harness output and runs dotnet bin\Release\net10.0\E2E.dll. artifacts/round3-receipt.ps1 checks package version and that the package DLL, built DLL and e2e-tested DLL have identical hashes. This final run is used because the earlier harness-build assembly had a different hash; its results alone were not accepted as package verification.
Scope and remaining limitations¶
- Every task in the brief was implemented and exercised. The conditional RETURNING fallback was unnecessary: CLI and ADO probes demonstrate real Count results. A direct referenced-parent UPDATE RETURNING probe reproduces DuckDB's foreign-key constraint error; the provider's ordinary UPDATE passes and rolls back correctly.
- Explicit user-written RETURNING results retain their existing reader behavior (
RecordsAffected=-1) and are not interpreted as Count summaries. This fix reads non-returning DML count results. - The existing environment-dependent
QuackTests.Local_quack_attachment_executes_queryunit test remains skipped. The separate real-server harness above ran successfully instead; the skip is not counted as a pass. - NuGet still references DuckDB.NET.Data.Full 1.5.6.1. The custom DuckDB 2.0.0 native binary used for Quack verification is not bundled in this provider nupkg; deployment must continue supplying the compatible native library described in the brief.
- Cross-family plan review could not run: council-seat reported Jenny and Susie CLI paths unreadable in this sandbox. Both seats were SKIPPED, not approved. Structured receipts are
scratchpad/quack-round3-plan-jenny/seat-jenny.jsonandscratchpad/quack-round3-plan-susie/seat-susiefranny.json; prompt isscratchpad/quack-round3-plan.txt. Clahadore must complete the applicable council gate before committing/publishing. No commit, push or public release was performed. - No repository
docs/BOARD.mdexists in this worktree; no link was invented.
Primary-source comparison¶
EF's SqlExpressionFactory and SqlNullabilityProcessor supply scalar expansion and null semantics. SQLite's visitor uses JSON/json_each; Npgsql's visitor uses native array operations. This provider's fix is confined to Contains parameters and does not advertise stored collection-column support. DuckDB's Quack reference documents the CLI query functions used in the producer probes.
Raw receipts¶
Baseline unit tests: dotnet test -c Release -m:1 --no-restore¶
Log: C:\Users\fives\source\repos\EFCore.DuckDB.wt\quack-tls\artifacts\round3-baseline.log
EFCore.DuckDB -> C:\Users\fives\source\repos\EFCore.DuckDB.wt\quack-tls\src\EFCore.DuckDB\bin\Release\net10.0\EFCore.DuckDB.dll
EFCore.DuckDB.Migrate -> C:\Users\fives\source\repos\EFCore.DuckDB.wt\quack-tls\tools\EFCore.DuckDB.Migrate\bin\Release\net10.0\EFCore.DuckDB.Migrate.dll
EFCore.DuckDB.Tests -> C:\Users\fives\source\repos\EFCore.DuckDB.wt\quack-tls\tests\EFCore.DuckDB.Tests\bin\Release\net10.0\EFCore.DuckDB.Tests.dll
Test run for C:\Users\fives\source\repos\EFCore.DuckDB.wt\quack-tls\tests\EFCore.DuckDB.Tests\bin\Release\net10.0\EFCore.DuckDB.Tests.dll (.NETCoreApp,Version=v10.0)
A total of 1 test files matched the specified pattern.
[xUnit.net 00:00:02.13] EFCore.DuckDB.Tests.QuackTests.Local_quack_attachment_executes_query [SKIP]
Skipped EFCore.DuckDB.Tests.QuackTests.Local_quack_attachment_executes_query [1 ms]
Passed! - Failed: 0, Passed: 203, Skipped: 1, Total: 204, Duration: 7 s - EFCore.DuckDB.Tests.dll (net10.0)
Baseline real-server e2e: dotnet bin/Release/net10.0/E2E.dll (FAILS=2)¶
Log: C:\Users\fives\AppData\Local\Temp\claude\C--Users-fives-source-repos-Verse4Verse\2fb3dcfb-23e1-4a3e-b000-ac8110b71479\scratchpad\quack-e2e\baseline.log
server alive: True
CLI Count probe exit=0 stdout=Count
0
stderr=
using DisableSsl=False
PASS version() through UseQuack :: v2.0.0
local native version(): v2.0.0
PASS EnsureCreated (table pre-exists) :: returned False
PASS Insert 3 rows (SaveChanges)
PASS Roundtrip hostile/$/unicode + all types :: O'Brien'; DROP TABLE x; --|cost $p1 and $1 here|h�llo ??? ??
PASS Where with string/int/decimal/datetime/guid params :: 1,1,2,1,1,1
FAIL update :: DbUpdateConcurrencyException: Expected to update 1 row, but DuckDB updated 0 rows.
FAIL contains :: InvalidOperationException: Expression '@ids' in the SQL tree does not have a type mapping assigned.
PASS Delete
PASS Transaction rollback :: inTx=1 after=0
PASS Transaction commit (extra)
LOG info: 10/31/2026 12:27:43.419 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command)
Executed DbCommand (11ms) [Parameters=[p1='?' (DbType = Guid), p0='?' (DbType = Int32)], CommandType='0', CommandTimeout='0']
UPDATE "Items" SET "Qty" = $p0
WHERE "Id" = $p1;
diag update fail: Expected to update 1 row, but DuckDB updated 0 rows.
update Score only fail: Expected to update 1 row, but DuckDB updated 0 rows.
update Name only fail: Expected to update 1 row, but DuckDB updated 0 rows.
update Price only fail: Expected to update 1 row, but DuckDB updated 0 rows.
LOCAL contains fail: Expression '@ids' in the SQL tree does not have a type mapping assigned.
LOCAL update ok
raw UPDATE reported rows=0; actual Qty values after=4242,4242,4242; raw DELETE reported rows=0
Exists=True HasTables=True
CreateTables on NEW table over Quack ok, rows=0
PASS EnsureCreated creating NEW table (Other) :: returned False
db deleted: True
FAILS=2
--- server output ---
duckdb agent mode on: AI_AGENT is set and stdout is not a terminal; -no-agent turns it off, .help agent explains the output
| listen_uri:VARCHAR | listen_url:VARCHAR | auth_token:VARCHAR |
|---|---|---|
| quack:localhost | http://localhost:9494 | [REDACTED] |
Final Release build (exit 0)¶
Log: C:\Users\fives\source\repos\EFCore.DuckDB.wt\quack-tls\artifacts\round3-build.log
Determining projects to restore...
Restored C:\Users\fives\source\repos\EFCore.DuckDB.wt\quack-tls\src\EFCore.DuckDB\EFCore.DuckDB.csproj (in 189 ms).
2 of 3 projects are up-to-date for restore.
EFCore.DuckDB -> C:\Users\fives\source\repos\EFCore.DuckDB.wt\quack-tls\src\EFCore.DuckDB\bin\Release\net10.0\EFCore.DuckDB.dll
EFCore.DuckDB.Migrate -> C:\Users\fives\source\repos\EFCore.DuckDB.wt\quack-tls\tools\EFCore.DuckDB.Migrate\bin\Release\net10.0\EFCore.DuckDB.Migrate.dll
EFCore.DuckDB.Tests -> C:\Users\fives\source\repos\EFCore.DuckDB.wt\quack-tls\tests\EFCore.DuckDB.Tests\bin\Release\net10.0\EFCore.DuckDB.Tests.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:02.43
Final Release tests (exit 0)¶
Log: C:\Users\fives\source\repos\EFCore.DuckDB.wt\quack-tls\artifacts\round3-test.log
EFCore.DuckDB -> C:\Users\fives\source\repos\EFCore.DuckDB.wt\quack-tls\src\EFCore.DuckDB\bin\Release\net10.0\EFCore.DuckDB.dll
EFCore.DuckDB.Migrate -> C:\Users\fives\source\repos\EFCore.DuckDB.wt\quack-tls\tools\EFCore.DuckDB.Migrate\bin\Release\net10.0\EFCore.DuckDB.Migrate.dll
EFCore.DuckDB.Tests -> C:\Users\fives\source\repos\EFCore.DuckDB.wt\quack-tls\tests\EFCore.DuckDB.Tests\bin\Release\net10.0\EFCore.DuckDB.Tests.dll
Test run for C:\Users\fives\source\repos\EFCore.DuckDB.wt\quack-tls\tests\EFCore.DuckDB.Tests\bin\Release\net10.0\EFCore.DuckDB.Tests.dll (.NETCoreApp,Version=v10.0)
A total of 1 test files matched the specified pattern.
[xUnit.net 00:00:00.89] EFCore.DuckDB.Tests.QuackTests.Local_quack_attachment_executes_query [SKIP]
Skipped EFCore.DuckDB.Tests.QuackTests.Local_quack_attachment_executes_query [1 ms]
Passed! - Failed: 0, Passed: 271, Skipped: 1, Total: 272, Duration: 6 s - EFCore.DuckDB.Tests.dll (net10.0)
Pack (exit 0)¶
Log: C:\Users\fives\source\repos\EFCore.DuckDB.wt\quack-tls\artifacts\round3-pack.log
EFCore.DuckDB -> C:\Users\fives\source\repos\EFCore.DuckDB.wt\quack-tls\src\EFCore.DuckDB\bin\Release\net10.0\EFCore.DuckDB.dll
Successfully created package 'C:\Users\fives\source\repos\EFCore.DuckDB.wt\quack-tls\src\EFCore.DuckDB\bin\Release\JonesGaffney.EntityFrameworkCore.DuckDB.0.1.3.nupkg'.
Package and tested-binary identity verification (exit 0)¶
Log: C:\Users\fives\source\repos\EFCore.DuckDB.wt\quack-tls\artifacts\round3-package-verification.log
Build exit=0; test exit=0; pack exit=0
NuGet package version=0.1.3
Package=C:\Users\fives\source\repos\EFCore.DuckDB.wt\quack-tls\src\EFCore.DuckDB\bin\Release\JonesGaffney.EntityFrameworkCore.DuckDB.0.1.3.nupkg
Package bytes=76964
Package SHA256=443f8fed191c1780012abc98afeb7ce48438c9bf4c7343bf61cdc5d083889752
Built assembly SHA256=2445cfcb8ffedd0a2b5a89d96d26f459b2878ea66ab241e76776ef7aea0f092d
E2E-tested assembly SHA256=2445cfcb8ffedd0a2b5a89d96d26f459b2878ea66ab241e76776ef7aea0f092d
Packaged assembly SHA256=2445cfcb8ffedd0a2b5a89d96d26f459b2878ea66ab241e76776ef7aea0f092d
Native DuckDB 2.0.0 SHA256=999fdc4da4a8983b4cd14cea8fde16f37636d64092dbc10c777b77c0257f69ef
Full packaged-assembly e2e log SHA256=8d73f45c4f4699fff92285954d44b60281b55ca4238188635db2ddf6da4c8c4f
Full final e2e output using the packaged assembly (exit 0)¶
Log: C:\Users\fives\source\repos\EFCore.DuckDB.wt\quack-tls\artifacts\round3-package-e2e.log
server alive: True
PASS CLI quack_query UPDATE Count results 1 and 0 :: exit=0 stdout=Count|1|Count|0| stderr=
using DisableSsl=False
MIXED RAW sql=CREATE TABLE RawCtas AS SELECT 1 AS i UNION ALL SELECT 2; UPDATE RawCtas SET i=i+1 result=0 fields=1 affected=-1
MIXED RAW row Count=2
MIXED RAW sql=CREATE TABLE RawCtas AS SELECT 1 AS i UNION ALL SELECT 2; UPDATE RawCtas SET i=i+1 result=1 fields=1 affected=-1
MIXED RAW row Count=2
MIXED RAW final affected=-1
MIXED RAW sql=TRUNCATE RawCtas; SELECT 7 AS Count result=0 fields=1 affected=-1
MIXED RAW row Count=2
MIXED RAW sql=TRUNCATE RawCtas; SELECT 7 AS Count result=1 fields=1 affected=-1
MIXED RAW row Count=7
MIXED RAW final affected=-1
MIXED RAW sql=CREATE TABLE RawBatch (i INTEGER); INSERT INTO RawBatch VALUES (1),(2); SELECT 7 AS Count result=0 fields=1 affected=-1
MIXED RAW sql=CREATE TABLE RawBatch (i INTEGER); INSERT INTO RawBatch VALUES (1),(2); SELECT 7 AS Count result=1 fields=1 affected=-1
MIXED RAW row Count=2
MIXED RAW sql=CREATE TABLE RawBatch (i INTEGER); INSERT INTO RawBatch VALUES (1),(2); SELECT 7 AS Count result=2 fields=1 affected=-1
MIXED RAW row Count=7
MIXED RAW final affected=-1
MIXED RAW sql=SELECT 7 AS Count result=0 fields=1 affected=-1
MIXED RAW row Count=7
MIXED RAW final affected=-1
MIXED RAW sql=UPDATE RawBatch SET i=i+1 RETURNING 7 AS Count result=0 fields=1 affected=-1
MIXED RAW row Count=7
MIXED RAW row Count=7
MIXED RAW final affected=-1
MIXED RAW sql=BEGIN; SELECT 7 AS Count; COMMIT result=0 fields=1 affected=-1
MIXED RAW row Count=7
MIXED RAW final affected=-1
MIXED RAW sql=CREATE TABLE RawDrop (i INTEGER); DROP TABLE RawDrop; SELECT 7 AS Count result=0 fields=1 affected=-1
MIXED RAW sql=CREATE TABLE RawDrop (i INTEGER); DROP TABLE RawDrop; SELECT 7 AS Count result=1 fields=1 affected=-1
MIXED RAW sql=CREATE TABLE RawDrop (i INTEGER); DROP TABLE RawDrop; SELECT 7 AS Count result=2 fields=1 affected=-1
MIXED RAW row Count=7
MIXED RAW final affected=-1
MIXED RAW sql=BEGIN; UPDATE RawBatch SET i=i+1; SELECT 7 AS Count; COMMIT result=0 fields=1 affected=-1
MIXED RAW row Count=2
MIXED RAW sql=BEGIN; UPDATE RawBatch SET i=i+1; SELECT 7 AS Count; COMMIT result=1 fields=1 affected=-1
MIXED RAW row Count=7
MIXED RAW final affected=-1
MIXED RAW sql=UPDATE RawBatch SET i=i+1; SELECT 7 AS Count; DELETE FROM RawBatch result=0 fields=1 affected=-1
MIXED RAW row Count=2
MIXED RAW sql=UPDATE RawBatch SET i=i+1; SELECT 7 AS Count; DELETE FROM RawBatch result=1 fields=1 affected=-1
MIXED RAW row Count=7
MIXED RAW sql=UPDATE RawBatch SET i=i+1; SELECT 7 AS Count; DELETE FROM RawBatch result=2 fields=1 affected=-1
MIXED RAW row Count=2
MIXED RAW final affected=-1
MIXED WRAPPED sql=CREATE TABLE WrappedCtas AS SELECT 1 AS i UNION ALL SELECT 2; UPDATE WrappedCtas SET i=i+1 result=0 fields=1 affected=2
MIXED WRAPPED row Count=2
MIXED WRAPPED sql=CREATE TABLE WrappedCtas AS SELECT 1 AS i UNION ALL SELECT 2; UPDATE WrappedCtas SET i=i+1 result=1 fields=1 affected=4
MIXED WRAPPED row Count=2
MIXED WRAPPED final affected=4
PASS Mixed batch preserves rowsets and affected counts :: expectedAffected=4, actual=4, values=2,2
MIXED WRAPPED sql=TRUNCATE WrappedCtas; SELECT 7 AS Count result=0 fields=1 affected=2
MIXED WRAPPED row Count=2
MIXED WRAPPED sql=TRUNCATE WrappedCtas; SELECT 7 AS Count result=1 fields=1 affected=2
MIXED WRAPPED row Count=7
MIXED WRAPPED final affected=2
PASS Mixed batch preserves rowsets and affected counts :: expectedAffected=2, actual=2, values=2,7
MIXED WRAPPED sql=CREATE TABLE WrappedBatch (i INTEGER); INSERT INTO WrappedBatch VALUES (1),(2); SELECT 7 AS Count result=0 fields=1 affected=-1
MIXED WRAPPED sql=CREATE TABLE WrappedBatch (i INTEGER); INSERT INTO WrappedBatch VALUES (1),(2); SELECT 7 AS Count result=1 fields=1 affected=2
MIXED WRAPPED row Count=2
MIXED WRAPPED sql=CREATE TABLE WrappedBatch (i INTEGER); INSERT INTO WrappedBatch VALUES (1),(2); SELECT 7 AS Count result=2 fields=1 affected=2
MIXED WRAPPED row Count=7
MIXED WRAPPED final affected=2
PASS Mixed batch preserves rowsets and affected counts :: expectedAffected=2, actual=2, values=2,7
MIXED WRAPPED sql=SELECT 7 AS Count result=0 fields=1 affected=-1
MIXED WRAPPED row Count=7
MIXED WRAPPED final affected=-1
PASS Mixed batch preserves rowsets and affected counts :: expectedAffected=-1, actual=-1, values=7
PASS User Count column not treated as affected-row summary :: actual=-1
MIXED WRAPPED sql=UPDATE WrappedBatch SET i=i+1 RETURNING 7 AS Count result=0 fields=1 affected=-1
MIXED WRAPPED row Count=7
MIXED WRAPPED row Count=7
MIXED WRAPPED final affected=-1
PASS Mixed batch preserves rowsets and affected counts :: expectedAffected=-1, actual=-1, values=7,7
PASS User Count column not treated as affected-row summary :: actual=-1
MIXED WRAPPED sql=BEGIN; SELECT 7 AS Count; COMMIT result=0 fields=1 affected=-1
MIXED WRAPPED row Count=7
MIXED WRAPPED final affected=-1
PASS Mixed batch preserves rowsets and affected counts :: expectedAffected=-1, actual=-1, values=7
MIXED WRAPPED sql=CREATE TABLE WrappedDrop (i INTEGER); DROP TABLE WrappedDrop; SELECT 7 AS Count result=0 fields=1 affected=-1
MIXED WRAPPED sql=CREATE TABLE WrappedDrop (i INTEGER); DROP TABLE WrappedDrop; SELECT 7 AS Count result=1 fields=1 affected=-1
MIXED WRAPPED sql=CREATE TABLE WrappedDrop (i INTEGER); DROP TABLE WrappedDrop; SELECT 7 AS Count result=2 fields=1 affected=-1
MIXED WRAPPED row Count=7
MIXED WRAPPED final affected=-1
PASS Mixed batch preserves rowsets and affected counts :: expectedAffected=-1, actual=-1, values=7
MIXED WRAPPED sql=BEGIN; UPDATE WrappedBatch SET i=i+1; SELECT 7 AS Count; COMMIT result=0 fields=1 affected=2
MIXED WRAPPED row Count=2
MIXED WRAPPED sql=BEGIN; UPDATE WrappedBatch SET i=i+1; SELECT 7 AS Count; COMMIT result=1 fields=1 affected=2
MIXED WRAPPED row Count=7
MIXED WRAPPED final affected=2
PASS Mixed batch preserves rowsets and affected counts :: expectedAffected=2, actual=2, values=2,7
MIXED WRAPPED sql=UPDATE WrappedBatch SET i=i+1; SELECT 7 AS Count; DELETE FROM WrappedBatch result=0 fields=1 affected=2
MIXED WRAPPED row Count=2
MIXED WRAPPED sql=UPDATE WrappedBatch SET i=i+1; SELECT 7 AS Count; DELETE FROM WrappedBatch result=1 fields=1 affected=2
MIXED WRAPPED row Count=7
MIXED WRAPPED sql=UPDATE WrappedBatch SET i=i+1; SELECT 7 AS Count; DELETE FROM WrappedBatch result=2 fields=1 affected=4
MIXED WRAPPED row Count=2
MIXED WRAPPED final affected=4
PASS Mixed batch preserves rowsets and affected counts :: expectedAffected=4, actual=4, values=2,7,2
PROBE UPDATE "Items" SET "Qty"=1 WHERE false fields=1 affected=-1
PROBE row Count=0
PROBE done affected=-1
PROBE SELECT * FROM quack_query_by_name('app','UPDATE "Items" SET "Qty"=1 WHERE false',use_transaction:=true,refresh_catalog:=true) fields=1 affected=-1
PROBE row Count=0
PROBE done affected=-1
PASS version() through UseQuack :: v2.0.0
local native version(): v2.0.0
PASS EnsureCreated (table pre-exists) :: returned False
PASS Insert 3 rows (SaveChanges)
PASS Roundtrip hostile/$/unicode + all types :: O'Brien'; DROP TABLE x; --|cost $p1 and $1 here|héllo 日本語 🦆
PASS Where with string/int/decimal/datetime/guid params :: 1,1,2,1,1,1
PASS Update
PASS Contains(list of ids)
PASS Contains(List<int>) over Quack
PASS Contains(empty List<int>) over Quack
PASS Contains(changed collection) over Quack
PASS Contains(hostile string list) over Quack
PASS Stale UPDATE raises DbUpdateConcurrencyException
PASS UPDATE referenced parent without RETURNING
PROBE referenced parent UPDATE RETURNING driver error: Constraint Error: Violates foreign key constraint because key "ParentId: 1" is still referenced by a foreign key in a different table. If this is an unexpected constraint violation, please refer to our foreign key limitations in the documentation
PASS QuackDataReader RecordsAffected=1 :: actual=1
PASS QuackDataReader RecordsAffected=0 :: actual=0
PASS ExecuteNonQuery INSERT/UPDATE/DELETE counts :: update=1, stale=0, insert=2, delete=2, emptyDelete=0
PASS Delete
PASS Transaction rollback :: inTx=1 after=0
PASS Transaction commit (extra)
PASS UPDATE count preserved inside transaction and rollback :: saved=1, inside=12345, after=50
PASS UPDATE score only
PASS UPDATE name only
PASS UPDATE price only
PASS Local Contains(List<Guid>)
PASS Local Contains(List<int>)
PASS Local empty List<Guid>
PASS Local UPDATE
PASS Bulk raw UPDATE/DELETE counts :: update=3, values=4242,4242,4242, delete=1
Exists=True HasTables=True
CreateTables on NEW table over Quack ok, rows=0
PASS EnsureCreated creating NEW table (Other) :: returned False
db deleted: True
FAILS=0
--- server output ---
duckdb agent mode on: AI_AGENT is set and stdout is not a terminal; -no-agent turns it off, .help agent explains the output
| listen_uri:VARCHAR | listen_url:VARCHAR | auth_token:VARCHAR |
|---|---|---|
| quack:localhost | http://localhost:9494 | [REDACTED] |