• unknown's avatar
    Fix for BUG#5038 "Cannot disable LOAD DATA LOCAL INFILE from client" · 8ccdf248
    unknown authored
    (specific to 4.1): don't put CLIENT_LOCAL_FILES in
    CLIENT_CAPABILITIES; it would make mysql_options(CLIENT_LOCAL_FILES,0)
    have no effect.
    
    
    libmysql/client_settings.h:
      Don't enforce that we client have CLIENT_LOCAL_FILES;
      indeed this CLIENT_CAPABILITIES is used as minimum
      client options in mysql_real_connect(), which is *after*
      mysql_options(). Having CLIENT_LOCAL_FILES in
      CLIENT_CAPABILITIES defeats disabling it in mysql_options().
    8ccdf248
client_settings.h 2.74 KB