Fix for BUG#5038 "Cannot disable LOAD DATA LOCAL INFILE from client"
(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().
Showing
Please register or sign in to comment