pike.git/
lib/
modules/
Sql.pmod/
sql_util.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2014-08-15
2014-08-15 20:21:17 by Martin Nilsson <nilsson@opera.com>
65340dad94929b9453d257da775e130a77c3cb6f (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
8.0
Less zero_type.
91:
string bind_name; do { bind_name = ":arg"+(a++);
-
} while (
!zero
_
type
(bindings
[
bind_name
]
));
+
} while (
has
_
index
(bindings
,
bind_name));
args[j]=bind_name; bindings[bind_name] = s; new_bindings = 1;
134:
function my_quote=(driver&&driver->quote?driver->quote:quote); v=map(values(bindings), lambda(mixed m) {
-
if(
zero_type
(m))
+
if(
undefinedp
(m))
return "NULL"; if (objectp (m) && m->is_val_null) // Note: Could need bug compatibility here - in some cases