Re: Add Unicode Support to the DBI

2011-10-05 Thread H.Merijn Brand
was requested. -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.14 and porting perl5.15.x on HP-UX 10.20, 11.00, 11.11, 11.23 and 11.31, OpenSuSE 10.1, 11.0 .. 11.4 and AIX 5.2 and 5.3. http://mirrors.develooper.com/hpux/ http://www.test

Re: New NestedHash module needs home

2011-09-21 Thread H.Merijn Brand
it into that module somehow, so that developers can benefit from the integration. Feel free to loan/borrow/steal from my Tie::Hash::DBD, which supports nested hashes using a serializer -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.14 and porting

Re: DBI drivers by duck-typing

2011-09-13 Thread H.Merijn Brand
will not have the maintenance burden for that code, not do I have to verify that the code is working correctly. I have all other DBD's do that with - and for me. -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.14 and porting perl5.15.x on HP-UX 10.20

Re: Add Unicode Support to the DBI

2011-09-10 Thread H.Merijn Brand
to come back in the current, undecoded, un-utf8-flagged way. - -- Greg Sabino Mullane g...@turnstep.com -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.14 and porting perl5.15.x on HP-UX 10.20, 11.00, 11.11, 11.23 and 11.31, OpenSuSE 10.1, 11.0

Re: mo prefix request

2011-08-11 Thread H.Merijn Brand
/dbi/trunk ... M DBI.pm Committed r14915 M DBI.pm r14915 = 37442e771cf742ffd2780cff902281ff2b567b4a (refs/remotes/git-svn) -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.14 and porting perl5.15.x on HP-UX 10.20, 11.00

Re: mo prefix request

2011-08-11 Thread H.Merijn Brand
! yank-put failure. fixed now -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.14 and porting perl5.15.x on HP-UX 10.20, 11.00, 11.11, 11.23 and 11.31, OpenSuSE 10.1, 11.0 .. 11.4 and AIX 5.2 and 5.3. http://mirrors.develooper.com/hpux/ http

Re: Spatialite prefix request

2011-08-10 Thread H.Merijn Brand
beingDBD::Spatialite in DBI's trunk in subversion. Martin -- Martin J. Evans Easysoft Limited http://www.easysoft.com -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.14 and porting perl5.15.x on HP-UX 10.20, 11.00, 11.11, 11.23

Re: Spatialite prefix request

2011-08-10 Thread H.Merijn Brand
On Wed, 10 Aug 2011 00:42:05 -0700, Lokkju Brennr lok...@gmail.com wrote: Ok, I think I misunderstood - were you trying to tell me you had gone ahead and made the change, not that it had already been reserved for some other module? correct. mje is co-maint for DBI Loki -- H.Merijn Brand

Re: Spatialite prefix request

2011-08-09 Thread H.Merijn Brand
',}, x_ = { }, # for private use xbase_ = { class = 'DBD::XBase', }, xl_ = { class = 'DBD::Excel', }, yaswi_ = { class = 'DBD::Yaswi', }, }; Greg Sabino Mullane g...@turnstep.com -- H.Merijn Brand http://tux.nl Perl Monger http

Re: Problem with Perl module DBI-1.616

2011-07-03 Thread H.Merijn Brand
Cheers, Norbert -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.14 and porting perl5.15.x on HP-UX 10.20, 11.00, 11.11, 11.23 and 11.31, OpenSuSE 10.1, 11.0 .. 11.4 and AIX 5.2 and 5.3. http://mirrors.develooper.com/hpux/ http

Re: Problem with Perl module DBI-1.616

2011-07-03 Thread H.Merijn Brand
On Sun, 03 Jul 2011 14:13:00 +, Jens Rehsack rehs...@googlemail.com wrote: On 07/03/11 14:02, H.Merijn Brand wrote: On Sun, 3 Jul 2011 15:21:04 +0200, Norbert Gruener n...@mpa-garching.mpg.de wrote: Hi Merijn, on the weekend I have upgraded to DBI version 1.616 and afterwards

Re: next DBI release

2011-06-24 Thread H.Merijn Brand
enables DBD authors to implement back-end stuff and actually use it. Thanks Martin -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.14 and porting perl5.15.x on HP-UX 10.20, 11.00, 11.11, 11.23 and 11.31, OpenSuSE 10.1, 11.0 .. 11.4 and AIX 5.2

Error in DBD::PO - our fault?

2011-06-24 Thread H.Merijn Brand
just after 3. t/03_DBD-PO/01_create_table.t . Dubious, test returned 2 (wstat 512, 0x200) Failed 4/7 subtests -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.14 and porting perl5.15.x on HP-UX 10.20, 11.00, 11.11

