For those tuning in late, here was the original identification of the bug in
question, since I don't think a full description made its way to dbi-users.
If you've encountered this behavior, the patch from the previous message does
fix it up perfectly, although it's still something of a hack (but I'm confident
enough that it's on our production servers -- it endured a day of rigorous
testing while I was weeding through the code to find the problem). I assume a
better fix will find its way into the next DBD::Oracle (I didn't see any related
changes in 1.08).
--
Stephen Clouse <[EMAIL PROTECTED]>
Senior Programmer, IQ Coordinator Project Lead
The IQ Group, Inc. <http://www.theiqgroup.com/>
----- Forwarded message -----
From [EMAIL PROTECTED] Tue Jul 31 16:25:25 2001
Date: Tue, 31 Jul 2001 16:25:25 -0500
From: Stephen Clouse <[EMAIL PROTECTED]>
To: Tim Bunce <[EMAIL PROTECTED]>
Subject: DBD::Oracle Bug -- LOBs and Numbers or Number-like Variables
This is related to the message I sent yesterday. After much experimentation I
have distilled it down to the simplest test case that demonstrates the bug.
DBD::Oracle seems to be doing some bizarre things when the value being bound to
the LOB is a number. The attached test script inserts five rows into a simple
number/LOB table:
1 1
2 A
3 1
4 B
5 1
And at the end queries the table and dumps out what it selects. Here's what my
run results in:
$VAR1 = {
'1' => '',
'2' => 'A',
'3' => 'A',
'4' => 'B',
'5' => 'B'
};
The first one does one of two things. 99% of the time it errors out with
ORA-24801, but one time while I was preparing this message it wrote some unknown
character sequence to the LOB (a query on DBMS_LOB.GETLENGTH showed its length
as 2, but a select in sqlplus showed nothing). Unfortunately I couldn't
retrieve this value, nor could I make the test script do it again. Anyway, from
the trace I do have it somewhat looks like some kind of boundary error or
overflow:
lob refetch 1 for ':p2' param: ftype 112, len 135778052: LobWrite ERROR
^^^^^^^^^ -- wtf?
The other two...well, I really have no idea what's happening with those. The
trace clearly shows the values being rebound but yet that's not what it writes
out. Originally, I stopped at the third row, but I threw in the last two just
to see if going back to a character string works properly, and it does, but the
next number fails in the same fashion as the previous. So the bug only seems to
affect numbers going into the LOB column.
I've spent the day staring at the DBD::Oracle code but I can't find any spot
where it seems to even care whether the item is a number or not, which makes
this behavior seem even more odd.
I've also attached the trace(8) of running the test script against my local
Oracle setup (Oracle 8.1.7 Linux, DBI 1.19, DBD::Oracle 1.07).
Now for something that will really bake your noodle -- note the attached
test2.pl. It doesn't use bind_param, it uses execute(@args) and lets
DBD::Oracle figure things out for itself. This works 100% of the time. But I
thought all execute did was call bind_param itself internally before executing,
so they were functionally equivalent. Perhaps not? I also thought perhaps it
only worked because the values were sub-4K, but I tried it myself with varying
strings up to 1M in length, and it continues to hold. So the bug seems confined
to bind_param and whatever internal workings it goes through to handle an
explicitly typed LOB parameter.
Anyway, this is truly bizarre, and I hope this is enough detailed information
here to spot the problem.
----- End forwarded message -----
test.pl
DBD::Oracle::db do failed: ORA-00955: name is already used by an existing object (DBD
ERROR: OCIStmtExecute) at ./test.pl line 21.
DBI::db=HASH(0x81ebbf4) trace level set to 8 in DBI 1.19-nothread
-> prepare for DBD::Oracle::db (DBI::db=HASH(0x82298f4)~0x81ebbf4 'INSERT INTO foo
(insnum, value) VALUES (?,?)')
dbih_setup_handle(DBI::st=HASH(0x81eb9c0)=>DBI::st=HASH(0x81eba2c),
DBD::Oracle::st, 8229a44, Null!)
dbih_make_com(DBI::db=HASH(0x81ebbf4), DBD::Oracle::st, 208)
dbih_setup_attrib(DBI::st=HASH(0x81eba2c), Err, DBI::db=HASH(0x81ebbf4))
SCALAR(0x81788fc) (already defined)
dbih_setup_attrib(DBI::st=HASH(0x81eba2c), State, DBI::db=HASH(0x81ebbf4))
SCALAR(0x819af34) (already defined)
dbih_setup_attrib(DBI::st=HASH(0x81eba2c), Errstr, DBI::db=HASH(0x81ebbf4))
SCALAR(0x81788e4) (already defined)
dbih_setup_attrib(DBI::st=HASH(0x81eba2c), Handlers, DBI::db=HASH(0x81ebbf4))
ARRAY(0x82298b8) (already defined)
dbih_setup_attrib(DBI::st=HASH(0x81eba2c), Debug, DBI::db=HASH(0x81ebbf4)) 8
(already defined)
dbih_setup_attrib(DBI::st=HASH(0x81eba2c), FetchHashKeyName,
DBI::db=HASH(0x81ebbf4)) 'NAME' (already defined)
dbd_preparse scanned 2 distinct placeholders
OCIHandleAlloc(0x822f010,0x8256f68,4,0,(nil))=SUCCESS
OCIStmtPrepare(0x8255614,0x823e374,'INSERT INTO foo (insnum, value) VALUES
(:p1,:p2)',48,1,0)=SUCCESS
OCIAttrGet(0x8255614,4,0x8256f6c,(nil),24,0x823e374)=SUCCESS
dbd_st_prepare'd sql INSERT
dbd_describe skipped for INSERT
<- prepare= DBI::st=HASH(0x81eb9c0) at ./test.pl line 26
-> bind_param for DBD::Oracle::st (DBI::st=HASH(0x81eb9c0)~0x81eba2c 1 1)
bind :p1 <== 1 (type 0)
bind :p1 <== 1 (size 1/2/0, ptype 5, otype 1)
bind :p1 <== '1' (size 1/1, otype 1, indp 0, at_exec 1)
OCIBindByName(0x8255614,0x8256ea4,0x823e374,":p1",3,0x8257000,1,1,0x8256eb6,(nil),0x8256eb4,0,(nil),2)=SUCCESS
OCIBindDynamic(0x8254bf8,0x823e374,0x8256e88,0x40185414,0x8256e88,0x40185530)=SUCCESS
bind :p1 done
<- bind_param= 1 at ./test.pl line 28
-> bind_param for DBD::Oracle::st (DBI::st=HASH(0x81eb9c0)~0x81eba2c 2 1
HASH(0x81eba50))
bind :p2 <== 1 (type 0, attribs: HASH(0x81eba50))
OCIDescriptorAlloc(0x822f010,0x82573a0,50,0,0)
OCIAttrSet(0x823d48c,50,0xbffff374,0,45,0x823e374)=SUCCESS
OCIBindByName(0x8255614,0x825739c,0x823e374,":p2",3,0x82573a0,4,112,0x82573ae,(nil),0x82573ac,0,(nil),0)=SUCCESS
bind :p2 done
<- bind_param= 1 at ./test.pl line 29
-> execute for DBD::Oracle::st (DBI::st=HASH(0x81eb9c0)~0x81eba2c)
dbd_st_execute INSERT (out0, lob1)...
in ':p1' [0,0]: len 1, ind 0
OCIStmtExecute(0x823e14c,0x8255614,0x823e374,1,0,(nil),(nil),0)=SUCCESS
OCIAttrGet(0x8255614,4,0xbffff3d0,(nil),9,0x823e374)=SUCCESS
OCIAttrGet(0x8255614,4,0xbffff3ce,(nil),10,0x823e374)=SUCCESS
dbd_st_execute INSERT returned (SUCCESS, rpc1, fn3, out0)
OCIHandleAlloc(0x822f010,0xbffff278,7,0,(nil))=SUCCESS
OCIDescribeAny(0x823e14c,0x823e374,0x8256c50,3,1,1,1,0x8259360)=SUCCESS
OCIAttrGet(0x8259360,7,0xbffff274,(nil),124,0x823e374)=SUCCESS
OCIAttrGet(0x8259340,53,0xbffff272,(nil),102,0x823e374)=SUCCESS
OCIAttrGet(0x8259340,53,0xbffff26c,(nil),103,0x823e374)=SUCCESS
lob refetch from table foo, 2 columns:
OCIParamGet(0x8259320,53,0x823e374,0xbffff268,1)=SUCCESS
OCIAttrGet(0x8259300,53,0xbffff266,(nil),2,0x823e374)=SUCCESS
OCIAttrGet(0x8259300,53,0xbffff25c,0xbffff260,4,0x823e374)=SUCCESS
lob refetch table col 1: 'INSNUM' otype 2
OCIParamGet(0x8259320,53,0x823e374,0xbffff268,2)=SUCCESS
OCIAttrGet(0x82592e0,53,0xbffff266,(nil),2,0x823e374)=SUCCESS
OCIAttrGet(0x82592e0,53,0xbffff25c,0xbffff260,4,0x823e374)=SUCCESS
lob refetch table col 2: 'VALUE' otype 112
lob refetch :p2 param: otype 112, matched field 'VALUE' by name (VALUE "p2")
OCIDescriptorAlloc(0x822f010,0x8257058,50,0,0)
lob refetch sql: select VALUE "p2" from foo where rowid = :rid for update
OCIHandleAlloc(0x822f010,0x8256c04,4,0,(nil))=SUCCESS
OCIStmtPrepare(0x825a070,0x823e374,'select VALUE "p2" from foo where rowid = :rid for
update',56,1,0)=SUCCESS
OCIDescriptorAlloc(0x822f010,0x8256c0c,54,0,0)
OCIBindByName(0x825a070,0x8256c08,0x823e374,":rid",4,0x8256c0c,4,104,(nil),(nil),(nil),0,(nil),0)=SUCCESS
lob refetch 1 for ':p2' param: ftype 112 setup
OCIDefineByPos(0x825a070,0xbffff24c,0x823e374,1,0x8257058,-1,112,(nil),(nil),(nil),0)=SUCCESS
OCIAttrGet(0x8255614,4,0x823d318,0xbffff388,19,0x823e374)=SUCCESS
OCIStmtExecute(0x823e14c,0x825a070,0x823e374,1,0,(nil),(nil),0)=SUCCESS
OCILobWrite(0x823e14c,0x823e374,0x823d3a8,0xbffff384,1,(nil),135778060,0,(nil),(nil),0,1)=ERROR
lob refetch 1 for ':p2' param: ftype 112, len 135778060: LobWrite ERROR
OCIErrorGet(0x823e374,1,"<NULL>",0xbfffef08,"ORA-24801: illegal parameter value in OCI
lob function
",1024,2)=SUCCESS
OCIErrorGet after OCILobTrim/OCILobWrite/LOB refetch (er1:ok): -1, 24801:
ORA-24801: illegal parameter value in OCI lob function
OCIErrorGet(0x823e374,2,"<NULL>",0xbfffef08,"ORA-24801: illegal parameter value in OCI
lob function
",1024,2)=NO_DATA
ERROR EVENT 24801 'ORA-24801: illegal parameter value in OCI lob function (DBD
ERROR: OCILobTrim/OCILobWrite/LOB refetch)' on DBI::st=HASH(0x81eba2c)
!! ERROR: 24801 'ORA-24801: illegal parameter value in OCI lob function (DBD
ERROR: OCILobTrim/OCILobWrite/LOB refetch)'
<- execute= undef at ./test.pl line 30
DBD::Oracle::st execute failed: ORA-24801: illegal parameter value in OCI lob function
(DBD ERROR: OCILobTrim/OCILobWrite/LOB refetch) at ./test.pl line 30.
-> bind_param for DBD::Oracle::st (DBI::st=HASH(0x81eb9c0)~0x81eba2c 1 2)
bind :p1 <== 2 (type 0)
bind :p1 <== 2 (size 1/2/0, ptype 5, otype 1)
bind :p1 <== '2' (size 1/1, otype 1, indp 0, at_exec 1)
bind :p1 done
<- bind_param= 1 at ./test.pl line 32
-> bind_param for DBD::Oracle::st (DBI::st=HASH(0x81eb9c0)~0x81eba2c 2 'A'
HASH(0x81eba50))
bind :p2 <== 'A' (type 0, attribs: HASH(0x81eba50))
OCIAttrSet(0x823d48c,50,0xbffff374,0,45,0x823e374)=SUCCESS
bind :p2 done
<- bind_param= 1 at ./test.pl line 33
-> execute for DBD::Oracle::st (DBI::st=HASH(0x81eb9c0)~0x81eba2c)
dbd_st_execute INSERT (out0, lob1)...
in ':p1' [0,0]: len 1, ind 0
OCIStmtExecute(0x823e14c,0x8255614,0x823e374,1,0,(nil),(nil),0)=SUCCESS
OCIAttrGet(0x8255614,4,0xbffff3d0,(nil),9,0x823e374)=SUCCESS
OCIAttrGet(0x8255614,4,0xbffff3ce,(nil),10,0x823e374)=SUCCESS
dbd_st_execute INSERT returned (SUCCESS, rpc1, fn3, out0)
OCIAttrGet(0x8255614,4,0x823d318,0xbffff388,19,0x823e374)=SUCCESS
OCIStmtExecute(0x823e14c,0x825a070,0x823e374,1,0,(nil),(nil),0)=SUCCESS
OCILobWrite(0x823e14c,0x823e374,0x823d3a8,0xbffff384,1,0x8257198,1,0,(nil),(nil),0,1)=SUCCESS
lob refetch 1 for ':p2' param: ftype 112, len 1: LobWrite SUCCESS
<- execute= 1 at ./test.pl line 34
-> bind_param for DBD::Oracle::st (DBI::st=HASH(0x81eb9c0)~0x81eba2c 1 3)
bind :p1 <== 3 (type 0)
bind :p1 <== 3 (size 1/2/0, ptype 5, otype 1)
bind :p1 <== '3' (size 1/1, otype 1, indp 0, at_exec 1)
bind :p1 done
<- bind_param= 1 at ./test.pl line 36
-> bind_param for DBD::Oracle::st (DBI::st=HASH(0x81eb9c0)~0x81eba2c 2 3
HASH(0x81eba50))
bind :p2 <== 3 (type 0, attribs: HASH(0x81eba50))
OCIAttrSet(0x823d48c,50,0xbffff374,0,45,0x823e374)=SUCCESS
bind :p2 done
<- bind_param= 1 at ./test.pl line 37
-> execute for DBD::Oracle::st (DBI::st=HASH(0x81eb9c0)~0x81eba2c)
dbd_st_execute INSERT (out0, lob1)...
in ':p1' [0,0]: len 1, ind 0
OCIStmtExecute(0x823e14c,0x8255614,0x823e374,1,0,(nil),(nil),0)=SUCCESS
OCIAttrGet(0x8255614,4,0xbffff3d0,(nil),9,0x823e374)=SUCCESS
OCIAttrGet(0x8255614,4,0xbffff3ce,(nil),10,0x823e374)=SUCCESS
dbd_st_execute INSERT returned (SUCCESS, rpc1, fn3, out0)
OCIAttrGet(0x8255614,4,0x823d318,0xbffff388,19,0x823e374)=SUCCESS
OCIStmtExecute(0x823e14c,0x825a070,0x823e374,1,0,(nil),(nil),0)=SUCCESS
OCILobWrite(0x823e14c,0x823e374,0x823d3a8,0xbffff384,1,0x8257198,1,0,(nil),(nil),0,1)=SUCCESS
lob refetch 1 for ':p2' param: ftype 112, len 1: LobWrite SUCCESS
<- execute= 1 at ./test.pl line 38
-> bind_param for DBD::Oracle::st (DBI::st=HASH(0x81eb9c0)~0x81eba2c 1 4)
bind :p1 <== 4 (type 0)
bind :p1 <== 4 (size 1/2/0, ptype 5, otype 1)
bind :p1 <== '4' (size 1/1, otype 1, indp 0, at_exec 1)
bind :p1 done
<- bind_param= 1 at ./test.pl line 40
-> bind_param for DBD::Oracle::st (DBI::st=HASH(0x81eb9c0)~0x81eba2c 2 'B'
HASH(0x81eba50))
bind :p2 <== 'B' (type 0, attribs: HASH(0x81eba50))
OCIAttrSet(0x823d48c,50,0xbffff374,0,45,0x823e374)=SUCCESS
bind :p2 done
<- bind_param= 1 at ./test.pl line 41
-> execute for DBD::Oracle::st (DBI::st=HASH(0x81eb9c0)~0x81eba2c)
dbd_st_execute INSERT (out0, lob1)...
in ':p1' [0,0]: len 1, ind 0
OCIStmtExecute(0x823e14c,0x8255614,0x823e374,1,0,(nil),(nil),0)=SUCCESS
OCIAttrGet(0x8255614,4,0xbffff3d0,(nil),9,0x823e374)=SUCCESS
OCIAttrGet(0x8255614,4,0xbffff3ce,(nil),10,0x823e374)=SUCCESS
dbd_st_execute INSERT returned (SUCCESS, rpc1, fn3, out0)
OCIAttrGet(0x8255614,4,0x823d318,0xbffff388,19,0x823e374)=SUCCESS
OCIStmtExecute(0x823e14c,0x825a070,0x823e374,1,0,(nil),(nil),0)=SUCCESS
OCILobWrite(0x823e14c,0x823e374,0x823d3a8,0xbffff384,1,0x8257198,1,0,(nil),(nil),0,1)=SUCCESS
lob refetch 1 for ':p2' param: ftype 112, len 1: LobWrite SUCCESS
<- execute= 1 at ./test.pl line 42
-> bind_param for DBD::Oracle::st (DBI::st=HASH(0x81eb9c0)~0x81eba2c 1 5)
bind :p1 <== 5 (type 0)
bind :p1 <== 5 (size 1/2/0, ptype 5, otype 1)
bind :p1 <== '5' (size 1/1, otype 1, indp 0, at_exec 1)
bind :p1 done
<- bind_param= 1 at ./test.pl line 44
-> bind_param for DBD::Oracle::st (DBI::st=HASH(0x81eb9c0)~0x81eba2c 2 5
HASH(0x81eba50))
bind :p2 <== 5 (type 0, attribs: HASH(0x81eba50))
OCIAttrSet(0x823d48c,50,0xbffff374,0,45,0x823e374)=SUCCESS
bind :p2 done
<- bind_param= 1 at ./test.pl line 45
-> execute for DBD::Oracle::st (DBI::st=HASH(0x81eb9c0)~0x81eba2c)
dbd_st_execute INSERT (out0, lob1)...
in ':p1' [0,0]: len 1, ind 0
OCIStmtExecute(0x823e14c,0x8255614,0x823e374,1,0,(nil),(nil),0)=SUCCESS
OCIAttrGet(0x8255614,4,0xbffff3d0,(nil),9,0x823e374)=SUCCESS
OCIAttrGet(0x8255614,4,0xbffff3ce,(nil),10,0x823e374)=SUCCESS
dbd_st_execute INSERT returned (SUCCESS, rpc1, fn3, out0)
OCIAttrGet(0x8255614,4,0x823d318,0xbffff388,19,0x823e374)=SUCCESS
OCIStmtExecute(0x823e14c,0x825a070,0x823e374,1,0,(nil),(nil),0)=SUCCESS
OCILobWrite(0x823e14c,0x823e374,0x823d3a8,0xbffff384,1,0x8257198,1,0,(nil),(nil),0,1)=SUCCESS
lob refetch 1 for ':p2' param: ftype 112, len 1: LobWrite SUCCESS
<- execute= 1 at ./test.pl line 46
-> trace for DBD::Oracle::db (DBI::db=HASH(0x82298f4)~0x81ebbf4 0)
<- trace= 8 at ./test.pl line 48
-> DESTROY for DBD::Oracle::st (DBI::st=HASH(0x81eba2c)~INNER)
OCIHandleFree(0x825a070,4)=SUCCESS
OCIDescriptorFree(0x823d3a8,50)
OCIHandleFree(0x8255614,4)=SUCCESS
OCIDescriptorFree(0x823d48c,50)
<- DESTROY= undef at ./test.pl line 53
test2.pl
DBD::Oracle::db do failed: ORA-00955: name is already used by an existing object (DBD
ERROR: OCIStmtExecute) at ./test2.pl line 21.
DBI::db=HASH(0x821ce6c) trace level set to 8 in DBI 1.19-nothread
-> prepare for DBD::Oracle::db (DBI::db=HASH(0x821cf20)~0x821ce6c 'INSERT INTO foo
(insnum, value) VALUES (?,?)')
dbih_setup_handle(DBI::st=HASH(0x8226d94)=>DBI::st=HASH(0x8226e00),
DBD::Oracle::st, 821d070, Null!)
dbih_make_com(DBI::db=HASH(0x821ce6c), DBD::Oracle::st, 208)
dbih_setup_attrib(DBI::st=HASH(0x8226e00), Err, DBI::db=HASH(0x821ce6c))
SCALAR(0x81786bc) (already defined)
dbih_setup_attrib(DBI::st=HASH(0x8226e00), State, DBI::db=HASH(0x821ce6c))
SCALAR(0x819acf4) (already defined)
dbih_setup_attrib(DBI::st=HASH(0x8226e00), Errstr, DBI::db=HASH(0x821ce6c))
SCALAR(0x81786a4) (already defined)
dbih_setup_attrib(DBI::st=HASH(0x8226e00), Handlers, DBI::db=HASH(0x821ce6c))
ARRAY(0x821cee4) (already defined)
dbih_setup_attrib(DBI::st=HASH(0x8226e00), Debug, DBI::db=HASH(0x821ce6c)) 8
(already defined)
dbih_setup_attrib(DBI::st=HASH(0x8226e00), FetchHashKeyName,
DBI::db=HASH(0x821ce6c)) 'NAME' (already defined)
dbd_preparse scanned 2 distinct placeholders
OCIHandleAlloc(0x822da98,0x82555d0,4,0,(nil))=SUCCESS
OCIStmtPrepare(0x8253c5c,0x823ca6c,'INSERT INTO foo (insnum, value) VALUES
(:p1,:p2)',48,1,0)=SUCCESS
OCIAttrGet(0x8253c5c,4,0x82555d4,(nil),24,0x823ca6c)=SUCCESS
dbd_st_prepare'd sql INSERT
dbd_describe skipped for INSERT
<- prepare= DBI::st=HASH(0x8226d94) at ./test2.pl line 26
-> execute for DBD::Oracle::st (DBI::st=HASH(0x8226d94)~0x8226e00 1 1)
bind :p1 <== 1 (type 0)
bind :p1 <== 1 (size 1/2/0, ptype 5, otype 1)
bind :p1 <== '1' (size 1/1, otype 1, indp 0, at_exec 1)
OCIBindByName(0x8253c5c,0x825550c,0x823ca6c,":p1",3,0x8255668,1,1,0x825551e,(nil),0x825551c,0,(nil),2)=SUCCESS
OCIBindDynamic(0x8253240,0x823ca6c,0x82554f0,0x40185414,0x82554f0,0x40185530)=SUCCESS
bind :p1 done
bind :p2 <== 1 (type 0)
bind :p2 <== 1 (size 1/2/0, ptype 5, otype 1)
bind :p2 <== '1' (size 1/1, otype 1, indp 0, at_exec 1)
OCIBindByName(0x8253c5c,0x8255dec,0x823ca6c,":p2",3,0x8255688,1,1,0x8255dfe,(nil),0x8255dfc,0,(nil),2)=SUCCESS
OCIBindDynamic(0x8256e18,0x823ca6c,0x8255dd0,0x40185414,0x8255dd0,0x40185530)=SUCCESS
bind :p2 done
dbd_st_execute INSERT (out0, lob0)...
in ':p1' [0,0]: len 1, ind 0
in ':p2' [0,0]: len 1, ind 0
OCIStmtExecute(0x823c844,0x8253c5c,0x823ca6c,1,0,(nil),(nil),0)=SUCCESS
OCIAttrGet(0x8253c5c,4,0xbffff3d0,(nil),9,0x823ca6c)=SUCCESS
OCIAttrGet(0x8253c5c,4,0xbffff3ce,(nil),10,0x823ca6c)=SUCCESS
dbd_st_execute INSERT returned (SUCCESS, rpc1, fn3, out0)
<- execute= 1 at ./test2.pl line 28
-> execute for DBD::Oracle::st (DBI::st=HASH(0x8226d94)~0x8226e00 2 'A')
bind :p1 <== 2 (type 0)
bind :p1 <== 2 (size 1/2/0, ptype 5, otype 1)
bind :p1 <== '2' (size 1/1, otype 1, indp 0, at_exec 1)
bind :p1 done
bind :p2 <== 'A' (type 0)
bind :p2 <== 'A' (size 1/2/0, ptype 5, otype 1)
bind :p2 <== 'A' (size 1/1, otype 1, indp 0, at_exec 1)
bind :p2 done
dbd_st_execute INSERT (out0, lob0)...
in ':p1' [0,0]: len 1, ind 0
in ':p2' [0,0]: len 1, ind 0
OCIStmtExecute(0x823c844,0x8253c5c,0x823ca6c,1,0,(nil),(nil),0)=SUCCESS
OCIAttrGet(0x8253c5c,4,0xbffff3d0,(nil),9,0x823ca6c)=SUCCESS
OCIAttrGet(0x8253c5c,4,0xbffff3ce,(nil),10,0x823ca6c)=SUCCESS
dbd_st_execute INSERT returned (SUCCESS, rpc1, fn3, out0)
<- execute= 1 at ./test2.pl line 29
-> execute for DBD::Oracle::st (DBI::st=HASH(0x8226d94)~0x8226e00 3 1)
bind :p1 <== 3 (type 0)
bind :p1 <== 3 (size 1/2/0, ptype 5, otype 1)
bind :p1 <== '3' (size 1/1, otype 1, indp 0, at_exec 1)
bind :p1 done
bind :p2 <== 1 (type 0)
bind :p2 <== 1 (size 1/2/0, ptype 5, otype 1)
bind :p2 <== '1' (size 1/1, otype 1, indp 0, at_exec 1)
bind :p2 done
dbd_st_execute INSERT (out0, lob0)...
in ':p1' [0,0]: len 1, ind 0
in ':p2' [0,0]: len 1, ind 0
OCIStmtExecute(0x823c844,0x8253c5c,0x823ca6c,1,0,(nil),(nil),0)=SUCCESS
OCIAttrGet(0x8253c5c,4,0xbffff3d0,(nil),9,0x823ca6c)=SUCCESS
OCIAttrGet(0x8253c5c,4,0xbffff3ce,(nil),10,0x823ca6c)=SUCCESS
dbd_st_execute INSERT returned (SUCCESS, rpc1, fn3, out0)
<- execute= 1 at ./test2.pl line 30
-> execute for DBD::Oracle::st (DBI::st=HASH(0x8226d94)~0x8226e00 4 'B')
bind :p1 <== 4 (type 0)
bind :p1 <== 4 (size 1/2/0, ptype 5, otype 1)
bind :p1 <== '4' (size 1/1, otype 1, indp 0, at_exec 1)
bind :p1 done
bind :p2 <== 'B' (type 0)
bind :p2 <== 'B' (size 1/2/0, ptype 5, otype 1)
bind :p2 <== 'B' (size 1/1, otype 1, indp 0, at_exec 1)
bind :p2 done
dbd_st_execute INSERT (out0, lob0)...
in ':p1' [0,0]: len 1, ind 0
in ':p2' [0,0]: len 1, ind 0
OCIStmtExecute(0x823c844,0x8253c5c,0x823ca6c,1,0,(nil),(nil),0)=SUCCESS
OCIAttrGet(0x8253c5c,4,0xbffff3d0,(nil),9,0x823ca6c)=SUCCESS
OCIAttrGet(0x8253c5c,4,0xbffff3ce,(nil),10,0x823ca6c)=SUCCESS
dbd_st_execute INSERT returned (SUCCESS, rpc1, fn3, out0)
<- execute= 1 at ./test2.pl line 31
-> execute for DBD::Oracle::st (DBI::st=HASH(0x8226d94)~0x8226e00 5 1)
bind :p1 <== 5 (type 0)
bind :p1 <== 5 (size 1/2/0, ptype 5, otype 1)
bind :p1 <== '5' (size 1/1, otype 1, indp 0, at_exec 1)
bind :p1 done
bind :p2 <== 1 (type 0)
bind :p2 <== 1 (size 1/2/0, ptype 5, otype 1)
bind :p2 <== '1' (size 1/1, otype 1, indp 0, at_exec 1)
bind :p2 done
dbd_st_execute INSERT (out0, lob0)...
in ':p1' [0,0]: len 1, ind 0
in ':p2' [0,0]: len 1, ind 0
OCIStmtExecute(0x823c844,0x8253c5c,0x823ca6c,1,0,(nil),(nil),0)=SUCCESS
OCIAttrGet(0x8253c5c,4,0xbffff3d0,(nil),9,0x823ca6c)=SUCCESS
OCIAttrGet(0x8253c5c,4,0xbffff3ce,(nil),10,0x823ca6c)=SUCCESS
dbd_st_execute INSERT returned (SUCCESS, rpc1, fn3, out0)
<- execute= 1 at ./test2.pl line 32
-> trace for DBD::Oracle::db (DBI::db=HASH(0x821cf20)~0x821ce6c 0)
<- trace= 8 at ./test2.pl line 34
-> DESTROY for DBD::Oracle::st (DBI::st=HASH(0x8226e00)~INNER)
OCIHandleFree(0x8253c5c,4)=SUCCESS
<- DESTROY= undef at ./test2.pl line 39
PGP signature