From 75b369f25a7a5d6f28c4f05e75399bd11d36e3eb Mon Sep 17 00:00:00 2001 From: Brian Carlson Date: Sun, 23 Jan 2011 21:48:52 -0600 Subject: [PATCH] minor readability --- lib/query.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/query.js b/lib/query.js index 02ed2258..7ba272bb 100644 --- a/lib/query.js +++ b/lib/query.js @@ -121,8 +121,8 @@ p.submit = function(connection) { connection.removeListener('rowDescription', handleRowDescription); connection.removeListener('dataRow', handleDatarow); connection.removeListener('readyForQuery', onReadyForQuery); - connection.removeListener('error', onError); connection.removeListener('commandComplete', onCommandComplete); + connection.removeListener('error', onError); }; connection.on('rowDescription', handleRowDescription);