Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
3290 | block | always | 01-21-09 18:00 | 01-22-09 10:37 | |
|
|||||
Reporter: | koreth | Platform: | |||
Assigned To: | nam | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 4.0.0 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.0 | ||
|
|||||
Summary: | 0003290: ereg() incompatibility | ||||
Description: |
<?php $query = 'SELECT /* AssetLib::getAssets */ asset.asset_id, asset.asset_tag, asset.name, 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, d.name 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: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|