BUG 12605257 : Specific Query Using Group By Invalidates Database With Assertion [optimize.c:/st_timesten_11.2.1/4:sbOpMatOneSub():9499]

(Doc ID 1329702.1)

Last updated on SEPTEMBER 23, 2016

Applies to:

Oracle TimesTen In-Memory Database - Version 11.2.1.6.6 to 11.2.1.8.3 [Release 11.2]
Information in this document applies to any platform.
This Note is of interest to all application developers and DBAs working with TimesTen.
***Checked for relevance on 05-Sep-2013***

Symptoms


<Bug:12605257> is a problem with the TimesTen optimizer which will cause a certain class of queries to fail and subsequently to cause data store invalidation.
The class of queries vulnerable to the bug have the following form:

select * from
(select <column_name> from <table_name>
group by <column_name> having count(*) > 1
order by <column_name> );


The query does not fail and generate an assertion if the final 'order by' clause is removed.

The assertion generated by the bug is similar to the following:

[optimize.c:/st_timesten_11.2.1/4:sbOpMatOneSub():9499]

Changes

This bug is present in all TimesTen releases from 11.2.1.6.0  through  11.2.1.8.3. 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms