crash external firebird server is often to run a script containing a statement
"update or insert"
-------------------------------------------------------------------------------------------------
Key: CORE-4104
URL: http://tracker.firebirdsql.org/browse/CORE-4104
Project: Firebird Core
Issue Type: Bug
Components: Engine
Affects Versions: 2.5.2
Environment: Linux Ubuntu 10.04, Firebird 2.5.2 (Linux), windows
application over WINE(Windows XP mode)
Reporter: Otinov Andrey
CREATE OR ALTER PROCEDURE SPDUMPCONFIG
AS
DECLARE VARIABLE MASTER VARCHAR(15);
DECLARE VARIABLE SELF VARCHAR(15);
BEGIN
SELECT MASTER, SELF FROM CONFIG INTO :MASTER, :SELF;
EXECUTE STATEMENT '
EXECUTE BLOCK
AS
DECLARE VARIABLE MASTER VARCHAR(15);
DECLARE VARIABLE SELF VARCHAR(15);
...
BEGIN
FOR
EXECUTE STATEMENT ''
SELECT MASTER,SELF...
FROM CONFIG ''
ON EXTERNAL DATA SOURCE '''|| :SELF || '''||''/3050:PMRMK''
WITH COMMON TRANSACTION
AS USER ''SYSDBA'' PASSWORD ''masterkey''
INTO MASTER,:SELF... DO
BEGIN
UPDATE OR INSERT INTO CONFIG(MASTER,SELF...)
VALUES(:MASTER,:SELF...)
MATCHING(SELF);
SUSPEND;
END
END '
ON EXTERNAL DATA SOURCE :MASTER||'/3050:ACCEPTANCE'
WITH COMMON TRANSACTION
AS USER 'SYSDBA' PASSWORD 'masterkey';
WHEN ANY DO EXIT;
END
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel