Anonymous | Login | Signup for a new account | 12-17-2024 11:00 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ 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 | ||||||
Status | closed | Product 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. |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |