Re: Next MDB2 releases

From: Date: Wed, 14 Jun 2006 11:45:18 +0000
Subject: Re: Next MDB2 releases
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-42936@lists.php.net to get a copy of this message
Lukas Smith wrote:
Hoi, one more thing mssql and ibase drivers also need an implementation for the new random function.
for ibase, RAND() is used (it's inherited by MDB2_Driver_Function_Common, no need to override the parent method), but you have to install ib_udf, which comes with the server, or at least the RAND() function: =============================== DECLARE EXTERNAL FUNCTION rand RETURNS DOUBLE PRECISION BY VALUE ENTRY_POINT 'IB_UDF_rand' MODULE_NAME 'ib_udf'; =============================== if it's installed and declared, it will work. Regards, -- Lorenzo Alberton http://pear.php.net/user/quipo

« previous php.pear.dev (#42936) next »