Segmentation fault with large result sets #67

Morgon opened this Issue Apr 30, 2012 · 0 comments


None yet
1 participant

Morgon commented Apr 30, 2012

It would appear that very large result sets (5 million rows) causes a segfault.

    .on('each', function(row, index, last) { console.log(row, index); })
    .select(["id", "name", "country"])
    .execute(function(err, rows) {
        if (err) {
            console.log('SQL ERR: ' + err);

If I have the limit in there, it works fast and just fine.
If I time the node process, it's almost exactly 10 seconds before it fails.

db-mysql 0.7.6
node 0.6.15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment