cvs: pear /MDB2/MDB2/Driver/Function sqlite.php

From: Date: Tue, 12 Feb 2008 21:24:42 +0000
Subject: cvs: pear /MDB2/MDB2/Driver/Function sqlite.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-50989@lists.php.net to get a copy of this message
quipo Tue Feb 12 21:24:42 2008 UTC Modified files: /pear/MDB2/MDB2/Driver/Function sqlite.php Log: replace(): not capable (introduced in sqlite 3.4.0) http://cvs.php.net/viewvc.cgi/pear/MDB2/MDB2/Driver/Function/sqlite.php?r1=1.8&r2=1.9&diff_format=u Index: pear/MDB2/MDB2/Driver/Function/sqlite.php diff -u pear/MDB2/MDB2/Driver/Function/sqlite.php:1.8 pear/MDB2/MDB2/Driver/Function/sqlite.php:1.9 --- pear/MDB2/MDB2/Driver/Function/sqlite.php:1.8 Tue Jun 13 22:55:55 2006 +++ pear/MDB2/MDB2/Driver/Function/sqlite.php Tue Feb 12 21:24:42 2008 @@ -42,7 +42,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ // -// $Id: sqlite.php,v 1.8 2006/06/13 22:55:55 lsmith Exp $ +// $Id: sqlite.php,v 1.9 2008/02/12 21:24:42 quipo Exp $ // require_once 'MDB2/Driver/Function/Common.php'; @@ -121,5 +121,26 @@ } // }}} + // {{{ replace() + + /** + * return string to call a function to get a replacement inside an SQL statement. + * + * @return string to call a function to get a replace + * @access public + */ + function replace($str, $from_str, $to_str) + { + $db =& $this->getDBInstance(); + if (PEAR::isError($db)) { + return $db; + } + + $error =& $db->raiseError(MDB2_ERROR_UNSUPPORTED, null, null, + 'method not implemented', __FUNCTION__); + return $error; + } + + // }}} } ?>

« previous php.pear.cvs (#50989) next »