Skip to content
  • Bharathy Satish's avatar
    fd34446b
    Bug #19550875: SESSION STATE NOT SENT AS PART OF RESULT SETS WHEN · fd34446b
    Bharathy Satish authored
                         QUERY CACHE IS ON
    Problem:
    In case a session state exists do not cache the SELECT stmt. If we
    cache SELECT statment when session state information exists, then
    the result sets of this SELECT are cached which contains changed
    session information. Next time when same query is executed when there
    is no change in session state, then result sets are picked from cache
    which is wrong as the result sets picked from cache have changed
    state information.
    Fix:
    Fix is to not cache the SELECT query when there exists a session state.
    fd34446b
    Bug #19550875: SESSION STATE NOT SENT AS PART OF RESULT SETS WHEN
    Bharathy Satish authored
                         QUERY CACHE IS ON
    Problem:
    In case a session state exists do not cache the SELECT stmt. If we
    cache SELECT statment when session state information exists, then
    the result sets of this SELECT are cached which contains changed
    session information. Next time when same query is executed when there
    is no change in session state, then result sets are picked from cache
    which is wrong as the result sets picked from cache have changed
    state information.
    Fix:
    Fix is to not cache the SELECT query when there exists a session state.
Loading