Patch by Boszormenyi Zoltan <zb@cybertec.at>
{
case ECPGt_short:
case ECPGt_unsigned_short:
- *((short *) (ind + offset * act_tuple)) = variable->len;
+ *((short *) (ind + ind_offset * act_tuple)) = variable->len;
break;
case ECPGt_int:
case ECPGt_unsigned_int:
- *((int *) (ind + offset * act_tuple)) = variable->len;
+ *((int *) (ind + ind_offset * act_tuple)) = variable->len;
break;
case ECPGt_long:
case ECPGt_unsigned_long:
- *((long *) (ind + offset * act_tuple)) = variable->len;
+ *((long *) (ind + ind_offset * act_tuple)) = variable->len;
break;
#ifdef HAVE_LONG_LONG_INT
case ECPGt_long_long: