Revision: 164
http://informixdb.svn.sourceforge.net/informixdb/?rev=164&view=rev
Author: chaese
Date: 2007-10-13 15:07:31 -0700 (Sat, 13 Oct 2007)
Log Message:
-----------
DESCRIBE INPUT doesn't touch the DA pointer if there are no inputs, so we
have to initialize the pointer to NULL.
Modified Paths:
--------------
trunk/informixdb/ext/_informixdb.ec
Modified: trunk/informixdb/ext/_informixdb.ec
===================================================================
--- trunk/informixdb/ext/_informixdb.ec 2007-10-13 21:48:18 UTC (rev 163)
+++ trunk/informixdb/ext/_informixdb.ec 2007-10-13 22:07:31 UTC (rev 164)
@@ -1933,7 +1933,7 @@
if (self->has_output) {
if (self->conn->can_describe_input) {
- struct sqlda *tda;
+ struct sqlda *tda = NULL;
EXEC SQL DESCRIBE INPUT :queryName INTO tda;
ret_on_dberror_cursor(self, "DESCRIBE INPUT");
if (tda) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|