IPC::Concurrency::DBI fails because successful DBI operations leave errstr defined
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
Start by reproducing the minimal SQLite INSERT and inspect the bundled DBI compatibility layer that updates errstr after successful operations. Then run t/20-register_application.t, the t/30-Application tests, and t/35-get_application.t; done means successful operations leave errstr undefined and these failures pass under both backends.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
IPC::Concurrency::DBI v1.2.0 fails under PerlOnJava even though its upstream suite passes under system Perl.
Evidence
- CPAN run:
20260928-091741-26386 - Distribution:
IPC-Concurrency-DBI v1.2.0 - System Perl: 22 test files, 103/103 tests passed.
- PerlOnJava: 12/22 test programs failed and 13/78 subtests failed.
- The failures occur in
t/20-register_application.t, thet/30-Application/...tests, andt/35-get_application.t. - Both JVM and interpreter backends reproduce the issue.
The first successful SQLite INSERT returns one affected row, but PerlOnJava reports defined($dbh->errstr) == 1 with an empty string. System Perl reports defined($dbh->errstr) == 0 after the same successful operation. IPC::Concurrency::DBI checks whether errstr is defined and therefore turns successful SQL operations into Cannot execute SQL: failures.
Minimal behavior:
my $rows = $dbh->do(
'INSERT INTO t(name,n) VALUES (?,0)', {}, 'x'
);
# PerlOnJava: rows=1, errstr defined, errstr=""
# System Perl: rows=1, errstr undef
This points to the bundled DBI compatibility layer clearing errstr to an empty defined scalar instead of undef after success.
Related issues
- DBI do() handling for MySQL SET statements (#1371)
- Delegate DBI transactions to non-JDBC drivers (#1455)
- DBD::SQLite REGEXP support (#1400)
- DBD::SQLite FTS4 custom tokenizers (#1459)
- SQLite-generated funcid values in TheSchwartz (#1320)
Dependency note
PerlOnJava uses its bundled Perl/JDBC DBI + SQLite implementation, so this is an internal DBI compatibility issue rather than an unsupported native prerequisite. A targeted DBD::SQLite reverse-dependency lookup was attempted for classification but MetaCPAN was unavailable; no dependency count is inferred.
- Lingua principale
- Perl
- Stelle
- 64
- Fork
- 6
- Merge medio
- 4h 55m
- PR unite (30g)
- 169
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di fglock/PerlOnJava
-
area:cpan-port area:unicode bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
fglock/PerlOnJava#1341 ·
I maintainer di solito rispondono entro 1 giorno
-
area:cpan-port area:regex area:unicode bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
fglock/PerlOnJava#1556 ·
I maintainer di solito rispondono entro 1 giorno
-
area:backend area:runtime bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
fglock/PerlOnJava#1554 ·
I maintainer di solito rispondono entro 1 giorno
-
area:backend area:cpan-port bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
fglock/PerlOnJava#1548 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
fglock/PerlOnJava#1541 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di fglock/PerlOnJava
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
objectionary/eolang.sty#167 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
conan-io/conan-center-index#31065 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
openfoodfacts/openfoodfacts-server#14749 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
rubocop/ruby-style-guide#982 ·