Rusanov wrote :

>Hello, I'm use MaxDB Version: '7.5.00.05 Build 005-121-054-885' Windows 2000
>(WIN32)
>I have problem, my database crash

>I sent you the source DB function func1, creating
>which the crash is happeneing.


>CREATE DBFUNCTION func1

>RETURNS INT AS

>VAR summa INT;

>TRY

>SET summa = 10;


>CATCH

>IF $rc <> 100 THEN STOP ($rc, 'unexpected error');


>IF summa > 0 THEN RETURN summa / 2

>ELSE RETURN NULL;

We plan to release user defined functions with 7.5.01. In 7.5.00.05 they have already 
been implemented but
are not tested and contain many bugs. I recommend to refrain from using user defined 
functions until 7.5.01.
Besides the syntax has been changed slightly. The keyword DBFUNCTON has been 
substituted by FUNCTION:  

Regards,
Thomas

-- 
Thomas Anhaus
SAP DB, SAP Labs Berlin
[EMAIL PROTECTED]
http://www.sapdb.org/
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general



-- 
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to