Subject: | placeholder parsing assumes single-quote field delims |
DBD::ASAny 1.13
ActivePerl 5.8.1 (build 807)
WinXP Pro, SP1
SQL Anywhere 9.0 (EBF 1252)
For our current use, we need to delimit field values using double-quotes, not single-quotes, so I have set the Quoted_identifier database option to "Off". Now when preparsing my insert statements, I receive the error "Cannot handle unordered ':numeric' placeholders" when certain text fields contain time values.
Minimal database and statement to reproduce:
create database egbug ( egtext varchar(50) not null )
insert into egbug ( egtext ) values ( "2004-01-27 14:35:22 - log this" )
I have locally modified dbdimp.sqc line 350 from
if( *src == '\'' ) {
to
if( *src == '\'' || *src == '\"' ) {
in order to get up and running, but I doubt it's a good general solution; I just happen to know that we don't plan to use placeholders in this product.
Thanks,
Paul Goracke