This queue is for tickets about the DBIx-DataModel CPAN distribution.

Report information
The Basics
Id:
134151
Status:
resolved
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
SREZIC [...] cpan.org
Cc:
MSTROUT [...] cpan.org
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
3.0
Fixed in:
3.01



CC: MSTROUT@cpan.org
Subject: t/v2_bind_param.t started to fail (with newest SQL::Abstract?)
t/v2_bind_param.t fails on my smoker systems like this: ... # Failed test 'insert with type info [-1]' # at /usr/home/cpansand/.cpan/build/2021012606/DBIx-DataModel-3.0-3/t/lib/DBIDM_Test.pm line 47. # SQL expressions differ # got: INSERT INTO T_Employee (foo) VALUES (HASH(0x80275cab0)) # want: INSERT INTO T_Employee(foo) VALUES (?) # # mismatch around # OP [HASH] != [-PAREN] in # left: HASH( 0x80275cab0 ) # right: ( ? ) # # BIND values differ { # got => [ # 123 # ], # want => [ # [ # 123, # { # ora_type => 999 # } # ] # ] # } # Failed test 'update with type info [-1]' # at /usr/home/cpansand/.cpan/build/2021012606/DBIx-DataModel-3.0-3/t/lib/DBIDM_Test.pm line 47. # SQL expressions differ # got: UPDATE T_Employee SET foo = HASH(0x80275c948) WHERE emp_id = ? # want: UPDATE T_Employee SET foo = ? WHERE emp_id = ? # # mismatch around # OP [HASH] != [-PLACEHOLDER] in # left: HASH( 0x80275c948 ) # right: ? # # BIND values differ { # got => [ # 123, # 111 # ], # want => [ # [ # 123, # { # ora_type => 999 # } # ], # 111 # ] # } # Failed test 'insert with automatic SQL type from DBIDM column type [-1]' # at /usr/home/cpansand/.cpan/build/2021012606/DBIx-DataModel-3.0-3/t/lib/DBIDM_Test.pm line 47. # SQL expressions differ # got: INSERT INTO T_Employee (xml1) VALUES (HASH(0x80275ca68)) # want: INSERT INTO T_Employee(xml1) VALUES (?) # # mismatch around # OP [HASH] != [-PAREN] in # left: HASH( 0x80275ca68 ) # right: ( ? ) # # BIND values differ { # got => [ # "<xml></xml>" # ], # want => [ # [ # "<xml></xml>", # { # ora_type => 108 # } # ] # ] # } # Looks like you failed 3 tests of 5. t/v2_bind_param.t .......... Dubious, test returned 3 (wstat 768, 0x300) Failed 3/5 subtests ... I guess that this is caused by changes in SQL::Abstract 2.x.
On Tue Jan 26 02:07:17 2021, SREZIC wrote:
Show quoted text
> t/v2_bind_param.t fails on my smoker systems like this: >
[..]
Show quoted text
> > I guess that this is caused by changes in SQL::Abstract 2.x.
There was an undetected incompatibility between SQL::Abstract::More and SQLA 2.x. Fixed in SQL::Abstract::More 1.37, and the missing tests were added. DBIx::DataModel is also fixed now by requiring a dependency on SQLAM v1.37


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.