Skip to content

Commit

Permalink
Remove extended for mysql 8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
mbroersen authored Jul 12, 2021
1 parent f6e4ade commit 0172778
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Helper/QueryBuilderHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public static function analyzeByBuilder($builder)
public static function analyze($sql, $bindings)
{
$query = ['sql' => $sql, 'bindings' => $bindings];
$queryData = DB::connection()->select('EXPLAIN EXTENDED '. $sql, $bindings);
$queryData = DB::connection()->select('EXPLAIN '. $sql, $bindings);

//todo use
// $ws = DB::connection()->select("SHOW WARNINGS");
Expand Down Expand Up @@ -138,4 +138,4 @@ protected static function addBindingsToQueryByBuilder($builder): string
{
return self::combineQueryAndBindings($builder->toSql(), $builder->getBindings());
}
}
}

0 comments on commit 0172778

Please sign in to comment.