Rephrase all usages of SELECT * FROM
We should strive to not use
SELECT * FROM
because it makes queries slower, take SELECT count(*) FROM
in that basket with you :)
Leave a comment
on 2010-12-24 12:48 *
By
(In revision:2325) [Branch 1.5] Removing * in SQL queries see #204
on 2010-12-24 12:55 *
By
Assigned to changed from petsagouris to -none-
Status changed from Accepted to New
on 2010-12-25 14:26 *
By nick_ramsay
By changing getPost() to only select the post id and original url, you don't have enough data to populate the Post object in the readPost() function. Click "Edit" on a post and you'll see 15 undefined properties caused by this change.