You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by fu...@apache.org on 2005/05/31 20:37:43 UTC

svn commit: r179260 - in /incubator/derby/code/trunk/java/engine/org/apache/derby: iapi/reference/SQLState.java loc/messages_en.properties

Author: fuzzylogic
Date: Tue May 31 11:37:43 2005
New Revision: 179260

URL: http://svn.apache.org/viewcvs?rev=179260&view=rev
Log:
Derby-180: Fix duplicated SQL state XCL47 by moving XCL478.S to new SQL state
XCL51.S.

Modified:
    incubator/derby/code/trunk/java/engine/org/apache/derby/iapi/reference/SQLState.java
    incubator/derby/code/trunk/java/engine/org/apache/derby/loc/messages_en.properties

Modified: incubator/derby/code/trunk/java/engine/org/apache/derby/iapi/reference/SQLState.java
URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/java/engine/org/apache/derby/iapi/reference/SQLState.java?rev=179260&r1=179259&r2=179260&view=diff
==============================================================================
--- incubator/derby/code/trunk/java/engine/org/apache/derby/iapi/reference/SQLState.java (original)
+++ incubator/derby/code/trunk/java/engine/org/apache/derby/iapi/reference/SQLState.java Tue May 31 11:37:43 2005
@@ -984,7 +984,7 @@
 	String LANG_TOO_MANY_PARAMETERS_FOR_STORED_PROC                    = "54023";
 
 	//following 1 does not match the DB2 sql state, it is a Cloudscape specific behavior which is not compatible with DB2
-	String LANG_OPERATION_NOT_ALLOWED_ON_SESSION_SCHEMA_TABLES = "XCL478.S";
+	String LANG_OPERATION_NOT_ALLOWED_ON_SESSION_SCHEMA_TABLES = "XCL51.S";
 
 	// org.apache.derby.impl.sql.execute.rts
 	String RTS_ATTACHED_TO											   = "43X00.U";

Modified: incubator/derby/code/trunk/java/engine/org/apache/derby/loc/messages_en.properties
URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/java/engine/org/apache/derby/loc/messages_en.properties?rev=179260&r1=179259&r2=179260&view=diff
==============================================================================
--- incubator/derby/code/trunk/java/engine/org/apache/derby/loc/messages_en.properties (original)
+++ incubator/derby/code/trunk/java/engine/org/apache/derby/loc/messages_en.properties Tue May 31 11:37:43 2005
@@ -688,8 +688,6 @@
 42Z92=repeatable read
 42Z9A=read uncommitted
 
-# Declare global temporary table language stuff. Does not match DB2, specific to Derby behavior
-XCL478.S=The requested function can not reference tables in SESSION schema.
 # Declare global temporary table language stuff. Matches DB2
 428EK=The qualifier for a declared global temporary table name must be SESSION.
 42995=The requested function does not apply to global temporary tables.
@@ -1008,6 +1006,7 @@
 XCL48.S= TRUNCATE TABLE is not permitted on ''{0}'' because unique/primary key constraints on this table are referenced by enabled foreign key constraints from other tables. 
 XCL49.S= TRUNCATE TABLE is not permitted on ''{0}'' because it has an enabled DELETE trigger ({1}).
 XCL50.S=Upgrade of Database from a previous version is not suported.  Database being accessed is at version level ''{0}'', this softare is at version level ''{1}''.
+XCL51.S=The requested function can not reference tables in SESSION schema.
 
 
 # Transaction states, matches DB2