Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
DB Access Module for MySQL User's Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

2.17 Callbacks

In the DB Access Module for MySQL, the database callbacks preEnvAllocate() and postEnvAllocate() are invoked during the construction of the RWDBDatabase object. The callback preEnvDestroy() is invoked while destroying the RWDBDatabase object. The connection callbacks are invoked with respect to the allocation, deallocation, connect and disconnect of the MySQL connection structure.

The DB Access Module for MySQL disconnects and deallocates the connection structure in a single vendor call mysql_close(). Hence both callbacks preDisconnect() and preConnDestroy() are invoked before the call to mysql_close(). Please refer to the DB Interface Module User's Guide for more information.



Previous fileTop of DocumentContentsNo linkNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and SourcePro, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.