View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006937 | mantisbt | administration | public | 2006-04-13 13:45 | 2006-05-07 03:51 |
Reporter | mishka | Assigned To | ryandesign | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Summary | 0006937: MySQL Compability v.4 and v.5 | ||||
Description | In function custom_field_get_all_linked_fields( $p_bug_id ) at custom_field_api | ||||
Additional Information | the hereunder query structure fits MySQL v. 4+ but fails at v. 5+$query = "SELECT f.name, f.type, f.access_level_r, f.default_value, f.type, s.value the following query functional under both MySQL v. 4+ & 5+$query = "SELECT f.name, f.type, f.access_level_r, f.default_value, f.type, s.value | ||||
Tags | No tags attached. | ||||
as I dont have mysql 5 installed, do you happen to have the error message it generates handy? |
|
I hope i'm getting you right and You're asking for error message, so given hereunder: APPLICATION ERROR 401 Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section. I have MySQL 5.0.18 on production server but on my local mashine installed v.4.0.+ so when I tried to run the the query via phpAdmin on v5.0.18 it triggers error while on my local mashine with v4.0.+ it works fine. Neverless that's not the question of style but functionality. |
|
I think that this code was re-writted in the RCs leading up to 1.0.0. Could you upgrade and retest? |
|
Unfortunately I can't upgrade and re-test it. I'm pretty much in final stages to launch my production server. The whole thing rised up while switching Mantis from local mashine configured with MySql v4.0.+ to production server with MySQL 5.0.18. Right now I'm fully syncronized between local mashine and production one, so I don't even have older MySQL v.4 installed and available. |
|
It was fixed in 1.0.0a1; see 0006394. |
|