[Koha-bugs] [Bug 26328] barcode.pl: ValueBuilder::incremental should cast barcode to unsigned integer
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Sep 1 02:55:06 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26328
David Cook <dcook at prosentient.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dcook at prosentient.com.au
--- Comment #1 from David Cook <dcook at prosentient.com.au> ---
That's an interesting one.
Your suggestion returns a value of 9223372036854775807. I would say that is an
undesirable outcome as well.
It's probably better to use something like this:
SELECT MAX(ABS(barcode)) FROM items WHERE barcode REGEXP '^[0-9]+$';
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list