void my_init(void)
      
Description
        my_init() initializes some
        global variables that MySQL needs. If you are using a
        thread-safe client library, it also calls
        mysql_thread_init() for this
        thread.
      
        It is necessary for my_init() to
        be called early in the initialization phase of a program's use
        of the MySQL library. However,
        my_init() is automatically
        called by mysql_init(),
        mysql_library_init(),
        mysql_server_init(), and
        mysql_connect(). If you ensure
        that your program invokes one of those functions before any
        other MySQL calls, there is no need to invoke
        my_init() explicitly.
      
        To access the prototype for
        my_init(), your program should
        include these header files:
      
#include <my_global.h> #include <my_sys.h>
Return Values
None.


User Comments
Add your own comment.