các bác giúp đỡ em cái lỗi SQL này với ạ.

tuancuong

Private
Tham gia
06/09/2016
Bài viết
2
Được Like
1
Tình hình là khi em cài thêm add on Brivium thì site diễn dàn của em bị dỡ không hoạt động được. Tra log sql thì nó báo như dưới. Em nhờ các bác chỉ giùm em với ạ.


# User@Host: root[root] @ localhost [127.0.0.1] Id: 16492655
# Query_time: 685.640975 Lock_time: 0.000072 Rows_sent: 1 Rows_examined: 2481427
SET timestamp=1473257251;
SELECT user.*

FROM xf_user AS user
WHERE (user.username LIKE '%Huỳnh Toàn%')
ORDER BY user.username ASC
LIMIT 20;
# Time: 160907 21:07:34
# User@Host: root[root] @ localhost [127.0.0.1] Id: 16493588
# Query_time: 655.103759 Lock_time: 652.100038 Rows_sent: 1 Rows_examined: 1
SET timestamp=1473257254;
SELECT thread.*
,
user.gender, user.avatar_date, user.gravatar,
NULL AS thread_read_date,
0 AS thread_reply_banned,
0 AS thread_is_watched,
'' AS draft_message, NULL AS draft_extra
FROM xf_thread AS thread

LEFT JOIN xf_user AS user ON
(user.user_id = thread.user_id)
WHERE thread.thread_id = '335674';
 
  • Like
Reactions: THB

Hướng dẫn sử dụng

XenForo 1 XenForo 2
Translate by PVS

Dịch vụ XenForo của VNXF

Mr. Tuấn

Mobile/Zalo: 0988 488 096

Telegram: bluekpro

Email: [email protected]

Nhà Tài Trợ

Mút Xốp Không Gian
pallet Thịnh Phát
Top Bottom