Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit acb5b56

Browse files
committed
Fix typo in new procedure name, ps_setup_disable_comsumers -> ps_setup_disable_consumers.
1 parent 3c9a136 commit acb5b56

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1442,7 +1442,7 @@ Requires the SUPER privilege for "SET sql_log_bin = 0;".
14421442

14431443
To disable all consumers:
14441444
```SQL
1445-
mysql> CALL sys.ps_setup_disable_comsumers('');
1445+
mysql> CALL sys.ps_setup_disable_consumers('');
14461446
+--------------------------+
14471447
| summary |
14481448
+--------------------------+
@@ -1453,7 +1453,7 @@ mysql> CALL sys.ps_setup_disable_comsumers('');
14531453

14541454
To disable just the event_stage consumers:
14551455
```SQL
1456-
mysql> CALL sys.ps_setup_disable_comsumers('stage');
1456+
mysql> CALL sys.ps_setup_disable_consumers('stage');
14571457
+------------------------+
14581458
| summary |
14591459
+------------------------+

procedures/ps_setup_disable_consumers.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
along with this program; if not, write to the Free Software
1414
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
1515

16-
DROP PROCEDURE IF EXISTS ps_setup_disable_comsumers;
16+
DROP PROCEDURE IF EXISTS ps_setup_disable_consumers;
1717

1818
DELIMITER $$
1919

20-
CREATE DEFINER='root'@'localhost' PROCEDURE ps_setup_disable_comsumers (
20+
CREATE DEFINER='root'@'localhost' PROCEDURE ps_setup_disable_consumers (
2121
IN consumer VARCHAR(128)
2222
)
2323
COMMENT '

procedures/ps_setup_enable_consumers.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
along with this program; if not, write to the Free Software
1414
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
1515

16-
DROP PROCEDURE IF EXISTS ps_setup_enable_instrument;
16+
DROP PROCEDURE IF EXISTS ps_setup_enable_consumers;
1717

1818
DELIMITER $$
1919

0 commit comments

Comments
 (0)