CVS update: php3/functions
| From: | nyenyon | Date: | Wed, 26 Aug 1998 09:26:29 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-588@lists.php.net to get a copy of this message | ||
Date: Wednesday August 26, 1998 @ 5:26
Author: nyenyon
Update of /repository/php3/functions
In directory asf:/u2/tmp/cvs-serv3734
Modified Files:
ifx.ec
Log Message:
- minor bug-fix in blobsupport with filename-option on nonselect-queries.
Index: php3/functions/ifx.ec
diff -c php3/functions/ifx.ec:1.13 php3/functions/ifx.ec:1.14
*** php3/functions/ifx.ec:1.13 Sun Aug 23 12:23:06 1998
--- php3/functions/ifx.ec Wed Aug 26 05:26:29 1998
***************
*** 928,934 ****
for(i=1;i<(ARG_COUNT(ht)-1);i++) {
convert_to_long(pblobid[i+1]);
locator=php3_intifx_get_blobloc((int)pblobid[i+1]->value.lval,list);
!
EXEC SQL SET DESCRIPTOR :descrpid VALUE :i DATA= :*locator, TYPE=:loc_t_type;
}
Ifx_Result->paramquery=1;
--- 928,935 ----
for(i=1;i<(ARG_COUNT(ht)-1);i++) {
convert_to_long(pblobid[i+1]);
locator=php3_intifx_get_blobloc((int)pblobid[i+1]->value.lval,list);
! if(locator->loc_loctype=LOCFNAME)
! locator->loc_oflags=LOC_RONLY;
EXEC SQL SET DESCRIPTOR :descrpid VALUE :i DATA= :*locator, TYPE=:loc_t_type;
}
Ifx_Result->paramquery=1;
***************
*** 1234,1239 ****
--- 1235,1242 ----
for(i=1;i<(ARG_COUNT(ht)-1);i++) {
convert_to_long(pblobid[i+1]);
locator=php3_intifx_get_blobloc((int)pblobid[i+1]->value.lval,list);
+ if(locator->loc_loctype=LOCFNAME)
+ locator->loc_oflags=LOC_RONLY;
EXEC SQL SET DESCRIPTOR :descrpid VALUE :i DATA= :*locator, TYPE=:loc_t_type;
} /* for */
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net