You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Daniel John Debrunner (JIRA)" <de...@db.apache.org> on 2005/11/18 23:47:42 UTC

[jira] Updated: (DERBY-720) Calling SYSCS_INPLACE_COMPRESS_TABLE on a synonym or a temp table results in a NullPointerException

     [ http://issues.apache.org/jira/browse/DERBY-720?page=all ]

Daniel John Debrunner updated DERBY-720:
----------------------------------------

    Summary: Calling SYSCS_INPLACE_COMPRESS_TABLE on a synonym or a temp table results in a NullPointerException  (was: Calling SYSCS_INPLACE_COMPRESS_TABLE on a synonym results in a NullPointerException)

ij> autocommit off;
ij> declare global temporary table t2(c21 int) not logged;
0 rows inserted/updated/deleted
ij> insert into t2 values 2,3,4,5;
ERROR 42X05: Table 'T2' does not exist.
ij> insert into session.t2 values 2,3,4,5;
4 rows inserted/updated/deleted
ij> select * from session.t2;
C21
-----------
2
3
4
5

4 rows selected
ij> call SYSCS_UTIL.SYSCS_INPLACE_COMPRESS_TABLE('SESSION', 'T2', 1, 1, 1);
ERROR 38000: The exception 'java.lang.NullPointerException' was thrown while eva
luating an expression.
ERROR XJ001: Java exception: ': java.lang.NullPointerException'.

> Calling SYSCS_INPLACE_COMPRESS_TABLE on a synonym or a temp table results in a NullPointerException
> ---------------------------------------------------------------------------------------------------
>
>          Key: DERBY-720
>          URL: http://issues.apache.org/jira/browse/DERBY-720
>      Project: Derby
>         Type: Bug
>  Environment: sane mode
>     Reporter: Daniel John Debrunner

>
> ij> create synonym fred for barney;
> 0 rows inserted/updated/deleted
> WARNING 01522: The newly defined synonym 'FRED' resolved to the object 'APP.BARN
> EY' which is currently undefined.
> ij> call SYSCS_UTIL.SYSCS_INPLACE_COMPRESS_TABLE('APP', 'FRED', 1, 1, 1);
> ERROR 38000: The exception 'java.lang.NullPointerException' was thrown while eva
> luating an expression.
> ERROR XJ001: Java exception: ': java.lang.NullPointerException'.
> Also seems to occur if the table behind the synonym does exist.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira