fluiddb 0.0.28 → 0.0.29
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/FluidDb/Pgsql.rb +1 -6
- metadata +1 -1
data/lib/FluidDb/Pgsql.rb
CHANGED
@@ -103,12 +103,7 @@ module FluidDb
|
|
103
103
|
sql = sql + "$#{idx+1}" if idx < parts.length - 1
|
104
104
|
end
|
105
105
|
|
106
|
-
|
107
|
-
params.each do |v|
|
108
|
-
p << Hash["value", v.to_s, "type", v.class.name, "format", 0]
|
109
|
-
end
|
110
|
-
|
111
|
-
r = @connection.exec_params( sql, p );
|
106
|
+
r = @connection.exec_params( sql, params );
|
112
107
|
|
113
108
|
if !expected_affected_rows.nil? and
|
114
109
|
r.cmd_tuples != expected_affected_rows then
|