Issue Details (XML | Word | Printable)

Key: DERBY-180
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Andrew McIntyre
Reporter: George Baklarz
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Derby

XCL47 SQLState duplicated in messages_en.properties?

Created: 25/Mar/05 06:07 AM   Updated: 01/Jun/05 03:38 AM
Return to search
Component/s: SQL
Affects Version/s: 10.0.2.0
Fix Version/s: 10.1.1.0

Time Tracking:
Not Specified

File Attachments:
  Size
File Licensed for inclusion in ASF works DERBY-180.diff 2005-06-01 03:22 AM Andrew McIntyre 2 kB
Environment: Windows XP SP1 Professional

Resolution Date: 01/Jun/05 03:38 AM


 Description  « Hide
In the messages_en.properties file, there are two items that are similar:

XCL47.S=Use of ''{0}'' requires database to be upgraded from version {1} to version {2} or later.
XCL478.S=The requested function can not reference tables in SESSION schema.

SQLSTATEs are supposed to be 5 characters long. When I issue a CREATE VIEW on a SESSION table, I receive the proper error message:

ij> declare global temporary table x (a int) not logged;
0 rows inserted/updated/deleted
ij> create view z as (select * from session.x);
ERROR XCL47: The requested function can not reference tables in SESSION schema.

So, was XCL478 truncated to XCL47? Does this mean that if I tried to do something that invokes the other version of XCL47 that I will get the wrong message? I suspect one of the message numbers needs to be changed and that the SQL error be fixed to be 5 characters long instead of 6.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no subversion log entries for this issue yet.