Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.7.0

Request #11469 CLARIFICATION NEEDED - unify line endings
Submitted: 2007-06-28 11:59 UTC
From: cybot Assigned:
Status: Analyzed Package: SQL_Parser (version CVS)
PHP Version: 5.2.3 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2007-06-28 11:59 UTC] cybot (Sebastian Mendel)
Description: ------------ unify line endings once - save resources to not always check for all types of line endings

Comments

 [2007-06-29 05:47 UTC] cweiske (Christian Weiske)
Isn't it possible to have the line ending inside quotes so that you break the query when str_replacing the line endings?
 [2007-06-29 05:55 UTC] cybot (Sebastian Mendel)
yes this is something i had in mind too, but: - we could save the original query and a second 'work' query - remember original line breaks i did not come to any conclusion now ... but possible you are right, and this should not be changed, but we should not like it was before repeat same code block twice or more often ...
 [2011-02-14 10:17 UTC] alan_k (Alan Knowles)
-Summary: unify line endings +Summary: CLARIFICATION NEEDED - unify line endings -Status: Open +Status: Analyzed
This needs clarification - the patch risks changing line breaks inside of strings (I'm not sure if that's valid in SQL) .. If someone can find a good reference, that the patch can be applied.