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.