Broaden stream support for LOAD DATA LOCAL INFILE #7

Closed
WoozyG opened this Issue Sep 12, 2012 · 0 comments

Projects

None yet

2 participants

WoozyG commented Sep 12, 2012

The current implementation in DrizzleStatement and MySQLProtocol explicitly declares the input field (unnecessarily) as FileInputStream when there is no file based logic in the class. We need to wrap our inputs with custom filter stream wrappers to decrypt data on the fly. We need the declared type of the field and related methods to change to InputStream. If I used Maven or Git I'd include a patch, but I don't, and this is a trivial change, just using the proper parent class instead of the too specific subclass.

@krummas krummas closed this in 58a2bd6 Sep 14, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment