mysql_thread_init

Prototypes

my_bool mysql_thread_init(void);

Description

Initialise la bibliothèque du client My Sql pour une nouvelle tâche.

Toutes les tâches qui vont travailler avec My Sql doivent appeler mysql_thread_init avant d'appeler une autre Application Program Interface (API).

Le résultat est 0 en cas de succès.

Exemple

#include <mysql.h>

...
if (mysql_thread_init()) ...
mysql_thread_end();
...

Voir aussi

mysql_thread_end pour terminer la bibliothèque du client My Sql pour une tâche.