Frank Schmitt
Member²
Hi!
We're currently setting up a server for one of our customers, and our application which works flawlessly with Oracle 9.2 and 10.1 servers fails when using the Oracle fulltext index (intermedia).
Reproduce:
-- create dummy table on the database server
create table dummy_tab(
id integer,
clob1 clob,
clob2 clob
);
-- create indices on dummy_tab
create index dummy_tab_idx1 on dummy_tab(clob1)
indextype is ctxsys.context
create index dummy_tab_idx2 on dummy_tab(clob2)
indextype is ctxsys.context
-- issue query, using Direct Oracle Access
select
id
from
dummy_tab
where
(contains(clob1, :QueryTerm) > 0)
or
(contains(clob2, :QueryTerm) > 0)
This results in an ORA-00600: internal error.
The same query works fine when using other SQL query tools, so the bug seems to be DOA only.
The bug seems to ocurr only when combining two clauses with 'or'/'and' and the same bind variable - using only one clause or two clauses with different bind variables works fine.
Server: Oracle 10.2.0.1.0, Win XP SP2
Client: Delphi6, DOA 4.0.6.2, Win XP SP2
Do you have any ideas / suggestions / workarounds?
Thanks in advance & kind regards
Frank
We're currently setting up a server for one of our customers, and our application which works flawlessly with Oracle 9.2 and 10.1 servers fails when using the Oracle fulltext index (intermedia).
Reproduce:
-- create dummy table on the database server
create table dummy_tab(
id integer,
clob1 clob,
clob2 clob
);
-- create indices on dummy_tab
create index dummy_tab_idx1 on dummy_tab(clob1)
indextype is ctxsys.context
create index dummy_tab_idx2 on dummy_tab(clob2)
indextype is ctxsys.context
-- issue query, using Direct Oracle Access
select
id
from
dummy_tab
where
(contains(clob1, :QueryTerm) > 0)
or
(contains(clob2, :QueryTerm) > 0)
This results in an ORA-00600: internal error.
The same query works fine when using other SQL query tools, so the bug seems to be DOA only.
The bug seems to ocurr only when combining two clauses with 'or'/'and' and the same bind variable - using only one clause or two clauses with different bind variables works fine.
Server: Oracle 10.2.0.1.0, Win XP SP2
Client: Delphi6, DOA 4.0.6.2, Win XP SP2
Do you have any ideas / suggestions / workarounds?
Thanks in advance & kind regards
Frank