Commit Graph

38 Commits

Author SHA1 Message Date
Michal Čihař
c2fbfc148b Merge branch 'QA_4_6' 2017-01-20 16:25:34 +01:00
Michal Čihař
593f71dd23 Fixed filtering for active processes
There are dozen of process states when executing the query, we can't
filter just for one of them. Let's rather exclude those without state
and are idling.

See also http://dev.mysql.com/doc/refman/5.7/en/general-thread-states.html

Fixes #12732

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-01-20 16:24:34 +01:00
Patric Gustafsson
1bd5fe709d Merge remote-tracking branch 'upstream/master' 2016-11-15 18:08:24 +02:00
Michal Čihař
3546bed47e Avoid using mb_strlen for checking whether string is empty
Using strlen produces same results here, just way faster.

Fixes #12397

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-09-16 10:29:21 +02:00
Patric Gustafsson
c003970623 Remove odd CSS class logic from PHP file
Odd class is no longer need because background
coloring is now done with CSS pseudo-class.

Signed-off-by: Patric Gustafsson <patricjgustafsson@outlook.com>
2016-08-22 13:48:14 +03:00
Michal Čihař
dce94f229f More consistency for URL::getCommon
Now URL::getCommon always returns HTML encoded string, if you want
unencded one, use URL::getCommonRaw. This makes it easier to review the
code if uses correct variant.

Also I've fixed several wrong uses of the HTML encoded variant in
Location header.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-06-17 12:44:29 +02:00
Durgesh
0b64827930 Refactored url parmeters generating, Issue #11990
Signed-off-by: Durgesh <007durgesh219@gmail.com>
2016-02-22 14:36:41 +05:30
Madhura Jayaratne
439feae865 Merge branch 'QA_4_5' 2016-01-27 21:45:08 +11:00
Madhura Jayaratne
77922b22e4 fix #11881 Full processlist lost on refresh
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2016-01-27 21:40:20 +11:00
Michal Čihař
55b317c699 Remove /*overload*/ prefix from mb_* calls
I believe this was temporary flagging to see which code is migrated and
can be safely removed now.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-04 16:35:28 +01:00
Hugues Peccatte
8baf7c4a8a Update PHPDoc.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-12-11 23:21:54 +01:00
Hugues Peccatte
d2d0fc1263 Remove useless empty lines at beginning of files.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-10-27 18:56:40 +01:00
Hugues Peccatte
dffc8c34e9 Remove logic code in declaration files.
Move declaration out of logic file.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-10-27 18:56:39 +01:00
Hugues Peccatte
42169e0258 Fix merge.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-10 08:09:51 +02:00
Hugues Peccatte
42c0ebac85 Merge branch 'master' into useNamespaces_master 2015-09-09 22:05:00 +02:00
Madhura Jayaratne
d16bc93ff1 Remove Drizzle support from functionalities in server level
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-09-10 01:02:33 +10:00
Hugues Peccatte
0761fb1801 Rename classes files.
Rename classes.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:21 +02:00
Hugues Peccatte
f0ba28fc1d Set namespace on Advisor, Config, Console and Util classes.
Set namespace on DbQbe.
Set namespace to 'DbSearch'.
Split Advisor.class.php file.
Change Advisor namespace.
Rename DbQbe class and file.
Set namespace on DisplayResults.
Set namespace on Error.
Use namespace for ErrorHandler.
Add class autoloader.
Change ErrorHandler filename.
Remove some require.
Update Config namespace path.
Update PMA_Util to PMA\libraries\Util.
Rename Font and File classes files.
Use namespace for Footer.
Set namespace in all libraries classes.
Namespace OutputBuffering.
Export SubPartition.
Rename Partition file.
Namespace PDF.
Namespace RecentFavoriteTable.
Replace PMA_Response by Response and PMA_Message by Message.
Update uses and calls.
Fix unit tests.
Fix SqlParser autoload.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:22:52 +02:00
Hugues Peccatte
56c07e6f35 Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-07-25 22:51:02 +02:00
Madhura Jayaratne
74b9961e70 Merge branch 'QA_4_4' 2015-07-22 11:57:50 +05:30
Deven Bansod
cd34226d89 Fix unexpected behaviour
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2015-07-22 04:01:22 +05:30
Dan Ungureanu
91b97fadc2 Remove unneeded closing tags.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-19 00:18:38 +03:00
Atul Pratap Singh
4fa27d43a6 Merge commit 'd141619'
Conflicts:
	libraries/server_status_processes.lib.php

Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2015-07-13 13:40:20 +05:30
Deven Bansod
66ea438245 Fixed a small error
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2015-07-12 14:43:17 +05:30
Madhura Jayaratne
1ecbfd39c8 Allow filters for Drizzle as well
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-10 14:15:50 +05:30
Madhura Jayaratne
555199e755 rfe #1685 Improved processlist for mariadb
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-10 13:42:18 +05:30
Madhura Jayaratne
156d48890c Separate process list from auto refreshing
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-10 13:08:59 +05:30
Madhura Jayaratne
73e5e78b39 Make filters auto submit
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-05-04 07:15:26 +05:30
Madhura Jayaratne
76c7b8a8e5 Move auto refresh to the bottom of the page to have filters and process table next to each other
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-05-04 07:13:28 +05:30
Madhura Jayaratne
04f989269c Coding style fix - multi line if statements
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-04-27 17:50:30 +05:30
Marc Delisle
17c9592f3c Use standard backquote method
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-02-22 16:03:08 -05:00
Marc Delisle
d2de03ebbe Use shorter operator
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-02-22 15:58:25 -05:00
Deven Bansod
42d5a90f2f Add Filter to Process List | Feature #1606
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2015-02-22 22:52:47 +05:30
Chirayu Chiripal
ae4f983746 simplify and fix scrutinizer execution path notices
Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
2014-12-12 15:59:04 +05:30
Hugues Peccatte
48bd3b8ee5 Remove unused $pmaString.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-10-05 10:42:44 +02:00
Hugues Peccatte
3de88162ff Replace PMA_String uses by mb_* calls.
Remove part of unused  variables.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-28 20:53:01 +02:00
Hugues Peccatte
9b77d746ab Mass modifications to use PMA_String.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-06 10:44:03 +02:00
Chirayu Chiripal
32511719b1 RFE-1490 Dynamic process list
Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
2014-06-24 19:13:21 +05:30