db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From V Narayanan <V.Naraya...@Sun.COM>
Subject [PATCH]derby-105 :drop table statement shows wrong message after dropping table
Date Thu, 21 Jul 2005 09:42:08 GMT
I am submitting a patch for the issue DERBY-105. The problem statement 
is the following.

O/P before patch

ij> create table temp(cv char(10));
0 rows inserted/updated/deleted <-- Wrong message
ij> drop table temp;
0 rows inserted/updated/deleted <-- Wrong message
ij>

the above commands result in the following o/p after the fix

ij> create table temp(cv char(10));
create executed
ij> drop table temp;
drop executed
ij>

The main modification is in the JDBCDisplayUtil.java in the 
org.apache.derby.tools package. I have modified the above class to parse 
the query find the type of statement and print the appropriate message. 
I have fixed the tests also that were failing because of the change. Pls 
send me your suggestions so that I can correct errors that I may have done.

thanx
V.Narayanan

Mime
View raw message