Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support high precision time in show processlist (I_S.processlist) #1084

Closed

Conversation

inikep
Copy link
Contributor

@inikep inikep commented Jan 10, 2020

Summary:
The time information from 'show processlist' and in information_schema.processlist is at the granularity of a second
This diff provides an override (system variable) to display the time at the granularity of a micro-second (e.g, 0.001234)
The variable is session settable

Reference patch: b840ad76249

fbshipit-source-id: 7d58e50

TO DO: Please re-record mysql-test/t/all_persisted_variables.test with
let $total_persistent_vars=XXX + 1; (a new variable).

Copy link

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hermanlee has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@inikep inikep force-pushed the FB8-high_precision_time branch from 4f6d98e to 4d7f90b Compare January 13, 2020 10:06
@facebook-github-bot
Copy link

@inikep has updated the pull request. Re-import the pull request

@inikep
Copy link
Contributor Author

inikep commented Jan 13, 2020

This PR was updated:

  • main.dd_is_compatibility_cs has been re-recorded

Copy link

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hermanlee has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@@ -4116,7 +4131,7 @@ ST_FIELD_INFO processlist_fields_info[] = {
{"HOST", HOST_AND_PORT_LENGTH - 1, MYSQL_TYPE_STRING, 0, 0, "Host", 0},
{"DB", NAME_CHAR_LEN, MYSQL_TYPE_STRING, 0, 1, "Db", 0},
{"COMMAND", 16, MYSQL_TYPE_STRING, 0, 0, "Command", 0},
{"TIME", 7, MYSQL_TYPE_LONG, 0, 0, "Time", 0},
{"TIME", MAX_DOUBLE_STR_LENGTH, MYSQL_TYPE_DOUBLE, 0, 0, "Time", 0},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any particular reason for double vs. decimal as per the original diff?

Copy link
Contributor Author

@inikep inikep Jan 15, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed some issues for 5.6:

  1. INFORMATION_SCHEMA.PROCESSLIST "TIME" column defined as int(7)
    (i.e. "display width = 7" assumes numbers up to 9999999) was replaced
    with decimal(9,6) which can address only numbers from -999.999999 to
    999.999999
  2. store_result_field_processlist() uses the double data type in
    5.6 to store time with
    protocol->store(my_timeval_to_double(&tm_delta), 6, &tmp_str);
    instead of protocol->store_decimal() that should be used for decimal(9,6)

I fixed these issues in my 8.0 port using:
'TIME' double NOT NULL DEFAULT '0' for INFORMATION_SCHEMA.PROCESSLIST

sql/sql_show.cc Outdated
else
table->field[5]->store(0, false);
table->field[5]->store((long)(time_delta / 1000000), false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this also be a double to match the schema of processlist_fields_info? However, this still seems to be interpreted correctly from my testing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have 2 cases it this patch. The first case is SHOW PROCESSLIST which calls mysqld_list_processes(). It works fine because a result field type is send along with data:

field_list.push_back(new Item_return_int("Time", 6, MYSQL_TYPE_DOUBLE));
table->field[5]->store((double)time_delta / 1000000);

and

field_list.push_back(field = new Item_return_int("Time", 7, MYSQL_TYPE_LONG));
table->field[5]->store((long)(time_delta / 1000000), false);

The second case is SELECT * FROM information_schema.processlist that calls Fill_process_list::operator().
In this case we send a double or a long which is not correct according to a definition of the TIME filed of INFORMATION_SCHEMA.PROCESSLIST.

Summary:
The time information from 'show processlist' and in information_schema.processlist is at the granularity of a second
This diff provides an override (system variable) to display the time at the granularity of a micro-second (e.g, 0.001234)
The variable is session settable

Reference patch: facebook@b840ad76249

fbshipit-source-id: 7d58e50
@inikep inikep force-pushed the FB8-high_precision_time branch from 4d7f90b to 2bcc5de Compare January 16, 2020 11:32
@facebook-github-bot
Copy link

@inikep has updated the pull request. Re-import the pull request

@inikep
Copy link
Contributor Author

inikep commented Jan 16, 2020

I updated the patch that TIME in INFORMATION_SCHEMA.PROCESSLIST is always double but with a different precision:

--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -2282,9 +2282,9 @@ class Fill_process_list : public Do_THD_Impl {
         my_timeval_to_micro_time(
             inspect_thd->query_start_timeval_trunc(DATETIME_MAX_DECIMALS));
     if (inspect_thd->variables.high_precision_processlist)
-      table->field[5]->store((double)time_delta / 1000000);
+      table->field[5]->store((double)time_delta / 1000000); // precision in microseconds
     else
-      table->field[5]->store((long)(time_delta / 1000000), false);
+      table->field[5]->store((double)(time_delta / 1000000)); // precision in seconds

Copy link

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hermanlee has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@hermanlee hermanlee closed this Jan 24, 2020
facebook-github-bot pushed a commit that referenced this pull request Jan 24, 2020
)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: b840ad76249

Pull Request resolved: #1084

Reviewed By: yizhang82

Differential Revision: D19357091

Pulled By: mzait

fbshipit-source-id: 2c42f8d
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 31, 2020
…cebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Reviewed By: yizhang82

Differential Revision: D19357091

Pulled By: mzait

fbshipit-source-id: 2c42f8d
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 31, 2020
…cebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Reviewed By: yizhang82

Differential Revision: D19357091

Pulled By: mzait

fbshipit-source-id: 2c42f8d
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Aug 3, 2020
…cebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Reviewed By: yizhang82

Differential Revision: D19357091

Pulled By: mzait

fbshipit-source-id: 2c42f8d
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Aug 10, 2020
…cebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Reviewed By: yizhang82

Differential Revision: D19357091

Pulled By: mzait

fbshipit-source-id: 2c42f8d
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Aug 10, 2020
…cebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Reviewed By: yizhang82

Differential Revision: D19357091

Pulled By: mzait

fbshipit-source-id: 2c42f8d
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Sep 7, 2020
…cebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Reviewed By: yizhang82

Differential Revision: D19357091

Pulled By: mzait

fbshipit-source-id: 2c42f8d
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Sep 9, 2020
…cebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Reviewed By: yizhang82

Differential Revision: D19357091

Pulled By: mzait

fbshipit-source-id: 2c42f8d
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Sep 9, 2020
…cebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Reviewed By: yizhang82

Differential Revision: D19357091

Pulled By: mzait

fbshipit-source-id: 2c42f8d
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Oct 5, 2020
…cebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Reviewed By: yizhang82

Differential Revision: D19357091

Pulled By: mzait

fbshipit-source-id: 2c42f8d
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Mar 11, 2021
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091 (facebook@fc8283e)

Pulled By: mzait

fbshipit-source-id: de5a1b3b891
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 28, 2021
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091 (facebook@fc8283e)

Pulled By: mzait

fbshipit-source-id: de5a1b3b891
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Sep 2, 2021
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091 (facebook@fc8283e)

Pulled By: mzait

fbshipit-source-id: de5a1b3b891
@inikep inikep deleted the FB8-high_precision_time branch January 10, 2022 11:27
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jan 17, 2022
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jan 17, 2022
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jun 19, 2023
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jun 23, 2023
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
hermanlee pushed a commit to hermanlee/mysql-5.6 that referenced this pull request Oct 3, 2023
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
hermanlee pushed a commit to hermanlee/mysql-5.6 that referenced this pull request Oct 18, 2023
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Apr 23, 2024
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Apr 23, 2024
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Apr 25, 2024
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 7, 2024
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 8, 2024
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 9, 2024
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 10, 2024
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 13, 2024
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 15, 2024
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 16, 2024
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 17, 2024
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 17, 2024
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 21, 2024
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 21, 2024
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 30, 2024
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jun 19, 2024
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jun 19, 2024
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jun 20, 2024
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jun 21, 2024
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jun 25, 2024
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 2, 2024
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 19, 2024
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 19, 2024
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jul 31, 2024
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Aug 2, 2024
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Aug 6, 2024
…cebook#1084) (facebook#1084)

Summary:
The time information from 'show processlist' and in
information_schema.processlist is at the granularity of a second.

This diff provides an override (system variable) to display the time at
the granularity of a micro-second (e.g, 0.001234).

The variable is session settable.

Reference patch: facebook@b840ad76249

Pull Request resolved: facebook#1084

Differential Revision: D19357091

Pulled By: mzait
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants