FTBFS against sqlite3 3.37 or newer

Bug #1956798 reported by Dan Bungert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
restfuldb (Debian)
Fix Released
Unknown
restfuldb (Ubuntu)
Fix Released
Undecided
Simon Chopin

Bug Description

When built against sqlite 3.37 or newer, the build will fail in test.
Example:
https://autopkgtest.ubuntu.com/results/autopkgtest-jammy/jammy/amd64/r/restfuldb/20220107_080256_a18a5@/log.gz
https://ci.debian.net/data/autopkgtest/unstable/amd64/r/restfuldb/17950775/log.gz

tests/cases/Database.pm_001.sh: FAILED:
2c2
< 'image' => 'blob'
---
> 'image' => 'BLOB'

+many more of a similar nature.

As of sqlite 3.37.0, with FossilOrigin-Name:
d2da62a9df63036b02dadca3798de9e623c2680b3ef0c37d2b18bb88693afd7f,
type names for 5 common types BLOB, INT, INTEGER, REAL, and TEXT will be
treated as if they were created in all uppercase.

Revision history for this message
Dan Bungert (dbungert) wrote :

Do case insensitive compares, see patch description for more details.

Changed in restfuldb (Ubuntu):
status: New → Confirmed
Changed in restfuldb (Debian):
status: Unknown → New
Changed in restfuldb (Debian):
status: New → Confirmed
Simon Chopin (schopin)
Changed in restfuldb (Ubuntu):
assignee: nobody → Simon Chopin (schopin)
status: Confirmed → In Progress
Revision history for this message
Simon Chopin (schopin) wrote :

Uploaded, thanks for the patch!

Changed in restfuldb (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package restfuldb - 0.15.2+dfsg-2ubuntu1

---------------
restfuldb (0.15.2+dfsg-2ubuntu1) jammy; urgency=medium

  * Adjust test comparison of data to be case insensitive for compatibility
    with sqlite 3.37.0 or newer (LP: #1956798)

 -- Dan Bungert <email address hidden> Fri, 07 Jan 2022 14:44:01 -0700

Changed in restfuldb (Ubuntu):
status: Fix Committed → Fix Released
Changed in restfuldb (Debian):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.