Am So 28. Nov 2010, 03:40:36, MEWP schrieb:
Show quoted text> If you can send me the output of a run with DBI->trace(5) turned on then
> I might be able to figure out where the issue is.
I'm happy to do that. See the attached trace output.
DBI 1.613-ithread default trace level set to 0x0/5 (pid 23598 pi 1018010) at dbd-sybase-issue-63081.pl line 18
-> selectrow_array for DBD::Sybase::db (DBI::db=HASH(0x12d5510)~0x1112df8 'SELECT access_id FROM access WHERE username=?' undef 'xxXXXX-XXX') thr#1018010
1 -> prepare for DBD::Sybase::db (DBI::db=HASH(0x1112df8)~INNER 'SELECT access_id FROM access WHERE username=?' undef) thr#1018010
New 'DBI::st' (for DBD::Sybase::st, parent=DBI::db=HASH(0x1112df8), id=undef)
dbih_setup_handle(DBI::st=HASH(0x12d5978)=>DBI::st=HASH(0x1037e58), DBD::Sybase::st, 12d59d8, Null!)
dbih_make_com(DBI::db=HASH(0x1112df8), 12d64b0, DBD::Sybase::st, 544, 0) thr#1018010
dbih_setup_attrib(DBI::st=HASH(0x1037e58), Err, DBI::db=HASH(0x1112df8)) SCALAR(0x11e1248) (already defined)
dbih_setup_attrib(DBI::st=HASH(0x1037e58), State, DBI::db=HASH(0x1112df8)) SCALAR(0x11e1308) (already defined)
dbih_setup_attrib(DBI::st=HASH(0x1037e58), Errstr, DBI::db=HASH(0x1112df8)) SCALAR(0x11e12a8) (already defined)
dbih_setup_attrib(DBI::st=HASH(0x1037e58), TraceLevel, DBI::db=HASH(0x1112df8)) 0 (already defined)
dbih_setup_attrib(DBI::st=HASH(0x1037e58), FetchHashKeyName, DBI::db=HASH(0x1112df8)) 'NAME' (already defined)
dbih_setup_attrib(DBI::st=HASH(0x1037e58), HandleSetErr, DBI::db=HASH(0x1112df8)) undef (not defined)
dbih_setup_attrib(DBI::st=HASH(0x1037e58), HandleError, DBI::db=HASH(0x1112df8)) undef (not defined)
dbih_setup_attrib(DBI::st=HASH(0x1037e58), ReadOnly, DBI::db=HASH(0x1112df8)) undef (not defined)
dbih_setup_attrib(DBI::st=HASH(0x1037e58), Profile, DBI::db=HASH(0x1112df8)) undef (not defined)
syb_st_prepare() -> inUse = 0
dbd_preparse parameter :p1 ()
dbd_preparse scanned 1 distinct placeholders
dyn_prepare: ct_dynamic(CS_PREPARE) for DBD1
syb_alloc_cmd() -> CS_COMMAND 12ecdf0 for CS_CONNECTION 1041420
dyn_prepare: ct_dynamic(CS_DESCRIBE_INPUT) for DBD1
dyn_prepare: ct_results(CS_DESCRIBE_INPUT) for DBD1 - restype 4051
dyn_prepare: ct_res_info(CS_DESCRIBE_INPUT) statement has 1 parameters
dyn_prepare: ct_describe(CS_DESCRIBE_INPUT) col 1, type 0, name , status 0, length 20
dyn_prepare: ct_results(CS_DESCRIBE_INPUT) for DBD1 - restype 4046
syb_st_prepare() -> set inUse
1 <- prepare= ( DBI::st=HASH(0x12d5978) ) [1 items] at ./dbd-sybase-issue-63081.pl line 20
bind :p1 <== 'xxXXXX-XXX' (attribs: )
bind :p1 () <== 'xxXXXX-XXX' (size 10/16/0, ptype 4, otype 0)
bind :p1 <== 'xxXXXX-XXX' (size 15, ok 1)
datafmt: type=0, name=, status=0, len=10
saved type: 0
cmd_execute() -> ct_send() OK
cmd_execute() -> set inUse flag
st_next_result() -> ct_results(4040) == 1
ct_res_info() returns 1 columns
STORE DBI::st=HASH(0x1037e58) 'NUM_OF_FIELDS' => 1
ct_describe(0): type = 16, maxlen = 6
describe() -> col 0, type 0, realtype 16
describe() retcode = 1
st_next_result() -> lasterr = 0, lastsev = 0
error_handler: Data-conversion resulted in overflow.
dbih_setup_fbav alloc for 1 fields
syb_st_fetch() -> ct_fetch() = -203 (0 rows, 1 cols)
syb_st_fetch() -> ct_fetch() = -204 (0 rows, 1 cols)
st_next_result() -> ct_results(4046) == 1
st_next_result() -> ct_results(4047) == 1
st_next_result() -> ct_results(4046) == 1
ct_results(4046) final retcode = -205
st_next_result() -> lasterr = 0, lastsev = 0
st_next_result() -> got CS_CMD_DONE: resetting ACTIVE, moreResults, dyn_execed, exec_done
clear_sth_flags() -> resetting ACTIVE, moreResults, dyn_execed, exec_done
clear_sth_flags() -> reset inUse flag
syb_st_fetch() -> st_next_results() == 4046
clear_sth_flags() -> resetting ACTIVE, moreResults, dyn_execed, exec_done
clear_sth_flags() -> reset inUse flag
<- selectrow_array= ( ) [0 items] at ./dbd-sybase-issue-63081.pl line 20
<> DESTROY(DBI::st=HASH(0x12d5978)) ignored for outer handle (inner DBI::st=HASH(0x1037e58) has ref cnt 1)
-> DESTROY for DBD::Sybase::st (DBI::st=HASH(0x1037e58)~INNER) thr#1018010
syb_st_destroy: called on 12ea360...
dealloc_dynamic: ct_dynamic(CS_DEALLOC) for DBD1
syb_st_destroy(): freeing imp_sth->statement
ct_cmd_drop() -> CS_COMMAND 12ecdf0
syb_st_destroy(): cmd dropped: 1
<- DESTROY= ( undef ) [1 items] at ./dbd-sybase-issue-63081.pl line 21 via at ./dbd-sybase-issue-63081.pl line 21
dbih_clearcom 0x1037e58 (com 0x12ea360, type 3) done.
<> DESTROY(DBI::db=HASH(0x12d5510)) ignored for outer handle (inner DBI::db=HASH(0x1112df8) has ref cnt 1)
-> DESTROY for DBD::Sybase::db (DBI::db=HASH(0x1112df8)~INNER) thr#1018010
syb_db_disconnect() -> ct_close()
<- DESTROY= ( undef ) [1 items] at ./dbd-sybase-issue-63081.pl line 21 via at ./dbd-sybase-issue-63081.pl line 21
dbih_clearcom 0x1112df8 (com 0x12d64b0, type 2) done.
-- DBI::END ($@: , $!: )
-> disconnect_all for DBD::Sybase::dr (DBI::dr=HASH(0x1112090)~0x1112108) thr#1018010
<- disconnect_all= ( 1 ) [1 items] at /usr/lib64/perl5/DBI.pm line 740 via at ./dbd-sybase-issue-63081.pl line 21
! -> DESTROY in DBD::_::common for DBD::Sybase::dr (DBI::dr=HASH(0x1112108)~INNER) thr#1018010
! <- DESTROY= ( undef ) [1 items] during global destruction
dbih_clearcom 0x1112090 (com 0x12a41d0, type 1) done.
! <> DESTROY for DBI::dr=HASH(0x1112090) ignored (inner handle gone)