MySQL 5.7 C API Developer Guide
void mysql_set_local_infile_default(MYSQL *mysql);
          Sets the LOAD DATA
          LOCAL callback functions to the defaults used
          internally by the C client library. The library calls this
          function automatically if
          mysql_set_local_infile_handler()
          has not been called or does not supply valid functions for
          each of its callbacks.