IPC::Concurrency::DBI fails because successful DBI operations leave errstr defined
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Perl
- Estrellas
- 64
- Forks
- 7
- Merge medio
- 5 h 11 min
- PR fusionados (30 d)
- 186
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de fglock/PerlOnJava
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
fglock/PerlOnJava#1651 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
fglock/PerlOnJava#1579 ·
Los mantenedores suelen responder en 1 día
-
area:cpan-port area:unicode bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
fglock/PerlOnJava#1341 ·
Los mantenedores suelen responder en 1 día
-
area:performance area:runtime bug
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
fglock/PerlOnJava#1723 ·
Los mantenedores suelen responder en 1 día
-
DateTime::subtract fails when nanosecond result crosses midnightPosiblemente ocupada @fglock la tomó hace 1 día. Abiertoarea:runtime bug high-impact
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
fglock/PerlOnJava#1720 ·
Los mantenedores suelen responder en 1 día
Todos los issues de fglock/PerlOnJava
Issues similares
-
chore: remove unused .gemini configuration directoryPosiblemente ocupada @JayadityaGit la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
openfoodfacts/openfoodfacts-server#14878 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
radiator-software/p5-net-ssleay#577 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
beyondgrep/website#143 ·
-
CPAN install failingAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
sous-chefs/perl#110 · 1 comentario ·
-
bug help wanted
Dificultad 2/5 Menos de una hora Aptitud para principiantes 70/100
bioepic-data/bervo#145 · 1 comentario ·
Los mantenedores suelen responder en 1 día