cube1us / IBM1410SMS

Database Program for capturing data from IBM SMS Automated Logic Diagrams and related database layer
GNU General Public License v3.0
0 stars 0 forks source link

Automatically add back-ticks around ORDER BY fields in SQL getWhere method. #40

Open cube1us opened 4 years ago

cube1us commented 4 years ago

MySQL has an "oddity" in that it gets confused when field names that conflict with keywords (like "type") are used. In many instances the code automatically applies back-ticks around field names, but not in ORDER BY clauses in getWhere(). It ought to be not too hard to do that.