Old bug rising with a new head

2011-06-22 Thread H.Merijn Brand
= @req_prm == 1 ref $req_prm[0] ? $req_prm[0]-num : scalar @req_prm; +unless ( $n_req == ( my $nparm = @$params ) ) { my $msg = You passed $nparm parameters where $req_prm required; $sth-set_err( $DBI::stderr, $msg ); --8--- -- H.Merijn Brand http://tux.nl

Re: Proposed change to disconnect in DBD::ODBC

2011-03-17 Thread H.Merijn Brand
commit any outstanding changes, but others (such as Informix) will rollback any outstanding changes. This is something I should mention in my DBD talk about database inconsistencies. Thanks for reminding me. FWIW I agree with Greg that COMMIT on disconnect is insane -- H.Merijn Brand http

Re: DBD::Oracle Release Candidate 1

2011-02-17 Thread H.Merijn Brand
On Wed, 16 Feb 2011 12:32:12 +0100, H.Merijn Brand h.m.br...@xs4all.nl wrote: http://www.pythian.com/news/wp-content/uploads/DBD-Oracle-1.28_RC_1.zip You need to work on longdouble support I guess Here's a patch to make the test PASS on all systems, but I'm not sure if I'm using a carpet

Re: DBD::Oracle Release Candidate 1

2011-02-16 Thread H.Merijn Brand
J. Evans Added LICENSE to Makefile.PL by Martin J. Evans Cheers John Scoles -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00, 11.11, 11.23 and 11.31, OpenSuSE 10.1, 11.0 .. 11.3 and AIX 5.2

Re: DBD::Oracle Release Candidate 1

2011-02-16 Thread H.Merijn Brand
--- t/24implicit_utf8.t (Wstat: 1024 Tests: 74 Failed: 4) Failed tests: 33-34, 70-71 Non-zero exit status: 4 Files=1, Tests=74, 1 wallclock secs ( 0.14 usr 0.02 sys + 0.43 cusr 0.11 csys = 0.70 CPU) Result: FAIL -- H.Merijn Brand http://tux.nl Perl Monger http

Re: promised trace flags change - a bit late

2011-02-11 Thread H.Merijn Brand
an alias to dbd_verbose. $DBD_VERBOSE = 7 is (or should be) equal to $DBI_TRACE = 7|DBD dbd_verbose has never been *new* functionality, It was implemented as a shortcut for already existing trace features. -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using

Re: promised trace flags change - a bit late

2011-02-11 Thread H.Merijn Brand
On Fri, 11 Feb 2011 10:14:12 +, Martin J. Evans martin.ev...@easysoft.com wrote: On 11/02/11 09:05, H.Merijn Brand wrote: On Fri, 11 Feb 2011 08:42:21 +, Martin J. Evans martin.ev...@easysoft.com wrote: On 10/02/11 22:27, Greg Sabino Mullane wrote: Trace level is no good

Re: promised trace flags change - a bit late

2011-02-08 Thread H.Merijn Brand
the connection string right before a new database connection is attempted, a message when the connection was successful, and a message right after the database has been disconnected. Also output if trace level is 5 or greater. -- H.Merijn Brand http://tux.nl Perl Monger http

Re: promised trace flags change - a bit late

2011-02-06 Thread H.Merijn Brand
On Sun, 6 Feb 2011 12:09:35 +, Tim Bunce tim.bu...@pobox.com wrote: On Sun, Feb 06, 2011 at 12:16:33PM +0100, H.Merijn Brand wrote: On Sat, 5 Feb 2011 12:29:09 +, Tim Bunce tim.bu...@pobox.com wrote: As you note above, the current trace settings are encoded into an int

Re: Clarification sought on execute_array

2011-01-18 Thread H.Merijn Brand
and errstr are set. BTW, please keep Peter (ribasushi) on the cc list as he is not subscribed to dbi-dev but is an interested party. Martin -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00

DBD::Oracle - credentials

2011-01-14 Thread H.Merijn Brand
DBD's set precedence if environment variable are allowed for login credentials? -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00, 11.11, 11.23 and 11.31, OpenSuSE 10.1, 11.0 .. 11.3 and AIX 5.2 and 5.3

Re: DBD::Oracle - credentials

2011-01-14 Thread H.Merijn Brand
On Fri, 14 Jan 2011 14:56:46 +, Martin J. Evans martin.ev...@easysoft.com wrote: On 14/01/11 14:30, H.Merijn Brand wrote: Maybe this is a feature request, but if I have ORACLE_USERID=john/sekrit DBI_USER=pablo DBI_PASS=neruda I *do* expect that DBD::Oracle uses DBI_USER

Re: DBD::Oracle - credentials

2011-01-14 Thread H.Merijn Brand
On Fri, 14 Jan 2011 15:21:39 +, Martin J. Evans martin.ev...@easysoft.com wrote: On 14/01/11 15:01, H.Merijn Brand wrote: On Fri, 14 Jan 2011 14:56:46 +, Martin J. Evans martin.ev...@easysoft.com wrote: On 14/01/11 14:30, H.Merijn Brand wrote: Maybe this is a feature request

Re: confused about DBD implementation of ChopBlanks

2011-01-03 Thread H.Merijn Brand
On Mon, 03 Jan 2011 10:27:52 +, Martin J. Evans martin.ev...@easysoft.com wrote: On 02/01/2011 18:50, H.Merijn Brand wrote: On Sun, 02 Jan 2011 18:07:13 +, Martin J. Evans martin.ev...@easysoft.com wrote: Sorry if this turns out to be gibberish but I'm been battling

Re: confused about DBD implementation of ChopBlanks

2011-01-02 Thread H.Merijn Brand
-{ChopBlanks} = 1. Before or after the sth was created? DBD::ODBC (like all the other DBDs I've checked) does not handle ChopBlanks in the STORE or FETCH routines. Any ideas what is wrong? -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.12

DBD::Pg on HP-UX 11.31 64bit

2010-12-14 Thread H.Merijn Brand
] WIFSIGNALED(SIGILL)|WCOREDUMP -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00, 11.11, 11.23 and 11.31, OpenSuSE 10.1, 11.0 .. 11.3 and AIX 5.2 and 5.3. http://mirrors.develooper.com/hpux

Re: sqlengine branch ready for dev-release

2010-12-14 Thread H.Merijn Brand
-release on your shout :) Tested on all the most recent stuff I have on my devel machine All tests passed I just committed a tiny tidy commit. Thanks again for helping, Thanks for keeping the ball rolling -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307

