Revision 4012
Added by Aaron Marcuse-Kubitza over 12 years ago
functions.sql | ||
---|---|---|
72 | 72 |
* |
73 | 73 |
FROM |
74 | 74 |
(VALUES |
75 |
(0, $1)
|
|
76 |
, (1, $2)
|
|
77 |
, (2, $3)
|
|
78 |
, (3, $4)
|
|
79 |
, (4, $5)
|
|
80 |
, (5, $6)
|
|
81 |
, (6, $7)
|
|
82 |
, (7, $8)
|
|
83 |
, (8, $9)
|
|
84 |
, (9, $10)
|
|
75 |
(1, $1)
|
|
76 |
, (2, $2)
|
|
77 |
, (3, $3)
|
|
78 |
, (4, $4)
|
|
79 |
, (5, $5)
|
|
80 |
, (6, $6)
|
|
81 |
, (7, $7)
|
|
82 |
, (8, $8)
|
|
83 |
, (9, $9)
|
|
84 |
, (10, $10)
|
|
85 | 85 |
) |
86 | 86 |
AS v (sort_order, value) |
87 | 87 |
WHERE value IS NOT NULL |
Also available in: Unified diff
schemas/functions.sql: _merge(): Changed sort_orders to match the $-variable name instead of the function parameter name, so each line of the VALUES clause would use the same number for both