summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/informix/ifx.ec4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/informix/ifx.ec b/ext/informix/ifx.ec
index 5664a0e55f..efe547e452 100644
--- a/ext/informix/ifx.ec
+++ b/ext/informix/ifx.ec
@@ -2170,7 +2170,7 @@ $endif;
EXEC SQL GET DESCRIPTOR :descrpid VALUE :i :*locator_b = DATA;
/* work around for ESQL/C bug with NULL values and BLOBS */
if ((locator_b->loc_status < 0) && (locator_b->loc_bufsize == 0)){
- locator_b->loc_indicator == -1;
+ locator_b->loc_indicator = -1;
}
/* normal check for NULL values */
if (locator_b->loc_indicator == -1) {
@@ -2535,7 +2535,7 @@ $endif;
:*locator_b = DATA;
/* work around for ESQL/C bug with NULL values and BLOBS */
if ((locator_b->loc_status < 0) && (locator_b->loc_bufsize == 0)){
- locator_b->loc_indicator == -1;
+ locator_b->loc_indicator = -1;
}
/* normal check for NULL values */
if (locator_b->loc_indicator == -1) {