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 #8234

Resulting SQL wrong

Details

Submitted2006-07-17 12:33 UTC
Fromlyric680-web at yahoo dot de
Assignedlsmith
StatusClosed
PackageDB_DataObject
PHP Version4.3.4
Roadmaps(Not assigned)

Comments

[2006-07-17 12:33 UTC] lyric680-web at yahoo dot de

Description:
------------
In:

>Example 33-2. Resulting SQL
>
>
><?php
>SELECT * FROM person WHERE id=12
>DELETE FROM person WHERE id=12 AND name='test' AND age=21
>DELETE FROM person WHERE age < 21
>?>

the line
'DELETE FROM person WHERE id=12 AND name='test' AND age=21' is not part of the resulting SQL, I think.