fluiddb 0.0.28 → 0.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|