Abort when trying to translate a node of unknown type. This happens
authorMike Taylor <mike@indexdata.com>
Wed, 21 Dec 2005 00:04:14 +0000 (00:04 +0000)
committerMike Taylor <mike@indexdata.com>
Wed, 21 Dec 2005 00:04:14 +0000 (00:04 +0000)
commitccb96652ac7afe10d0cd7db9f0e348001c6b3f82
tree640ad6a1e2d9778540a8e713593514cfb61330ae
parent59686102d56120c1f244f56346e9f4e65a296d50
Abort when trying to translate a node of unknown type.  This happens
when (for example) the node is corrupted by its parser being freed
before it's passed into the translation function ... a classic C-style
bug that's taken much of this evening to find and fix.  Defensive
programming, guys ...
src/cqltransform.c