File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ trait Explain
3939 /**
4040 * EXPLAIN provides information about statements.
4141 *
42- * @param string|null $option
42+ * @param string|null $option WARNING: This feature is MariaDB only. It is not compatible with MySQL.
4343 *
4444 * @see https://mariadb.com/docs/server/reference/sql-statements/administrative-sql-statements/analyze-and-explain-statements/explain
4545 *
Original file line number Diff line number Diff line change @@ -311,6 +311,9 @@ public function testExplain() : void
311311
312312 public function testExplainWithOption () : void
313313 {
314+ if (\getenv ('DB_IMAGE ' ) === 'mysql ' ) {
315+ $ this ->markTestSkipped ();
316+ }
314317 $ results = $ this ->select ->from ('t1 ' )->where ('c1 ' , '= ' , 1 )->explain (Select::EXP_EXTENDED );
315318 foreach ($ results as $ result ) {
316319 self ::assertInstanceOf (Explain::class, $ result );
You can’t perform that action at this time.
0 commit comments