felixge/node-mysql — pull request #668 by ayanamist (2013-12-04 05:59:43+00:00)
Title: Use stream to handle local file.

If we use `LOAD DATA LOCAL INFILE` with a large file, current implementation will load the full content into memory and send in one large packet, which waste memory and worsen network load.
We should use file stream provided by node.js and divide the file content into small packets.