Browse Source

cosmetics (remove empty list)

Anton Lebedevich 13 years ago
parent
commit
93df7eae3e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/pgsql_sock.erl

+ 2 - 2
src/pgsql_sock.erl

@@ -193,9 +193,9 @@ command({execute_batch, Batch}, State) ->
                   Typed_Parameters = lists:zip(Types, Parameters),
                   Typed_Parameters = lists:zip(Types, Parameters),
                   Bin1 = pgsql_wire:encode_parameters(Typed_Parameters),
                   Bin1 = pgsql_wire:encode_parameters(Typed_Parameters),
                   Bin2 = pgsql_wire:encode_formats(Columns),
                   Bin2 = pgsql_wire:encode_formats(Columns),
-                  [pgsql_wire:encode($B, ["", 0, StatementName, 0,
+                  [pgsql_wire:encode($B, [0, StatementName, 0,
                                           Bin1, Bin2]),
                                           Bin1, Bin2]),
-                   pgsql_wire:encode($E, ["", 0, <<0:?int32>>])]
+                   pgsql_wire:encode($E, [0, <<0:?int32>>])]
           end,
           end,
           Batch),
           Batch),
     Sync = pgsql_wire:encode($S, []),
     Sync = pgsql_wire:encode($S, []),