Skip to content

Commit

Permalink
Minor fixes for raw query statement
Browse files Browse the repository at this point in the history
  • Loading branch information
turbo124 committed Sep 24, 2023
1 parent 6a55d12 commit 774c8bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Jobs/Database/Traits/StatusVariables.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ trait StatusVariables
public function getVariables()
{

$db = DB::select(DB::raw("SHOW STATUS"));
$db = DB::select("SHOW STATUS");

$obj = new \stdClass();

Expand All @@ -30,7 +30,7 @@ function ($item) use ($obj) {
public function getSlaveVariables()
{

$db = DB::select(DB::raw("SHOW SLAVE STATUS"));
$db = DB::select("SHOW SLAVE STATUS");

if (count($db) >= 1) {
return $db[0];
Expand Down

0 comments on commit 774c8bb

Please sign in to comment.