[wp-trac] [WordPress Trac] #15158: wpdb insert & update with null values
WordPress Trac
noreply at wordpress.org
Thu Jan 3 10:50:16 UTC 2013
#15158: wpdb insert & update with null values
-------------------------+-----------------------------
Reporter: westi | Owner: sorich87
Type: enhancement | Status: accepted
Priority: normal | Milestone: Future Release
Component: Database | Version: 3.0.1
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+-----------------------------
Comment (by jbutkus):
Replying to [comment:23 miqrogroove]:
> Here are a couple of test cases to break your patch. If you can get the
bugs worked out, I'll take another look at it. :)
Thank you for pointing these out. :-)
That was rather trivial to get (solved in regexp), but would have bad
effects.
Please see [attachment:wpdb_prepare_null.15158.v2.patch new attachment]
for details.
And maybe you could explain, what would you check via ''is_null'' for not
being present? To check what vsprintf currently checks for?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15158#comment:25>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list