[MDEV-13521] Overwrite and delete outfiles Created: 2017-08-14 Updated: 2018-05-02 Resolved: 2018-05-02 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Server |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Minor |
| Reporter: | Richard Bensley | Assignee: | Sergei Golubchik |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Description |
|
This is a feature request. Can we please have the ability to overwrite an existing outfile, and/or delete an outfile that has been created. |
| Comments |
| Comment by Sergei Golubchik [ 2017-08-14 ] |
|
You can write a UDF (https://mariadb.com/kb/en/mariadb/creating-user-defined-functions/) that does it. Otherwise — the current limitation is very intentional, for security reasons, to limit the damage that someone with the FILE privilege can do to a host system. |
| Comment by Richard Bensley [ 2018-05-01 ] |
|
@serg, sorry for the late reply! Yes UDF is fine. Other than C I am playing with doing this in Go and Scheme. Please close. I shall find somewhere to post my results and findings. |