Browse Source

useless function

Anton Lebedevich 13 years ago
parent
commit
d8130e3f7f
1 changed files with 1 additions and 4 deletions
  1. 1 4
      test_src/pgsql_incremental.erl

+ 1 - 4
test_src/pgsql_incremental.erl

@@ -91,7 +91,7 @@ execute(C, S, N) ->
 
 execute(C, S, PortalName, N) ->
     Ref = ipgsql:execute(C, S, PortalName, N),
-    receive_extended_result(C, Ref).
+    receive_extended_result(C, Ref, []).
 
 execute_batch(C, Batch) ->
     Ref = ipgsql:execute_batch(C, Batch),
@@ -176,9 +176,6 @@ receive_result(C, Ref, Cols, Rows) ->
             throw({error, closed})
     end.
 
-receive_extended_result(C, Ref)->
-    receive_extended_result(C, Ref, []).
-
 receive_extended_result(C, Ref, Rows) ->
     receive
         {C, Ref, {data, Row}} ->