Skip Menu |

This queue is for tickets about the DBD-SQLite CPAN distribution.

Report information
The Basics
Id: 52052
Status: rejected
Priority: 0/
Queue: DBD-SQLite

People
Owner: Nobody in particular
Requestors: chuckbutler [...] go.to
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.27
Fixed in: (no value)



Had some time, so I tried to compile-up DBD-SQLite v.1.27. It appears to fail in the 'group-by' test with a value '$num' not being fetched. Attached it the report from (d)make test and my Perl -V. OS 64-bit Vista SP 1. Thanks. -c
Subject: my-perl-V.txt
Summary of my perl5 (revision 5 version 10 subversion 1) configuration: Platform: osname=MSWin32, osvers=5.00, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='C:/MinGW/bin/gcc.exe', ccflags ='-DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -mms-bitfields', optimize='-O2', cppflags='-DWIN32' ccversion='', gccversion='3.4.5 (mingw-vista special r3)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=8 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='C:\MinGW\bin\g++.exe', ldflags ='-L"C:\Perl\lib\CORE"' libpth=\lib libs=-lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lmsvcrt perllibs=-lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lmsvcrt libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl510.lib gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -L"C:\Perl\lib\CORE"' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_SITECUSTOMIZE Locally applied patches: ActivePerl Build 1006 [291086] 32728 64-bit fix for Time::Local Built under MSWin32 Compiled at Aug 24 2009 13:48:26 @INC: C:/Perl/site/lib C:/Perl/lib .
Subject: test_out.txt
C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/01_compile.t ........................... ok t/02_logon.t ............................. ok t/03_create_table.t ...................... ok t/04_insert.t ............................ ok t/05_select.t ............................ ok t/06_tran.t .............................. ok t/07_error.t ............................. ok t/08_busy.t .............................. ok t/09_create_function.t ................... ok t/10_create_aggregate.t .................. ok t/12_unicode.t ........................... ok t/13_create_collation.t .................. ok t/14_progress_handler.t .................. ok t/15_ak_dbd.t ............................ ok t/16_column_info.t ....................... ok t/17_createdrop.t ........................ ok t/18_insertfetch.t ....................... ok t/19_bindparam.t ......................... ok t/20_blobs.t ............................. ok t/21_blobtext.t .......................... ok t/22_listfields.t ........................ ok t/23_nulls.t ............................. ok t/24_numrows.t ........................... ok t/25_chopblanks.t ........................ ok t/26_commit.t ............................ ok t/27_metadata.t .......................... ok t/28_schemachange.t ...................... ok t/29_cppcomments.t ....................... ok t/30_auto_rollback.t ..................... ok t/31_bind_weird_number_param.t ........... ok t/32_inactive_error.t .................... ok t/33_non_latin_path.t .................... ok t/34_online_backup.t ..................... ok t/35_table_info.t ........................ ok t/36_hooks.t ............................. ok t/37_regexp.t ............................ ok t/97_meta.t .............................. skipped: Author tests not required for installation t/98_pod.t ............................... skipped: Author tests not required for installation t/99_pmv.t ............................... skipped: Author tests not required for installation t/rt_15186_prepcached.t .................. ok t/rt_21406_auto_finish.t ................. ok t/rt_25371_asymmetric_unicode.t .......... ok t/rt_25460_numeric_aggregate.t ........... ok t/rt_25924_user_defined_func_unicode.t ... ok t/rt_27553_prepared_cache_and_analyze.t .. ok t/rt_29058_group_by.t .................... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/7 subtests t/rt_29629_sqlite_where_length.t ......... ok t/rt_31324_full_names.t .................. ok t/rt_32889_prepare_cached_reexecute.t .... ok t/rt_36836_duplicate_key.t ............... ok t/rt_36838_unique_and_bus_error.t ........ ok t/rt_40594_nullable.t .................... ok t/rt_48393_debug_panic_with_commit.t ..... skipped: set $ENV{TEST_DBD_SQLITE_WITH_DEBUGGER} to enable this test t/rt_50503_fts3.t ........................ ok Test Summary Report ------------------- t/rt_29058_group_by.t (Wstat: 512 Tests: 7 Failed: 2) Failed tests: 2, 7 Non-zero exit status: 2 Files=54, Tests=831, 24 wallclock secs ( 0.36 usr + 0.17 sys = 0.53 CPU) Result: FAIL
It appears the problem is with '$dbh->selectrow_array' method in that it returns a scalar even when the lvalue thingie is an array. Output from 'make test' and a custom 'rt_29058_group_by.t' are included in the attached ZIP file. I wish I knew a little more about the DBI / DBD internals, it has to be an easy fix. Thanks. -c
Subject: DBD-SQLite-rt_29058_group_by-CABUTLER-20091213.zip

Message body not shown because it is not plain text.

Sorry that I haven't responded earlier. I couldn't reproduce the said issue under the 64bit Windows environment, and it seems no other CPAN testers reports have mentioned it at least these days. So, I close this ticket for now. If you still suffer from this issue, please reopen this ticket. Thanks. - Kenichi On 2009-12-13 Sun 20:19:11, CABUTLER wrote: Show quoted text
> It appears the problem is with '$dbh->selectrow_array' method in that > it returns a scalar even when the lvalue thingie is an array. Output > from 'make test' and a custom 'rt_29058_group_by.t' are included in the > attached ZIP file. I wish I knew a little more about the DBI / DBD > internals, it has to be an easy fix. Thanks. -c