pastebin - collaborative debugging tool
hn.kpaste.net RSS


Untitled
Posted by NotLim on Tue 12th Nov 2013 19:59
raw | new post

  1. root@octans [~]# mysql
  2. Welcome to the MySQL monitor.  Commands end with ; or \g.
  3. Your MySQL connection id is 912
  4. Server version: 5.5.32-cll MySQL Community Server (GPL)
  5.  
  6. Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
  7.  
  8. Oracle is a registered trademark of Oracle Corporation and/or its
  9. affiliates. Other names may be trademarks of their respective
  10. owners.
  11.  
  12. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
  13.  
  14. mysql> show full processlist;
  15. +-----+--------------+-----------+--------------+---------+------+----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------+
  16. | Id  | User         | Host      | db           | Command | Time | State                | Info                                                                                                                                             |
  17. +-----+--------------+-----------+--------------+---------+------+----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------+
  18. |   1 | leechprotect | localhost | leechprotect | Sleep   |  565 |                      | NULL                                                                                                                                             |
  19. | 862 | ag_user      | localhost | ag_portal    | Sleep   |   27 |                      | NULL                                                                                                                                             |
  20. | 864 | ag_user      | localhost | ag_portal    | Sleep   |   27 |                      | NULL                                                                                                                                             |
  21. | 891 | ag_user      | localhost | ag_portal    | Query   |    0 | Copying to tmp table | SELECT * FROM ag_category c LEFT JOIN ag_category_description cd ON (c.category_id = cd.category_id) LEFT JOIN ag_category_to_store c2s ON (c.cat|
  22. | 899 | ag_user      | localhost | ag_portal    | Sleep   |    0 |                      | NULL                                                                                                                                             |
  23. | 902 | ag_user      | localhost | ag_portal    | Sleep   |    0 |                      | NULL                                                                                                                                             |
  24. | 903 | ag_user      | localhost | ag_portal    | Sleep   |    0 |                      | NULL                                                                                                                                             |
  25. | 906 | ag_user      | localhost | ag_portal    | Sleep   |    0 |                      | NULL                                                                                                                                             |
  26. | 907 | ag_user      | localhost | ag_portal    | Sleep   |    0 |                      | NULL                                                                                                                                             |
  27. | 908 | ag_user      | localhost | ag_portal    | Query   |    0 | Sending data         | SELECT * FROM ag_category c
  28.                                         LEFT JOIN ag_category_description cd ON
  29.                                 (c.category_id = cd.category_id) LEFT JOIN ag_category_to_store c2s ON (c.category_id = c2s.category_id)
  30.                         WHERE c.parent_id = '310'
  31.                         AND
  32.                         (
  33.                                 select count(*) from ag_product_to_category ptc1 where ptc1.category_id = c.category_id
  34.                                 and
  35.                                 (
  36.                                         select count(*) from ag_product_to_category ptc2 where ptc2.product_id = ptc1.product_id
  37.                                         and ptc2.category_id = 1344
  38.                                         and
  39.                                         (
  40.                                                 select count(*) from ag_product p where p.product_id = ptc2.product_id and p.status = '1' and p.quantity > 2
  41.                                         )  > 0
  42.                                 ) > 0
  43.                         ) > 0
  44.                         AND cd.language_id = '1'
  45.                         AND c2s.store_id = '0'  
  46.                         AND c.status = '1'
  47.                         ORDER BY c.sort_order, LCASE(cd.name) |
  48. | 909 | ag_user      | localhost | ag_portal    | Sleep   |    6 |                      | NULL                                                                                                                                             |
  49. | 912 | root         | localhost | NULL         | Query   |    0 | NULL                 | show full processlist                                                                                                                            |
  50. | 913 | ag_user      | localhost | ag_portal    | Sleep   |    1 |                      | NULL                                                                                                                                             |
  51. | 914 | ag_user      | localhost | ag_portal    | Sleep   |    1 |                      | NULL                                                                                                                                             |
  52. | 915 | ag_user      | localhost | ag_portal    | Sleep   |    0 |                      | NULL                                                                                                                                             |
  53. +-----+--------------+-----------+--------------+---------+------+----------------------+--------------------------------------------------------------------------------------------------------------------------------------------------+
  54. 15 rows in set (0.01 sec)
  55.  
  56. mysql>

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at