Diff for Metafox/sql/updates/0.8.13/update.sql between version 1.4 and 1.5
| version 1.4, 2006/08/12 21:32:20 |
version 1.5, 2006/08/12 21:50:52 |
| Line 91 delete from ezin_messages where author l |
|
| Line 91 delete from ezin_messages where author l |
|
| -- |
-- |
| -- mysql> |
-- mysql> |
| |
|
| |
-- mysql> select a.id, a.message_count, count(*) cnt from ezin_articles a, ezin_messages m |
| |
-- where a.id = m.article_id group by a.id having a.message_count != cnt; |
| |
-- +-----+---------------+------+ |
| |
-- | id | message_count | cnt | |
| |
-- +-----+---------------+------+ |
| |
-- | 65 | 134 | 131 | |
| |
-- | 140 | 23 | 24 | |
| |
-- | 211 | 39 | 31 | |
| |
-- | 217 | 15 | 16 | |
| |
-- | 228 | 596 | 594 | |
| |
-- | 251 | 135 | 136 | |
| |
-- | 269 | 23 | 22 | |
| |
-- | 400 | 371 | 365 | |
| |
-- | 424 | 873 | 872 | |
| |
-- | 450 | 3181 | 3040 | |
| |
-- | 455 | 34171 | 509 | |
| |
-- +-----+---------------+------+ |
| |
-- 11 rows in set (0.18 sec) |
| |
-- |
| |
-- mysql> |
| |
|
| alter table ezin_articles modify bodytext longtext; |
alter table ezin_articles modify bodytext longtext; |
| update ezin_sections set lang = '' where lang is null; |
update ezin_sections set lang = '' where lang is null; |
| |
|
Platon Group <platon@platon.org> http://platon.org/
|
|