From 380dde1865106adc426a5893d160b27a874c06c0 Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc kop@karlpinc.com" Date: Sun, 7 Jun 2026 22:52:23 +0000 Subject: [PATCH] New sdb_null_xor_null() macro, when one colum or another must be null --- doc/include/macros.m4 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/include/macros.m4 b/doc/include/macros.m4 index ebc928b..b9f7f50 100644 --- a/doc/include/macros.m4 +++ b/doc/include/macros.m4 @@ -50,6 +50,19 @@ define(`sdb_null_iff_null',dnl otherwise $1 must not be |null|.') +dnl The column col1 must be null if and only if another column, col2, is +dnl _not_ null. +dnl +dnl Syntax: sdb_null_xor_null(col1, col2) +dnl +dnl col1 A db column +dnl col2 Another db column +dnl +define(`sdb_null_xor_null',dnl +`$1 must *not* be |null| when +$2 is |null|, and vice-versa.') + + dnl dnl Macros which deal with the RST infrastructure. dnl -- 2.34.1