diff options
author | Sergei Golubchik <serg@mariadb.org> | 2019-01-25 23:12:35 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-01-27 18:54:12 +0100 |
commit | 2175bfce3e9da8332f10ab0e0286dc93915533a2 (patch) | |
tree | b45ab5e6be1ed5619c229202db5139d69b3cbc23 /include/mysql.h | |
parent | 21f9037186f8a4bfb45486b9c28dd146e9df0e00 (diff) | |
download | mariadb-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')
-rw-r--r-- | include/mysql.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mysql.h b/include/mysql.h index 2f205ec6463..1ed6ffe67c8 100644 --- a/include/mysql.h +++ b/include/mysql.h @@ -274,7 +274,7 @@ typedef struct st_mysql /* session-wide random string */ char scramble[SCRAMBLE_LENGTH+1]; - my_bool unused1; + my_bool auto_local_infile; void *unused2, *unused3, *unused4, *unused5; LIST *stmts; /* list of all statements */ |