talltroym/cfwheels-dbmigrate-plugin — Issue #42: String values with more then one single quote aren't being escaped in generated SQL
Author: talltroym
Created: 2011-11-23 21:36:56+00:00
State: open
Labels: core, mysql

String values with more then one single quote aren't being escaped in generated SQL.

The following code sample produces this problem

addRecord(table="icds", code="766.1", changeindicator="", codestatus="C", shortdescription="HEAVY FOR DATE INFAN OT", mediumdescription="OTH HEAVY FOR DATES INFANTS", longdescription="OTHER 'HEAVY-FOR-DATES' INFANTS NOT RELATED TO GESTATION PERIOD",createdat="#Now()#",updatedat="#Now()#");