-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add LOCAL INFILE
support
#215
Conversation
9f99c07
to
d59f240
Compare
- Improve envelope codec for `SubsequenceClientMessage` - Add `LocalInfileRequest`/`LocalInfileResponse` for text protocol
d59f240
to
60765f8
Compare
Hi, @jchrys @JohnNiang In JDBC-MySQL, For example:
In my opinion, For example:
This prevents users from accidentally setting up unrestricted file access. Or we can make it the same as JDBC. Any ideas? |
I agree with your idea but would like to suggest a slightly different approach. What if we consider not supporting the I think that the property What are your thoughts on this? |
264c4bb
to
bd30369
Compare
src/main/java/io/asyncer/r2dbc/mysql/message/client/LocalInfileResponse.java
Outdated
Show resolved
Hide resolved
src/main/java/io/asyncer/r2dbc/mysql/internal/util/ReadCompletionHandler.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
4eccf5d
to
99b73c5
Compare
Motivation:
Add
LOCAL INFILE
support.See also #206 .
Modification:
SubsequenceClientMessage
LocalInfileRequest
/LocalInfileResponse
for text protocolLOCAL INFILE
support, and it should be a string to specify "safety path"Result:
Query
LOCAL INFILE
support.