Open Source RDBMS - Seamless, Scalable, Stable and Free

English | Login |Register

author
message
[레벨:2]stefans

Post subject: The connected Callback in not invoked

registered: 06/28/2012

아이피: *.116.213.202

views: 0

Hi,

Similar to the HandleError problem, also using the DBD::cubrid module v9.1.0.0001 and server v9.1.0, here is a short test:

#!/bin/env perl

use strict;
use warnings;
use DBI;

my $dbname = 'demodb';
my $user   = 'user';
my $pass   = 'pass';

my $dsn = qq{dbi:cubrid:database=$dbname;host=localhost;port=33000};

my $dbh = DBI->connect(
    $dsn, $user, $pass,
    {   AutoCommit  => 1,
        RaiseError  => 1,
        PrintError  => 1,
        Callbacks   => {
            connected => sub {
                print "*** Connected! *** ";
                return;
            },
        },
    }
) or die $DBI::errstr;

This is supposed to print "*** Connected! ***", but the callback is not invoked. (It works with other drivers, for example DBD::Pg).

Thank you.
Regards,
Stefan

Quote
[레벨:3]Esen Sagynov

# Post subject:Re: The connected Callback in not invoked

profile

registered: 05/31/2011

아이피: *.91.139.82

We will look into it together with the previuos issue. Have reported to http://jira.cubrid.org/browse/APIS-590.

Quote




You are either using a very old browser or a browser that is not supported.
In order to browse cubrid.org you need to have one of the following browsers:



Internet Explorer: Mozilla Firefox: Google Chrome: