Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#79779 - [sqlite] support for printf() has been dropped between 3.40.1-1 and 3.41.0-1
Attached to Project:
Arch Linux
Opened by Cecile Tonglet (cecton) - Monday, 25 September 2023, 13:57 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 26 September 2023, 07:01 GMT
Opened by Cecile Tonglet (cecton) - Monday, 25 September 2023, 13:57 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 26 September 2023, 07:01 GMT
|
DetailsDescription:
Hello! I'm sorry if this ticket is not at the right place. I use the package sqlite very often and today I just realized that the printf() function does not work anymore in the CLI. According to the doc for sqlite, printf() has been renamed to format() in SQLite 3.38.0, which was released on 22 February 2022. I can confirm that both commands (format and printf) works in the package sqlite 3.40.1-1 but not in 3.41.0-1. My guess is that this feature needs to be enabled in the configure script and it was disabled at some point OR it was enabled by default and now it isn't. In any case, the change of behavior of the package sqlite is disturbing. I heavily rely on this feature and I will need to make an AUR if this is not re-enabled in the core package. But I would be very happy if we can re-enable this feature. Net Upgrade Size: 0.04 MiB Additional info: * package version(s): 3.40.1-1 (support for printf/format), 3.41.0-1 (no more support for printf/format) * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: ``` sqlite3 :memory: 'SELECT format("%d", 1)' ``` |
This task depends upon
Closed by Toolybird (Toolybird)
Tuesday, 26 September 2023, 07:01 GMT
Reason for closing: Not a bug
Additional comments about closing: See comments
Tuesday, 26 September 2023, 07:01 GMT
Reason for closing: Not a bug
Additional comments about closing: See comments
$ sqlite3
SQLite version 3.43.1 2023-09-11 12:01:27
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
sqlite> SELECT format('This is %s. %s likes %s.', 'Tim', 'He', 'football');
This is Tim. He likes football.
sqlite> SELECT printf('This is %s. %s likes %s.', 'Tim', 'He', 'football');
This is Tim. He likes football.
[1] https://wiki.archlinux.org/title/Bug_reporting_guidelines