Bugs item #2839918, was opened at 2009-08-19 07:45
Message generated for change (Tracker Item Submitted) made by justinjohansson
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2839918&group_id=129076

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Query Execution
Group: Sedna (current)
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Justin Johansson (justinjohansson)
Assigned to: Nobody/Anonymous (nobody)
Summary: Sedna ERROR SE5100 - parameter limit exceeded

Initial Comment:
This bug relates to the topic bearing the same title that I posted on Sedna 
discussion last week.

5 .xqlib files, 1 .xq file and 1 .sh file shown below demonstrate the bug.
These are included in the attached compressed file for your convenience.

File: ns1.xqlib

xquery version "1.0";
module namespace ns1 = "http://ns1.com";;


File: ns2.xqlib

xquery version "1.0";
module namespace ns2 = "http://ns2.com";;

import module namespace ns1 = "http://ns1.com";;


File: ns3.xqlib

xquery version "1.0";
module namespace ns3 = "http://ns3.com";;

import module namespace ns2 = "http://ns2.com";;
(: *** uncomment the following line to manifest the bug :)
(: import module namespace ns5 = "http://ns5.com";; :)
import module namespace ns1 = "http://ns1.com";;


File: ns4.xqlib

xquery version "1.0";
module namespace ns4 = "http://ns4.com";;

import module namespace ns2 = "http://ns2.com";;
(: *** uncomment the following line to manifest the bug :)
(: import module namespace ns5 = "http://ns5.com";; :)
import module namespace ns1 = "http://ns1.com";;
import module namespace ns3 = "http://ns3.com";;

declare function ns4:hello() as item()*
{
  'Hello ns4'
};


File: ns5.xqlib

xquery version "1.0";
module namespace ns5 = "http://ns5.com";;

import module namespace ns2 = "http://ns2.com";;
import module namespace ns1 = "http://ns1.com";;


File: fault.xq

LOAD MODULE "ns1.xqlib"&
LOAD MODULE "ns2.xqlib"&
LOAD MODULE "ns5.xqlib"&
LOAD MODULE "ns3.xqlib"&
LOAD MODULE "ns4.xqlib"&

import module namespace ns4 = "http://ns4.com";;
ns4:hello()&


File: fault.sh

#!/bin/sh

se_gov
se_cdb testdb
se_sm testdb
se_term -name SYSTEM -pswd MANAGER -file fault.xq testdb
se_smsd testdb
se_ddb testdb
se_stop


Now run the fault script, fault.sh, with the lines indicated (***) in ns3.xqlib 
and ns4.xqlib commented out.
i.e. (note 1 line in each of these files)
(: import module namespace ns5 = "http://ns5.com";; :)
All is well as per transcript:

$ ./fault.sh 
GOVERNOR has been started in the background mode
Creating a data base (it can take a few minutes)...
The database 'testdb' has been created successfully
Starting database recovery or hot-backup restoration...
Database is in consistent state. Starting...
SM has been started in the background mode
Bulk load succeeded
Bulk load succeeded
Bulk load succeeded
Bulk load succeeded
Bulk load succeeded
Hello ns4The database 'testdb' has been successfully shut down
The database 'testdb' has been dropped
SEDNA server has been shut down successfully
$ 


Now uncomment the indicated line in BOTH files and run the fault script again 
to manifest the bug.

$ ./fault.sh 
GOVERNOR has been started in the background mode
Creating a data base (it can take a few minutes)...
The database 'testdb' has been created successfully
Starting database recovery or hot-backup restoration...
Database is in consistent state. Starting...
SM has been started in the background mode
Bulk load succeeded
Bulk load succeeded
Bulk load succeeded
Bulk load succeeded
Bulk load succeeded
SEDNA Message: ERROR SE5100
Error in Scheme part.
Details: parameter limit exceeded

The database 'testdb' has been successfully shut down
The database 'testdb' has been dropped
SEDNA server has been shut down successfully
$ 

Cheers
Justin Johansson


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2839918&group_id=129076

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to