Broken support of $ in sql since 9.1.3!?
Posted: Fri 29 Nov 2013 11:19
Hi,
starting with 9.1.3 we have problems updating columns containing a dollar sign. We change the field value, but the field is missing in the update statement!
Problem seems to be located in parsing sql info, because the parser sees column name id$dollar as an expression and not as a field! When using a star instead of concrete names, it works as expected.
See changed code in CRParser.pas ll.759, it seems that handling of $ is missing!?
Update failing for Dataset using query:
use code like in a test application
Best regards,
Andre
starting with 9.1.3 we have problems updating columns containing a dollar sign. We change the field value, but the field is missing in the update statement!
Problem seems to be located in parsing sql info, because the parser sees column name id$dollar as an expression and not as a field! When using a star instead of concrete names, it works as expected.
See changed code in CRParser.pas ll.759, it seems that handling of $ is missing!?
Code: Select all
create table odac_error_test
(
id number,
id$dollar number,
text varchar2(50 char)
);
insert into odac_error_test values ( 1,1,'1234567890' );
Code: Select all
select
id$dollar
,id
from odac_error_test
Code: Select all
with OraQuery1, FieldByName('ID$DOLLAR') do
begin
Value := 1 + Value;
Post;
if CachedUpdates then ApplyUpdates();
end;
Andre