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

Marcin Cieślak <marcin.cies...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |normal

--- Comment #3 from Marcin Cieślak <marcin.cies...@gmail.com> 2012-03-11 
21:37:39 UTC ---
Can we check how much regression is this?

PostgreSQL allows NULL in cuc_page_id but does not allow 0 because of
constraint.

MySQL the reverse - allows 0 but it's NOT NULL.

We even explicitly insert zero in the new extension code, but I am not sure
what's coming via hooks. We are also using some other hooks (e.g. bug 19963 
fixed with r88258 as well as some new hooks), so probably it's best to detect
zero and covert it to NULL.

I would tend to change cuc_page_id to NULL on MySQL (yeah, on this means on
Wikimedia too) plus fix the code where necessary.

Is this okay with everyone?

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to