|
|
@@ -636,6 +636,7 @@ EOF_STRUCT_MYSQL;
|
|
|
public function convertValueToSqlSafe($value, $xsdType = null) {
|
|
|
if ('NOW()' === $value) return 'NOW()';
|
|
|
else if (NULL === $value) return 'NULL';
|
|
|
+ else if ('GeomFromText' == substr($value, 0, strlen('GeomFromText'))) return $value;
|
|
|
else return $this->quote($value, PDO::PARAM_STR);// TODO: use $sqlSchema if set
|
|
|
}
|
|
|
|