Re: PDO Firebird bugfixes (pdo_firebird.c)

From: Date: Tue, 23 Oct 2007 22:34:11 +0000
Subject: Re: PDO Firebird bugfixes (pdo_firebird.c)
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-32945@lists.php.net to get a copy of this message
ext/pdo_firebird/pdo_firebird.c: diff -u -r1.4.2.3.2.1.2.1 pdo_firebird.c --- pdo_firebird.c 27 Sep 2007 18:00:42 -0000 1.4.2.3.2.1.2.1 +++ pdo_firebird.c 18 Oct 2007 19:42:47 -0000 @@ -55,6 +55,10 @@ PHP_MINIT_FUNCTION(pdo_firebird) /* {{{ */ { + REGISTER_PDO_CLASS_CONST_LONG("FB_ATTR_DATE_FORMAT", (long) PDO_FB_ATTR_DATE_FORMAT); + REGISTER_PDO_CLASS_CONST_LONG("FB_ATTR_TIME_FORMAT", (long) PDO_FB_ATTR_TIME_FORMAT); + REGISTER_PDO_CLASS_CONST_LONG("FB_ATTR_TIMESTAMP_FORMAT", (long) PDO_FB_ATTR_TIMESTAMP_FORMAT); + php_pdo_register_driver(&pdo_firebird_driver); return SUCCESS;

« previous php.internals (#32945) next »