[wp-hackers] Should anybody help to me confirm a bug in wpdb?
haulyn at yahoo.com
Mon Oct 11 06:53:36 UTC 2010
I will test .
Location:Room 807,QiLuRuanJianDaSha Qilu Software Park
No. 1 Shunhua Rd High-Tech Development Zone
Jinan, China 250101
Mobile: +86 15854103759
From: Andrew Nacin <wp at andrewnacin.com>
To: wp-hackers at lists.automattic.com
Sent: Mon, October 11, 2010 2:50:15 PM
Subject: Re: [wp-hackers] Should anybody help to me confirm a bug in wpdb?
On Mon, Oct 11, 2010 at 2:35 AM, Haulyn Jason <haulyn at yahoo.com> wrote:
> I echo $data['pagination_rule']after the insert, echo $wpdb->last_query,
> I am sure $data['pagination_rule'] is validated, and the record stored. But
> value for column 'pagination_rule' has changed to '0'.
> Is it a bug? Or something others I missed?
You probably have an issue with your table structure that conflicts with the
data going in.
You can check $wpdb->queries (define the constant SAVEQUERIES as true in
wp-config.php) to see exactly the SQL that was run. Try running that
directly via the mysql console or something like phpMyAdmin, and I imagine
you will see the same issue.
wp-hackers mailing list
wp-hackers at lists.automattic.com
More information about the wp-hackers