https://bugzilla.wikimedia.org/show_bug.cgi?id=32414

Reedy <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Reedy <[email protected]> 2011-12-11 19:01:19 UTC ---
This seems to depend on the value of $row->revlen...

Testing locally on trunk

<page>
<title>Blank</title>
<ns>0</ns>
<id>223</id>
<revision>
<id>326</id>
<timestamp>2011-12-11T18:54:49Z</timestamp>
<contributor>
<ip>192.168.0.17</ip>
</contributor>
<comment>noh</comment>
<text xml:space="preserve" bytes="0"/>
</revision>
</page>


mysql> select * from revision WHERE rev_id = 94010356;
+----------+----------+-------------+----------------------------------------------------+----------+---------------+----------------+----------------+-------------+---------+---------------+
| rev_id   | rev_page | rev_text_id | rev_comment                              
         | rev_user | rev_user_text | rev_timestamp  | rev_minor_edit |
rev_deleted | rev_len | rev_parent_id |
+----------+----------+-------------+----------------------------------------------------+----------+---------------+----------------+----------------+-------------+---------+---------------+
| 94010356 |    10129 |     6754686 | Hob den Schutz von
„[[Diskussion:Sylvia]]“ auf |    10276 | APPER         | 20110924151739 |      
       1 |           0 |    NULL |      94010347 |
+----------+----------+-------------+----------------------------------------------------+----------+---------------+----------------+----------------+-------------+---------+---------------+
1 row in set (0.00 sec)


Said db row on dewiki


mysql> select * from revision WHERE rev_id = 94010356;
+----------+----------+-------------+----------------------------------------------------+----------+---------------+----------------+----------------+-------------+---------+---------------+
| rev_id   | rev_page | rev_text_id | rev_comment                              
         | rev_user | rev_user_text | rev_timestamp  | rev_minor_edit |
rev_deleted | rev_len | rev_parent_id |
+----------+----------+-------------+----------------------------------------------------+----------+---------------+----------------+----------------+-------------+---------+---------------+
| 94010356 |    10129 |     6754686 | Hob den Schutz von
„[[Diskussion:Sylvia]]“ auf |    10276 | APPER         | 20110924151739 |      
       1 |           0 |    NULL |      94010347 |
+----------+----------+-------------+----------------------------------------------------+----------+---------------+----------------+----------------+-------------+---------+---------------+
1 row in set (0.00 sec)


Pushing null through intval seems to be enough


r105816

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to