Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MaxDB - Everything about MaxDB, formerly known as SAP DB
MySQL++ - Programming with the C++ API to MySQL
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
mysql:it 's a db not a dbms how it 's possible?!
Does the binary log enabling affect the MySQL performances?
Strange behavior, Table Level Permission
FULLTEXT query format question
Preventing Duplicate Entries
Comparing and writing out BLOBS
Executing MySQL Commands From Within C Program
Can 't access mysql after kernel upgrade
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Downgrade Mysql from 4 to 3 23
MySQL Cluster Software
mysql test 4 1 fails with the gis test
ERROR 2002: Can 't connect to local MySQL server through socket
Getting Identity after INSERT
Update one field with more fields from another table
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
mysql have same function mthod as Oracle decode()
 
SET MAXERRORCOUNT problem with loadercli input file

SET MAXERRORCOUNT problem with loadercli input file

2007-01-15       - By Jo?l Reungoat

 Back
Reply:     1     2     3  

Hello,

"SET MAXERRORCOUNT xx" seems to have no effect in loadercli input file
(Used Maxdb version : 7.5)
Could somebody tell me if this is a known bug or if I incorrectly use an
option ?

Here is the sample script that I call with loadercli (without the option
-E) :
//Folowing command should be to allow to drop myProc without stopping on
error (but it has no effect !)
SET MAXERRORCOUNT 100
//
DROP DBPROC mySample
//Folowing command is then to force to stop at first error
SET MAXERRORCOUNT 1
//
CREATE DBPROC mySample  AS
BEGIN
SELECT * FROM domain.dbprocedures;
END;
//
CALL mySample
//

The script produces following report that mentions the SET MAXERRORCOUNT
100 is successfull but it has no effect because it stops at the first
encountered error. It does not when I use the option -E 100 with loadercli.

SET MAXERRORCOUNT 100
Successfully executed
DROP DBPROC mySample
Error during execution
-->-25010
SQL error -4016 = Unknown procedure name:MYSAMPLE (error position:
13[line: 1, col: 13])
Defined maximum number of errors (1) reached

Thank you for your help.
Joel

--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/maxdb?unsub=mysql@(protected)