PHP PEAR CVS 22 CVS PEAR DB DB SQLITE PHP
Date: Tue, 01 Jul 2003 14:00:47 -0000

Subject: cvs: pear /DB/DB sqlite.php
From: urs@no-spam (Urs Gehrig)

urs Tue Jul 1 10:00:47 2003 EDT
Modified files: /pear/DB/DB sqlite.php Log:
* getLastInsertId() removed. use nextID() instead.
Index: pear/DB/DB/sqlite.php diff -u pear/DB/DB/sqlite.php:1.5 pear/DB/DB/sqlite.php:1.6
--- pear/DB/DB/sqlite.php:1.5 Tue Jul 1 09:49:37 2003
+++ pear/DB/DB/sqlite.php Tue Jul 1 10:00:45 2003
@@no-spam -16,7 +16,7 @@no-spam // | Author: Urs Gehrig <urs@no-spam> |
// +----------------------------------------------------------------------+
//
-// $Id: sqlite.php,v 1.5 2003/07/01 13:49:37 tuupola Exp $
+// $Id: sqlite.php,v 1.6 2003/07/01 14:00:45 urs Exp $
//
// Database independent query interface definition for the PECL's SQLite // extension.
@@no-spam -408,16 +408,6 @@no-spam }
// }}}
- // {{{ getLastInsertId()
-
- /**
- * Gets the latest inserted row id.
- *
- * @no-spam last insert id - */
- function getLastInsertId() {
- return sqlite_last_insert_rowid($this->connection );
- }
function dropSequence($seq_name)
{
@@no-spam -425,7 +415,6 @@no-spam return $this->query("DROP TABLE $seqname");
} -
function createSequence($seq_name) {
$seqname = $this->getSequenceName($seq_name);
@@no-spam -436,7 +425,6 @@no-spam return($result);
} }
-
/**
* Get the next value in a sequence. We emulate sequences