IPC::Concurrency::DBI fails because successful DBI operations leave errstr defined
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 55/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Perl
- Estrelas
- 64
- Forks
- 7
- Merge médio
- 5h 39min
- PRs com merge (30d)
- 213
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de fglock/PerlOnJava
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
fglock/PerlOnJava#1579 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 48/100
fglock/PerlOnJava#1835 ·
Mantenedores costumam responder em até 1 dia
-
area:cpan-port bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 68/100
fglock/PerlOnJava#1820 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 3/5 Meio dia Facilidade para iniciantes 45/100
fglock/PerlOnJava#1808 ·
Mantenedores costumam responder em até 1 dia
-
area:cpan-port area:runtime bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 28/100
fglock/PerlOnJava#1802 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
Todas as issues de fglock/PerlOnJava
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 80/100
jimsalterjrs/sanoid#1116 · 1 reação ·
-
Add .gitattributes so share/skel keeps LF on a Windows git checkoutTalvez já em andamento @sadhana-s-codez assumiu há 2 dias. Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 85/100
PerlDancer/Dancer2#1854 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
major/MySQLTuner-perl#1007 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100