cvs: pear /DB/DB sqlite.php

From: Date: Thu, 19 Feb 2004 07:29:07 +0000
Subject: cvs: pear /DB/DB sqlite.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-16663@lists.php.net to get a copy of this message
danielc Thu Feb 19 02:29:07 2004 EDT Modified files: /pear/DB/DB sqlite.php Log: Add mapping for not null constraint errors. http://cvs.php.net/diff.php/pear/DB/DB/sqlite.php?r1=1.54&r2=1.55&ty=u Index: pear/DB/DB/sqlite.php diff -u pear/DB/DB/sqlite.php:1.54 pear/DB/DB/sqlite.php:1.55 --- pear/DB/DB/sqlite.php:1.54 Wed Feb 18 18:07:10 2004 +++ pear/DB/DB/sqlite.php Thu Feb 19 02:29:06 2004 @@ -18,7 +18,7 @@ // | Maintainer: Daniel Convissor <danielc@php.net> | // +----------------------------------------------------------------------+ // -// $Id: sqlite.php,v 1.54 2004/02/18 23:07:10 danielc Exp $ +// $Id: sqlite.php,v 1.55 2004/02/19 07:29:06 danielc Exp $ // SQLite function set: @@ -75,7 +75,7 @@ * PECL extension. * * @package DB - * @version $Id: sqlite.php,v 1.54 2004/02/18 23:07:10 danielc Exp $ + * @version $Id: sqlite.php,v 1.55 2004/02/19 07:29:06 danielc Exp $ * @category Database * @author Urs Gehrig <urs@circle.ch> * @author Mika Tuupola <tuupola@appelsiini.net> @@ -429,6 +429,7 @@ '/PRIMARY KEY must be unique/i' => DB_ERROR_CONSTRAINT, '/is not unique/' => DB_ERROR_CONSTRAINT, '/uniqueness constraint failed/' => DB_ERROR_CONSTRAINT, + '/may not be NULL/' => DB_ERROR_CONSTRAINT_NOT_NULL, '/^no such column:/' => DB_ERROR_NOSUCHFIELD, '/^near ".*": syntax error$/' => DB_ERROR_SYNTAX );

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