Comment 2 for bug 997230

Revision history for this message
Chris Hillery (ceejatec) wrote :

I'm tempted to call this "user error"... I agree it looks like it should work, but that assumption relies on file:read-text() materializing the file contents in memory. We don't want that, and I think we need to accept that Windows will make streaming difficult in this sense.

However, we SHOULD probably offer some function somewhere that would make it possible for a query author to do the right thing - some kind of "close" mechanism. It's possible that scoping $data in this query would be sufficient to solve this problem; Dennis, could you try that out?