]> git.evergreen-ils.org Git - Evergreen.git/commit
LP1937294: Fix Sample Data Load Predictability Issue
authorJason Stephenson <jason@sigio.com>
Mon, 15 Nov 2021 19:21:17 +0000 (14:21 -0500)
committerMike Rylander <mrylander@gmail.com>
Wed, 23 Mar 2022 22:45:17 +0000 (18:45 -0400)
commit0ab42b1702ae0797dc9247b5a4258edbe27d6c74
treebed713d930c4cbd753402ff5a604d3549b24a914
parentc7d525f4a5b7839b1ce13457184359e27430596e
LP1937294: Fix Sample Data Load Predictability Issue

Add "ORDER BY id" to the main queries in the functions used to create
call numbers and copies when loading the sample data.  This change
allows the call numbers and copies to be created in a predictable
manner.

The necessity of this change was revealed by the failure of the
20-hold-targeter.t Perl live test on PostgreSQL 11+.  After this
change, that test passes on newer PostgreSQL versions and continues to
pass on PostgreSQL 10.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/tests/datasets/sql/env_create.sql