summaryrefslogtreecommitdiff
path: root/include/mysql.h.pp
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2019-01-25 23:12:35 +0100
committerSergei Golubchik <serg@mariadb.org>2019-01-27 18:54:12 +0100
commit2175bfce3e9da8332f10ab0e0286dc93915533a2 (patch)
treeb45ab5e6be1ed5619c229202db5139d69b3cbc23 /include/mysql.h.pp
parent21f9037186f8a4bfb45486b9c28dd146e9df0e00 (diff)
downloadmariadb-git-2175bfce3e9da8332f10ab0e0286dc93915533a2.tar.gz
Crude "auto-load-data-local-infile" modemariadb-5.5.63
Disable LOAD DATA LOCAL INFILE suport by default and auto-enable it for the duration of one query, if the query string starts with the word "load". In all other cases the application should enable LOAD DATA LOCAL INFILE support explicitly.
Diffstat (limited to 'include/mysql.h.pp')
-rw-r--r--include/mysql.h.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mysql.h.pp b/include/mysql.h.pp
index 4f7407095c9..8bff18d7bb0 100644
--- a/include/mysql.h.pp
+++ b/include/mysql.h.pp
@@ -341,7 +341,7 @@ typedef struct st_mysql
my_bool free_me;
my_bool reconnect;
char scramble[20 +1];
- my_bool unused1;
+ my_bool auto_local_infile;
void *unused2, *unused3, *unused4, *unused5;
LIST *stmts;
const struct st_mysql_methods *methods;