Bugs item #2842420, was opened at 2009-08-22 13:04 Message generated for change (Tracker Item Submitted) made by justinjohansson You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2842420&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: UPDATE replace statement crashes governor Initial Comment: File: test.xml <widget xmlns="http://ns1.com"> <colors xmlns="http://ns2.com"/> <description/> </widget> Term query/update script, fault.xq: (: Okay :) LOAD 'test.xml' 'test'& doc( 'test')& UPDATE replace $c in doc( 'test')/*/*[1] with (attribute background-color {'white'}, attribute foregound-color {'red'})& doc( 'test')& DROP DOCUMENT 'test'& (: Okay :) LOAD 'test.xml' 'test'& doc( 'test')& UPDATE replace $c in doc( 'test')/*/*[1] with (<background-color>white</background-color>, <foreground-color>red</foreground-color>)& doc( 'test')& DROP DOCUMENT 'test'& (: Fail :) LOAD 'test.xml' 'test'& doc( 'test')& UPDATE replace $c in doc( 'test')/*/*[1] with (attribute background-color {'white'}, <foreground-color>red</foreground-color>)& doc( 'test')& DROP DOCUMENT 'test'& Command line script: fault.bat se_gov -version 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 Result as per transcript below: ? se_gov -version Sedna Governor Version 3.2.58 ? se_gov GOVERNOR has been started in the background mode ? se_cdb testdb The database 'testdb' has been created successfully ? se_sm testdb SM has been started in the background mode ? se_term -name SYSTEM -pswd MANAGER -file fault.xq testdb Bulk load succeeded <?xml version="1.0" standalone="yes"?><widget xmlns="http://ns1.com"> <colors xmlns="http://ns2.com"/> <description/> </widget>UPDATE is executed successfully <?xml version="1.0" standalone="yes"?><widget xmlns="http://ns1.com" background-color="white" foregound-color="red"> <description/> </widget>UPDATE is executed successfully Bulk load succeeded <?xml version="1.0" standalone="yes"?><widget xmlns="http://ns1.com"> <colors xmlns="http://ns2.com"/> <description/> </widget>UPDATE is executed successfully <?xml version="1.0" standalone="yes"?><widget xmlns="http://ns1.com"> <background-color xmlns="">white</background-color> <foreground-color xmlns="">red</foreground-color> <description/> </widget>UPDATE is executed successfully Bulk load succeeded <?xml version="1.0" standalone="yes"?><widget xmlns="http://ns1.com"> <colors xmlns="http://ns2.com"/> <description/> </widget>SEDNA Message: ERROR SE3007 Failed to receive a message. Details: Connection was broken while executing statement SEDNA Message: ERROR SE3007 Failed to receive a message. Details: Connection was broken while executing statement SEDNA Message: ERROR SE3007 Failed to receive a message. Details: Connection was broken while executing statement ? se_smsd testdb SEDNA Message: FATAL ERROR in process [252] se_smsd testdb System error. This error means system malfunction. Details: SEDNA GOVERNOR is down ? se_ddb testdb The database 'testdb' has been dropped ? se_stop SEDNA Message: ERROR SE4400 SEDNA server is not running Details: Can't open governor shared memory Cheers Justin Johansson ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=713730&aid=2842420&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
