[wp-trac] [WordPress Trac] #15158: wpdb insert & update with null values
WordPress Trac
noreply at wordpress.org
Fri Jan 17 15:40:22 UTC 2014
#15158: wpdb insert & update with null values
-------------------------+-----------------------------
Reporter: westi | Owner: sorich87
Type: enhancement | Status: reopened
Priority: normal | Milestone: Future Release
Component: Database | Version: 3.0.1
Severity: normal | Resolution:
Keywords: needs-patch |
-------------------------+-----------------------------
Comment (by arman.poghosyan):
OK, so other tests showed also that it doesn't work with UPDATE statements
either, e.g.
{{{
UPDATE `table_name` SET `var`=%s;
}}}
is replaced with
{{{
UPDATE `table_name` SET `var` NULL ;
}}}
it basically strips = sign
--
Ticket URL: <https://core.trac.wordpress.org/ticket/15158#comment:39>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list