Re: Multiple directories for 'f_dir' parameter for DBD::File (especially DBD::CSV)

2010-11-16 Thread H.Merijn Brand
a behavior must exist for such a situation. If the 'f_dir_list' is preferred - such a behavior must be defined, too. Best regards, Jens -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00, 11.11

DBI in git

2010-10-16 Thread H.Merijn Brand
name = H.Merijn Brand (Tux) --8--- Note that I disabled the tags. Then I pulled again (update in svn terms) $ git dpull (See below for my definition of git-dpull) After that I created two branches instead of te single master I started with before $ git co -b DBI remotes/git-svn $ git

[PATCH] DBD::Pg configuration setup

2010-10-15 Thread H.Merijn Brand
not dynamic on $os $osvers.\a\n; -$opts{LINKTYPE} = 'static'; -} -} -elsif ($os =~ /Win32/) { +if ($os =~ /Win32/) { my $msdir = $POSTGRES_LIB; $msdir =~ s{$}{/ms}; $opts{LIBS}[0] .= -L$msdir -lsecur32; --8--- -- H.Merijn Brand http://tux.nl Perl Monger http

Re: DBI 1.615 and onwards

2010-09-21 Thread H.Merijn Brand
That'll let Jens Rehsack, H.Merijn Brand and anyone else working on that part of the code base (the SqlEngine team?), develop and commit freely without having to be concerned with DBI release cycles. That will mean that someone other than me will have to keep merging commits to the main branch

Re: DBI 1.615 and onwards

2010-09-21 Thread H.Merijn Brand
the CPANTESTERS can pick up what goes wrong -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00, 11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0, and 11.1, AIX 5.2 and 5.3. http://mirrors.develooper.com/hpux

Re: [svn:dbi] r14409 - in dbi/trunk: lib/DBD t

2010-09-18 Thread H.Merijn Brand
a hands-on meet-up one-day :) Then we can *show* the way we all work. -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00, 11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0, and 11.1, AIX 5.2 and 5.3. http

Re: [rt.cpan.org #61168] Specifying seperation character per table does not work

2010-09-16 Thread H.Merijn Brand
. Applied, committed, pulled, tidied, tested, committed, applied, committed, tested, pushed. Thanks -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00, 11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0

Re: [rt.cpan.org #61168] Specifying seperation character per table does not work

2010-09-16 Thread H.Merijn Brand
On Thu, 16 Sep 2010 09:43:05 +0200, Jens Rehsack rehs...@googlemail.com wrote: 2010/9/16 H.Merijn Brand h.m.br...@xs4all.nl: On Wed, 15 Sep 2010 23:51:40 +0200, Jens Rehsack rehs...@googlemail.com wrote: Ok, I understood your desire - but your patch doesn't catch all the backward

Re: ANNOUNCE: DBD::Oracle 1.25 Release Candidate 4

2010-09-15 Thread H.Merijn Brand
) Failed 4/51 subtests Test Summary Report --- t/58object.t (Wstat: 1024 Tests: 51 Failed: 4) Failed tests: 27, 31, 33-34 Non-zero exit status: 4 Files=1, Tests=51, 4 wallclock secs ( 0.04 usr 0.00 sys + 0.08 cusr 0.01 csys = 0.13 CPU) Result: FAIL -- H.Merijn Brand http

$attr - $type

2010-09-14 Thread H.Merijn Brand
--- t/73_csv-case.t (Wstat: 0 Tests: 44 Failed: 0) TODO passed: 30, 32, 34, 36, 38, 40, 42 Files=23, Tests=655, 2 wallclock secs ( 0.17 usr 0.03 sys + 2.38 cusr 0.19 csys = 2.77 CPU) Result: PASS -- H.Merijn Brand http://tux.nl Perl Monger http

Re: ANNOUNCE: DBD::Oracle 1.25 Release Candidate 3

2010-09-10 Thread H.Merijn Brand
file for OCILobLocatorIsInit_log_stat seems it was a typo on my part. As well got rid of some harmless compiler warnings Cheers John Scoles -- The best compliment you could give Pythian for our service is a referral. -- H.Merijn Brand http://tux.nl Perl Monger http

Re: ANNOUNCE: DBD::Oracle 1.25 Release Candidate 3

2010-09-10 Thread H.Merijn Brand
On Fri, 10 Sep 2010 11:42:08 +0200, H.Merijn Brand h.m.br...@xs4all.nl wrote: On Thu, 09 Sep 2010 15:27:41 -0400, John Scoles sco...@pythian.com wrote: Well the third time is a charm!! We hope for the 'two bit' version of DBD::Oracle 1.25 You can find release candidate 3 here

Re: ANNOUNCE: DBD::Oracle 1.25 Release Candidate

2010-09-06 Thread H.Merijn Brand
+ 4.68 cusr 0.55 csys = 5.70 CPU) Result: FAIL Failed 2/31 test programs. 4/2126 subtests failed. make: *** [test_dynamic] Error 255 -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00, 11.11, 11.23

Re: ANNOUNCE: DBD::Oracle 1.25 Release Candidate

2010-09-06 Thread H.Merijn Brand
=1, Tests=5, 1 wallclock secs ( 0.03 usr 0.00 sys + 0.10 cusr 0.02 csys = 0.15 CPU) Result: FAIL -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00, 11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0

Re: Any reasons not to release DBI 1.614?

2010-09-01 Thread H.Merijn Brand
about DBD's that do not have active maintainers and will suddenly fail when DBI is upgraded and there will be noone available for a quick fix. -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00, 11.11

Re: Perl 5.13.3+ MAY BREAK COMPILED DRIVERS - Please test DBI 1.613_71!

2010-08-30 Thread H.Merijn Brand
with Perl 5.13.3+. To aid testing for this, the DBI 1.613_71 doesn't enabled PERL_POLUTE mode. So please test compiled drivers against DBI 1.613_71. Thanks! -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.12 and porting perl5.13.x on HP-UX

Re: Perl 5.13.3+ MAY BREAK COMPILED DRIVERS - Please test DBI 1.613_71!

2010-08-30 Thread H.Merijn Brand
search.cpan.org and click on the link that says download the latest dev build which is identifies as 1.613_71, but it goes to a 404 page. So, Not here -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00, 11.11

Re: Perl 5.13.3+ MAY BREAK COMPILED DRIVERS - Please test DBI 1.613_71!

2010-08-30 Thread H.Merijn Brand
On Mon, 30 Aug 2010 13:33:55 -0700, Jonathan Leffler jonathan.leff...@gmail.com wrote: On Mon, Aug 30, 2010 at 1:24 PM, H.Merijn Brand h.m.br...@xs4all.nl wrote: On Mon, 30 Aug 2010 13:13:30 -0700, Jonathan Leffler wrote: OK - I'm an idiot (and you knew that already), but... Where

Re: Any reasons not to release DBI 1.614?

2010-08-30 Thread H.Merijn Brand
On Mon, 30 Aug 2010 22:40:52 +0200, H.Merijn Brand h.m.br...@xs4all.nl wrote: What's the state of play? Jens has to make t/50dbm_simple.t more defensive Done and passed. 1.163_92 is up and available Thank you Tim for the speedy action -- H.Merijn Brand http://tux.nl Perl Monger

Re: Implemented idea, feedback needed/welcome

2010-08-16 Thread H.Merijn Brand
On Mon, 16 Aug 2010 12:20:20 +0200, Tim Bunce tim.bu...@pobox.com wrote: On Wed, Aug 04, 2010 at 10:51:41PM +0200, H.Merijn Brand wrote: My intention was/is to have a DBI replacement for DB_File, so the *only* thing I have to change to use it is tie my %hash, DB_File, file.db

Re: DBD::Oracle::db prepare failed: ORA-00932: inconsistent datatypes

2010-08-06 Thread H.Merijn Brand
On Fri, 06 Aug 2010 09:56:36 +0100, Charles Jardine c...@cam.ac.uk wrote: On 05/08/10 12:49, H.Merijn Brand wrote: Snip $dbh-do (qq; create global temporary table t_foo ( h_key blob, h_value blob ); ); my $sth = $dbh-prepare (select

DBD::Oracle::db prepare failed: ORA-00932: inconsistent datatypes

2010-08-05 Thread H.Merijn Brand
Enterprise Edition Release 11.1.0.6.0 - 64bit Production -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00, 11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0, and 11.1, AIX 5.2 and 5.3. http

Re: DBD::Oracle::db prepare failed: ORA-00932: inconsistent datatypes

2010-08-05 Thread H.Merijn Brand
On Thu, 5 Aug 2010 13:49:57 +0200, H.Merijn Brand h.m.br...@xs4all.nl wrote: my $sth = $dbh-prepare (select h_value from t_foo where h_key = ?); $ perl test.pl DBD::Oracle::db prepare failed: ORA-00932: inconsistent datatypes: expected - got BLOB (DBD ERROR: error possibly near * indicator

Implemented idea, feedback needed/welcome

2010-08-04 Thread H.Merijn Brand
results, it uses a hash, which has outgrown the available memory space, so I tied that with DB_File to disk. The system however didn't give me enough space to store that, and the database server is huge and fast -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using

Re: Implemented idea, feedback needed/welcome

2010-08-04 Thread H.Merijn Brand
On Wed, 4 Aug 2010 19:50:36 +0200, Jens Rehsack rehs...@googlemail.com wrote: 2010/8/4 H.Merijn Brand h.m.br...@xs4all.nl: http://www.xs4all.nl/~hmbrand/TD.tgz    use DBI;    use Tie::DBD;    my $dbh = DBI-connect (dbi:Pg:, ...);    tie my %hash, Tie::DBD, $dbh;    tie my %hash

Re: Implemented idea, feedback needed/welcome

2010-08-04 Thread H.Merijn Brand
On Wed, 4 Aug 2010 19:50:36 +0200, Jens Rehsack rehs...@googlemail.com wrote: 2010/8/4 H.Merijn Brand h.m.br...@xs4all.nl: http://www.xs4all.nl/~hmbrand/TD.tgz New version available as http://www.xs4all.nl/~hmbrand/Tie-DBD-0.01.tgz t/10_hash.t still has to be changed    use DBI;    use

Re: Take care with version numbers (eg DBD::Pg)

2010-07-09 Thread H.Merijn Brand
reports inform me about errors I forgot to take out regarding not-yet installed modules (dependencies I did not declare or debugging modules I forgot to take out). Best, David -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.12 and porting

Re: New DBD::File feature - can we do more with it?

2010-06-30 Thread H.Merijn Brand
really like to do this - this would bring us a big step in the right direction. DBD::DBM could store it in it's meta-data (instead of saving column names it could safe the entire table_defs structure), but what should DBD::CSV do? Best regards, Jens -- H.Merijn Brand http://tux.nl

Re: Help required for DBD::Sys extensibility

2010-06-22 Thread H.Merijn Brand
$_, status = $stt, }; } } --8--- Note that some Win32 methods can only be used with enough rights. Above snippet is what worked best for *me* on my systems (using Strawberry perl). -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using

