Skip to content

Commit ea412a5

Browse files
committed
Fix
1 parent 5c12a67 commit ea412a5

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

sources/Sql/Dal/Show/ShowEnginesCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class ShowEnginesCommand extends Statement implements ShowCommand
1717

1818
public function serialize(Formatter $formatter): string
1919
{
20-
return 'SHOW ENGINES';
20+
return 'SHOW STORAGE ENGINES';
2121
}
2222

2323
}

tests/Mysql/Aliases.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ trait Aliases
106106
'kill connection' => 'kill',
107107
'kill query' => 'kill',
108108
'revoke all privileges' => 'revoke all',
109-
'show storage engines' => 'show engines',
109+
'show engines' => 'show storage engines',
110110
'xa begin' => 'xa start',
111111
'type btree' => 'using btree',
112112
'sqlstate value' => 'sqlstate',

tests/Parser/Dal/ShowCommandsParser.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ Assert::parseSerialize("SHOW ENGINE InnoDB MUTEX");
7777

7878

7979
// SHOW [STORAGE] ENGINES
80-
Assert::parseSerialize("SHOW ENGINES");
81-
Assert::parseSerialize("SHOW STORAGE ENGINES", "SHOW ENGINES"); // [STORAGE]
80+
Assert::parseSerialize("SHOW STORAGE ENGINES");
81+
Assert::parseSerialize("SHOW ENGINES", "SHOW STORAGE ENGINES"); // [STORAGE]
8282

8383

8484
// SHOW ERRORS [LIMIT [offset,] row_count]

0 commit comments

Comments
 (0)