Mantis Bugtracker

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003290 [Quercus] block always 01-21-09 18:00 01-22-09 10:37
Reporter koreth View Status public  
Assigned To nam
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.0 Product Version 4.0.0
  Product Build
Summary 0003290: ereg() incompatibility
Description <?php
$query = 'SELECT /* AssetLib::getAssets */ asset.asset_id, asset.asset_tag,, asset.type_id, asset.primary_tier_id, asset.origination,
asset.chassis_type, asset.asset_status_id, asset.vendor_id, asset.model_id,
asset.serial_number, asset.po_number, asset.invoice_number, asset.is_leased,
asset.os_id, asset.datacenter_id, asset.suite, asset.cluster_rack,
asset.cluster, asset.row, asset.rack, asset.rack_side, asset.rack_pos,
asset.rack_size, asset.rack_serial, asset.console_server,
asset.console_port, asset.date_received, asset.date_deployed,
asset.created_by, asset.description, asset.comments, asset.deleted,
asset.version, asset.c_time, asset.m_time, asset.s_time, as
datacenter_name, /* getServerAssetSql */ server.kernel_id,
server.kernel_version, server.total_memory, server.disk_space,
server.cpu_count, server.cpu_model_id, server.cpu_mhz,
server.cpu_cache_size, server.cpu_cores, server.oob_mac, server.oob_serial,
server.oob_user, server.oob_password FROM asset asset LEFT JOIN datacenter d
ON d.datacenter_id = asset.datacenter_id LEFT JOIN asset_server server ON
asset.asset_id = server.asset_id WHERE asset.deleted = 0 AND
asset.origination LIKE %s';
ereg ('^SELECT(.*)$', $query, $p);
echo "$p[1]";

Quercus prints nothing. Zend PHP prints the original string minus the "SELECT" at the beginning.
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
01-22-09 10:37


- Issue History
Date Modified Username Field Change
01-21-09 18:00 koreth New Issue
01-22-09 10:37 nam Status new => assigned
01-22-09 10:37 nam Assigned To  => nam
01-22-09 10:37 nam Status assigned => closed
01-22-09 10:37 nam Note Added: 0003774
01-22-09 10:37 nam Resolution open => fixed
01-22-09 10:37 nam Fixed in Version  => 4.0.0

Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker