You can call the mysql_set_local_infile_default() function to set LOAD DATA LOCAL callback functions to the default values internally used by the C client library.
Syntax
void
mysql_set_local_infile_default(MYSQL *mysql);
Return values
None.
Errors
None.
Notes
If mysql_set_local_infile_handler() is not called or does not provide valid functions for each callback, the library automatically calls this function.