[fdo-trac] #560: MySQL: Handle embedded quotes in datastore description

FDO trac_fdo at osgeo.org
Fri Sep 25 14:17:20 EDT 2009


#560: MySQL: Handle embedded quotes in datastore description
-----------------------------+----------------------------------------------
   Reporter:  brentrobinson  |       Owner:  brentrobinson                            
       Type:  defect         |      Status:  new                                      
   Priority:  minor          |   Milestone:  3.5.0                                    
  Component:  FDO API        |     Version:  3.4.0                                    
   Severity:  3              |    Keywords:  Create Datastore Single Quote Description
External_id:                 |  
-----------------------------+----------------------------------------------
 If a datastore is created with an embedded single quote in the
 description, a SQL error is generated since the quote is mistaken for the
 string delimiter.

 The fix is to escape the single quotes when the description is formatted
 into the corresponding SQL statement.

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/560>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list