.hgtags
author martin f. krafft <madduck@madduck.net>
Sun, 15 Apr 2012 17:51:00 +0200
branchv0.6.x
changeset 550 867d950ce7b7
parent 161 b62aa4aabcd0
child 573 0643c25121b5
permissions -rw-r--r--
Fix transport_maps function for non-existent domains The postfix_transport_maps function had a bug causing 2012-04-15 17:40:22 CEST LOG: statement: SELECT transport FROM postfix_transport_map('logcheck', 'domine.madduck.net'); 2012-04-15 17:40:22 CEST ERROR: query returned no rows when the domain was not in the database. This would make did be NULL and make the query fail. This patch moves the tid query until after a check for did. If the latter is NULL, the function RETURNs (rather than fails).

668951708f2f28f49da94479a89c40ab8c8a9b01 trunk
668951708f2f28f49da94479a89c40ab8c8a9b01 vmm-0.4
9b39f828aa8a7661582859ec75e1423c38dbbef2 vmm-0.3.1
bb0aa2102206cd25a99e64d0b94bcd6c2018d3df vmm-0.3
bc41dfcef0ad915ccca987b1b381d8c68ab70f2f vmm-0.5
dc98cc162c66d8a5227b6e7c5e7215757159688c vmm-0.5.1
3e972996da7f135f0a91afaea831befbac4c3351 vmm-0.5.2
668951708f2f28f49da94479a89c40ab8c8a9b01 trunk
0000000000000000000000000000000000000000 trunk