eee
This commit is contained in:
+4
-4
@@ -148,8 +148,7 @@ class Command extends Component
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$errorMsg = 'Max retry exceeded for SQL: ' . $this->sql;
|
return $this->getLogger()->logCategory('Max retry exceeded for SQL: ' . $this->sql, 'mysql');
|
||||||
return $this->getLogger()->logCategory($errorMsg, 'mysql');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -193,6 +192,8 @@ class Command extends Component
|
|||||||
$this->connection->release($client);
|
$this->connection->release($client);
|
||||||
return $prepare->rowCount();
|
return $prepare->rowCount();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var_dump($this->sql, $result);
|
||||||
|
|
||||||
$this->connection->release($client);
|
$this->connection->release($client);
|
||||||
return $result == 0 ? $prepare->rowCount() : (int)$result;
|
return $result == 0 ? $prepare->rowCount() : (int)$result;
|
||||||
@@ -213,8 +214,7 @@ class Command extends Component
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$errorMsg = 'Max retry exceeded for SQL: ' . $this->sql;
|
return $this->getLogger()->logCategory('Max retry exceeded for SQL: ' . $this->sql, 'mysql');
|
||||||
return $this->getLogger()->logCategory($errorMsg, 'mysql');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user