PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Database » DB_DataObject » Bug #1135

SQLite can handle LIMIT, stop exception

Details

Submitted2004-04-05 06:40 UTC
Fromcontact at mann dot fr
StatusNo Feedback
PackageDB_DataObject
PHP Version4.3.4
OSLinux (Debian i586)
Roadmaps(Not assigned)

Comments

[2004-04-05 06:40 UTC] contact at mann dot fr

Description:
------------
SQLite proports to handle LIMIT in select clauses.
DB_DataObject proports to throw an exception is this clause is used on anything but MySQL and PostgreSQL.

Reproduce code:
---------------
Is this a DB issue or a DB_DataObject issue (probably the second).
Bug dependant on bug # 1085

Expected result:
----------------
DB_DataObject show not throw an error on SQLite LIMIT clauses.
The manuel should say that on databases other than MySQL, PostgreSQL and SQLite, it will throw an error (especially on Oracle ;))

Actual result:
--------------
The Manuel throws an error.