1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-11 20:28:21 +03:00

Fix the assert_enabled issue properly. This eliminates the former ABI

difference between USE_ASSERT_CHECKING and not: the assert_enabled
variable is always there.
This commit is contained in:
Tom Lane
2006-01-08 21:24:37 +00:00
parent cbf39930d6
commit 2645cb54cb
5 changed files with 8 additions and 17 deletions

View File

@ -546,10 +546,6 @@ _ltree_consistent(PG_FUNCTION_ARGS)
StrategyNumber strategy = (StrategyNumber) PG_GETARG_UINT16(2);
bool res = false;
#ifndef assert_enabled
#define assert_enabled 0
#endif
switch (strategy)
{
case 10: