| version 1.1, 2005/06/05 12:14:09 |
version 1.2, 2005/11/07 20:37:25 |
| Line 47 require_once 'DB/common.php'; |
|
| Line 47 require_once 'DB/common.php'; |
|
| * @author Daniel Convissor <danielc@php.net> |
* @author Daniel Convissor <danielc@php.net> |
| * @copyright 1997-2005 The PHP Group |
* @copyright 1997-2005 The PHP Group |
| * @license http://www.php.net/license/3_0.txt PHP License 3.0 3.0 |
* @license http://www.php.net/license/3_0.txt PHP License 3.0 3.0 |
| * @version Release: 1.7.4 |
* @version Release: 1.7.6 |
| * @link http://pear.php.net/package/DB |
* @link http://pear.php.net/package/DB |
| */ |
*/ |
| class DB_sqlite extends DB_common |
class DB_sqlite extends DB_common |
| Line 734 class DB_sqlite extends DB_common |
|
| Line 734 class DB_sqlite extends DB_common |
|
| '/^(table|index) .* already exists$/' => DB_ERROR_ALREADY_EXISTS, |
'/^(table|index) .* already exists$/' => DB_ERROR_ALREADY_EXISTS, |
| '/PRIMARY KEY must be unique/i' => DB_ERROR_CONSTRAINT, |
'/PRIMARY KEY must be unique/i' => DB_ERROR_CONSTRAINT, |
| '/is not unique/' => DB_ERROR_CONSTRAINT, |
'/is not unique/' => DB_ERROR_CONSTRAINT, |
| |
'/columns .* are not unique/i' => DB_ERROR_CONSTRAINT, |
| '/uniqueness constraint failed/' => DB_ERROR_CONSTRAINT, |
'/uniqueness constraint failed/' => DB_ERROR_CONSTRAINT, |
| '/may not be NULL/' => DB_ERROR_CONSTRAINT_NOT_NULL, |
'/may not be NULL/' => DB_ERROR_CONSTRAINT_NOT_NULL, |
| '/^no such column:/' => DB_ERROR_NOSUCHFIELD, |
'/^no such column:/' => DB_ERROR_NOSUCHFIELD, |