mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-17 08:57:24 +00:00
23 lines
1.3 KiB
Plaintext
23 lines
1.3 KiB
Plaintext
|
|
# Query ID 0x95718954DB8B7620 at byte 0
|
|
# NOTE COL.001 SELECT *.
|
|
# CRIT JOI.001 Mixing comma and ANSI joins.
|
|
# CRIT JOI.002 A table is joined twice.
|
|
SELECT * FROM `wibble_chapter`
|
|
INNER JOIN `wibble_series` AS `wibble_chapter__series`
|
|
ON `wibble_chapter`.`series_id` = `wibble_chapter__series`.`id`,
|
|
`wibble_series`,
|
|
`auth_user`
|
|
WHERE ( `wibble_chapter`.`chapnum` = 63.0
|
|
AND `wibble_chapter`.`status` = 1
|
|
AND `wibble_chapter__series`.`title` = 'bibble' )
|
|
AND `wibble_chapter`.`series_id` = `wibble_series`.`id`
|
|
AND `wibble_series`.`poster_id` = `auth_user`.`id`
|
|
ORDER BY `wibble_chapter`.`create_time` DESC
|
|
LIMIT 1
|
|
|
|
# Profile
|
|
# Query ID NOTE WARN CRIT Item
|
|
# ================== ==== ==== ==== ==========================================
|
|
# 0x95718954DB8B7620 1 0 2 select * from `wibble_chapter` inner join `wibble_series` as `wibble_chapter__series` on `wibble_chapter`.`series_id` = `wibble_chapter__series`.`id`, `wibble_series`, `auth_user` where ( `wibble_chapter`.`chapnum` = ? and `wibble_chapter`.`status` = ? and `wibble_chapter__series`.`title` = ? ) and `wibble_chapter`.`series_id` = `wibble_series`.`id` and `wibble_series`.`poster_id` = `auth_user`.`id` order by `wibble_chapter`.`create_time` desc limit ?
|