[Gambas-user] MySQL Errors ...

Gareth Bult gareth at ...1689...
Tue Jun 5 18:48:15 CEST 2007


Can anyone tell me if there's an easy way to get the error number back from the MySQL driver ? 

Currently Error.Code seems to return -1 irrespective of the error experienced by the underlying driver ... 


(I need to be able to differentiate between a server disconnection and an update failure, without having to text scan the error text ...) 


Gareth Bult, Encryptec Limited 
Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 
Email: gareth at ...1689... 
Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. 

More information about the User mailing list