Re: Spelling

2010-06-08 Thread H.Merijn Brand
On Tue, 08 Jun 2010 07:48:59 -0400, John Scoles sco...@pythian.com wrote: H.Merijn Brand wrote: DBI documentation is written in en_EN instead of en_US, so the spell-checker will see behaviour as wrong and suggests behavior. Same for ACKNOWLEDGEMENT vs ACKNOWLEDGMENT. So it spells

Re: Driver private functions, prefix and inheritance

2010-06-08 Thread H.Merijn Brand
be called (and cached). Tim. p.s. The driver private methods only really require a prefix if you want to install them into the DBI dispatcher via install_method(). -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.12 and porting perl5.13.x

Spelling

2010-06-07 Thread H.Merijn Brand
but implemented in some DBDs) +(not yet implemented in DBI but implemented in some DBD's) The L/parse_trace_flags and L/parse_trace_flag methods are used to convert trace flag names into the corresponding integer bit flags. --8--- -- H.Merijn Brand http://tux.nl Perl Monger http

Re: Spelling

2010-06-07 Thread H.Merijn Brand
On Mon, 07 Jun 2010 13:51:26 -0400, John Scoles sco...@pythian.com wrote: H.Merijn Brand wrote: For my own projects (which includes two DBD's), I have been working on spell-check issues. I'm not born in an English-speaking country, nor was I raised in one, so I make errors. Probably quite

Re: accessing driver prefix ...

2010-06-04 Thread H.Merijn Brand
in $dbd_prefix_registry ... +1 You've got my ok on this -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00, 11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0, and 11.1, AIX 5.2 and 5.3. http

Re: Encoding for tables in DBD::File

2010-06-01 Thread H.Merijn Brand
On Tue, 01 Jun 2010 11:16:43 +, Jens Rehsack rehs...@googlemail.com wrote: On 06/01/10 10:42, Tim Bunce wrote: On Sun, May 30, 2010 at 12:33:44PM +0200, H.Merijn Brand wrote: In DBI-1.611 I introduced f_encoding for tables. That works great. In 1.611, f_encoding was evaluated from

Re: Style-Patch for DBD::DBM

2010-04-30 Thread H.Merijn Brand
for his one and you surely have reasons for your style. DBI++ Best regards, Jens -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00, 11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0, and 11.1

Re: [svn:dbi] r13920 - dbi/trunk/lib/DBD

2010-04-28 Thread H.Merijn Brand
. What kind of action? -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00, 11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0, and 11.1, AIX 5.2 and 5.3. http://mirrors.develooper.com/hpux/ http

Re: [svn:dbi] r13920 - dbi/trunk/lib/DBD

2010-04-27 Thread H.Merijn Brand
for production scripts. Ever. I have some, but I only use them to test the modules. -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00, 11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0, and 11.1, AIX 5.2 and 5.3. http

Re: DBD::File and dbh cloning in threaded environments

2010-04-23 Thread H.Merijn Brand
for DBI 1.611? FWIW, Martin applied that croak on bad encoding for f_encodings in DBD::File (thanks mje!), so I think we're pretty stable now -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00

Re: Encoding support in DBD::File

2010-04-22 Thread H.Merijn Brand
On Thu, 22 Apr 2010 10:06:04 +0100, Tim Bunce tim.bu...@pobox.com wrote: On Wed, Apr 21, 2010 at 03:45:49PM +0100, Martin Evans wrote: H.Merijn Brand wrote: This rocks! my $dbh = DBI-connect (dbi:CSV:, undef, undef, { RaiseError= 1, PrintError= 1

Re: Encoding support in DBD::File

2010-04-22 Thread H.Merijn Brand
On Thu, 22 Apr 2010 10:06:04 +0100, Tim Bunce tim.bu...@pobox.com wrote: On Wed, Apr 21, 2010 at 03:45:49PM +0100, Martin Evans wrote: H.Merijn Brand wrote: This rocks! my $dbh = DBI-connect (dbi:CSV:, undef, undef, { RaiseError= 1, PrintError= 1

Encoding support in DBD::File

2010-04-21 Thread H.Merijn Brand
Driver private methods =over 4 --8--- -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00, 11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0, and 11.1, AIX 5.2 and 5.3. http://mirrors.develooper.com/hpux

Re: connecting()?

2010-04-16 Thread H.Merijn Brand
/i686-linux-64int-ld/DBI.pm: 1.611 -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x on HP-UX 10.20, 11.00, 11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0, and 11.1, AIX 5.2 and 5.3. http://mirrors.develooper.com/hpux

Re: connecting()?

2010-03-31 Thread H.Merijn Brand
. Thoughts? All in favour, if not only to be able to use $ENV{DBD_VERBOSE} and $ENV{DBI_VERBOSE} to set verbosity on connection before it even starts! -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x on HP-UX 10.20, 11.00

Re: DBI package problem?

2010-03-29 Thread H.Merijn Brand
. If this path would be chosen, then it would be `normal' to also install DBI::PurePerl because now the end-user has an option. FWIW I am not the one going to implement this. -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x

Re: DBI package problem?

2010-03-29 Thread H.Merijn Brand
your work on getting DBI::PurePerl working withing the current DBI framework without the current restrictions and/or drawbacks. -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x on HP-UX 10.20, 11.00, 11.11, 11.23, and 11.31

Re: column_info () vs type_info () (Summary)

2010-03-10 Thread H.Merijn Brand
On Wed, 10 Mar 2010 10:25:45 +, Martin Evans martin.ev...@easysoft.com wrote: H.Merijn Brand and I have been talking this over on #dbi and Tim asked for a summary. I don't want to misrepresent what Merijn said, afterall he started the thread but I think it boils down to these issues: 1

Re: column_info () vs type_info ()

2010-03-08 Thread H.Merijn Brand
On Wed, 3 Mar 2010 16:10:53 +0100, H.Merijn Brand h.m.br...@xs4all.nl wrote: I see a big difference in what $sth-{TYPE} returns (and the name) and what column_info () - if implemented - is returning. Does no-one have an opinion on this? I'd like to finish the Unify implementation. And maybe

Re: column_info () vs type_info ()

2010-03-08 Thread H.Merijn Brand
On Mon, 08 Mar 2010 10:13:02 +, Martin Evans martin.ev...@easysoft.com wrote: large original chunks snipped ... H.Merijn Brand wrote: I see a big difference in what $sth-{TYPE} returns (and the name) and what column_info () - if implemented - is returning. I don't think I do with DBD

Re: Duplicate fields in select_hashref

2010-01-29 Thread H.Merijn Brand
for DBI. -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x on HP-UX 10.20, 11.00, 11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0, and 11.1, AIX 5.2 and 5.3. http://mirrors.develooper.com/hpux/ http://www.test

Re: Duplicate fields in select_hashref

2010-01-28 Thread H.Merijn Brand
if they overlap. indeed, which is what I have shown. I'm not complaining here or filing a bug report. I'm probing for opinions in how to document this. I *do* think that count, count (*) mapping to count, count /is/ a bug. -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org

Re: ANNOUNCE: DBD::Oracle 1.24 Release Candidate 2

2010-01-09 Thread H.Merijn Brand
:( this time out I have hopefully fixed most of the warnings I have also updated the pod to explain what ora_ncs_buff_mtpl and var ORA_DBD_NCS_BUFFER do I have also added a few other little patches from H.Merijn Brand The big one this RC is that I think I finally got the RowsInCache

Re: ANNOUNCE: DBD::Oracle 1.24 Release Candidate 2

2010-01-09 Thread H.Merijn Brand
65. Exit 255 -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x on HP-UX 10.20, 11.00, 11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0, and 11.1, AIX 5.2 and 5.3. http://mirrors.develooper.com/hpux/ http://www.test

Re: ANNOUNCE: DBD::Oracle 1.24 Release Candidate 1

2010-01-04 Thread H.Merijn Brand
subtests failed. make: *** [test_dynamic] Error 4 -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x on HP-UX 10.20, 11.00, 11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0, and 11.1, AIX 5.2 and 5.3. http://mirrors.develooper.com

Re: ANNOUNCE: DBD::Oracle 1.24 Release Candidate 1

2010-01-04 Thread H.Merijn Brand
On Mon, 4 Jan 2010 12:33:58 +0100, H.Merijn Brand h.m.br...@xs4all.nl wrote: DBD-Oracle-svn 25 perl Makefile.PL Using DBI 1.609 (for perl 5.010001 on x86_64-linux) installed in /pro/lib/perl5/site_perl/5.10.1/x86_64-linux/auto/DBI/ Argument 6.55_02 isn't numeric in numeric ge

Re: ANNOUNCE: DBD::Oracle 1.24 Release Candidate 1

2010-01-04 Thread H.Merijn Brand
as US7ASCII; return $dbh; } --8--- -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x on HP-UX 10.20, 11.00, 11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0, and 11.1, AIX 5.2 and 5.3. http://mirrors.develooper.com/hpux

Re: Implementing file-locking *control* in DBD::File

2009-12-04 Thread H.Merijn Brand
On Fri, 4 Dec 2009 10:03:54 +0100, Jens Rehsack rehs...@googlemail.com wrote: 2009/12/3 H.Merijn Brand h.m.br...@xs4all.nl: Any objections to me committing below change? While the originator of this request updates his ticket, maybe a smarter implementation is reasonable: I could modify

Re: Implementing file-locking *control* in DBD::File

2009-12-04 Thread H.Merijn Brand
On Fri, 4 Dec 2009 13:03:00 +0100, Jens Rehsack rehs...@googlemail.com wrote: 2009/12/4 H.Merijn Brand h.m.br...@xs4all.nl: On Fri, 4 Dec 2009 10:03:54 +0100, Jens Rehsack rehs...@googlemail.com wrote: 2009/12/3 H.Merijn Brand h.m.br...@xs4all.nl: Any objections to me committing below

Re: DBI svn 13624 not very healthy

2009-12-03 Thread H.Merijn Brand
On Thu, 03 Dec 2009 17:35:50 +, Martin Evans martin.ev...@easysoft.com wrote: H.Merijn Brand wrote: Current checkout: commit a5a9fc491c2f0316a39af0adb5cd82b39dabafae Author: mjevans mjev...@50811bd7-b8ce-0310-adc1-d9db26280581 Date: Wed Dec 2 10:08:18 2009 + Needs

Re: DBD-Oracle-1.23 Makefile.PL patch

2009-11-27 Thread H.Merijn Brand
; -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x on HP-UX 10.20, 11.00, 11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0, and 11.1, AIX 5.2 and 5.3. http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http

Re: DBD-Oracle-1.23 Makefile.PL patch

2009-11-27 Thread H.Merijn Brand
On Fri, 27 Nov 2009 10:41:19 -0400, Ralph Doncaster ralphdoncas...@gmail.com wrote: On 11/27/09, H.Merijn Brand h.m.br...@xs4all.nl wrote: On Fri, 27 Nov 2009 10:21:05 -0400, Ralph Doncaster ralphdoncas...@gmail.com wrote: While you're at it, I'd like to see some more changes: * make

Re: DBD-Oracle-1.23 Makefile.PL patch

2009-11-27 Thread H.Merijn Brand
On Fri, 27 Nov 2009 10:17:01 -0500, John Scoles sco...@pythian.com wrote: Of you could give it a try on 64 bit power solaris it you want to tug all of your hair out. Would that be just as bad as True64? I feel your pain however. H.Merijn Brand wrote: On Fri, 27 Nov 2009 10:41:19 -0400

Error message from bind_columns ()

2009-11-13 Thread H.Merijn Brand
(0x402ec680)-bind_col(1, ARRAY(0x402ec8c0),...), need a reference to a scalar at /pro/tu/bev/local/bin/gvH.pl line 123 which is what makes the end-user much happier. Suggestions? -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using porting perl 5.6.2, 5.8.x, 5.10.x, 5.11

Re: ppport.h

2009-10-23 Thread H.Merijn Brand
a *recent* version of Devel::PPPort is fine too. I intend to keep ppport.h in DBI `recent' as long as Tim permits me to Martin Thanks for testing and checking -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x on HP-UX 10.20

DBI test suite

2009-09-18 Thread H.Merijn Brand
# ' # Failed test 'Regression test' # at ./t/19fhtrace.t line 227. # got: '1' # expected: undef # Looks like you failed 3 tests of 27. t/zvxgp_19fhtrace.t ... Dubious, test returned 3 (wstat 768, 0x300) Failed 3/27 subtests -- H.Merijn Brand http://tux.nl Perl Monger http

Re: DBI test suite

2009-09-18 Thread H.Merijn Brand
On Fri, 18 Sep 2009 11:02:12 +0100, Tim Bunce tim.bu...@pobox.com wrote: On Fri, Sep 18, 2009 at 08:48:09AM +0200, H.Merijn Brand wrote: I have written new tests for the fixed 'DBI-trace (1, *FOO);' issue (and commited them and pushed them up), and it passes for t/19trace.t and the zvg

Re: [svn:dbi] r13334 - dbi/trunk

2009-09-14 Thread H.Merijn Brand
the newly installed DBI. Please let us know about either failures or successes, including the output of perl -V. Thanks! (And thanks to H.Merijn Brand for the update.) Tim. Works fine for me with latest DBD::ODBC, Linux and Perl 5.8.8. I will try 5.10 later. Should driver maintainers

Re: [svn:dbi] r13312 - dbi/trunk

2009-09-13 Thread H.Merijn Brand
fixes the special case for all backwards compatibility issues. (My tests suddenly started creating files with the name *main::STDERR, and upgrading DBI is way easier than upgrading perl. Feel free to beat me in doing it right though. -- H.Merijn Brand http://tux.nl Perl Monger http

semi-panic? WTF

2009-08-11 Thread H.Merijn Brand
$sth-SUPER::FETCH ($attrib);# = line 629 } # FETCH So far, I have not been able to make a small reproduceable case. Any pointers appreciated. -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x on HP-UX 10.20

Re: semi-panic? WTF

2009-08-11 Thread H.Merijn Brand
On Tue, 11 Aug 2009 09:23:32 +0200, H.Merijn Brand h.m.br...@xs4all.nl wrote: $DBI_DSN = dbi:CSV:f_dir=.;f_ext=.csv/r;f_schema=undef selectPROVINCIE_VEST, count (*) from cfischolen group by PROVINCIE_VEST semi-panic: attempt to dup freed string at /pro/lib/perl5/site_perl

<    1   2   3   4   5   >