bugfix: don't crash if nested transactions are enabled, and the first command issued is a start transaction
This commit is contained in:
@@ -201,7 +201,7 @@ class MeekroDB {
|
|||||||
$this->success_handler = $handler;
|
$this->success_handler = $handler;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function serverVersion() { return $this->server_info; }
|
public function serverVersion() { $this->get(); return $this->server_info; }
|
||||||
public function transactionDepth() { return $this->nested_transactions_count; }
|
public function transactionDepth() { return $this->nested_transactions_count; }
|
||||||
public function insertId() { return $this->insert_id; }
|
public function insertId() { return $this->insert_id; }
|
||||||
public function affectedRows() { return $this->affected_rows; }
|
public function affectedRows() { return $this->affected_rows; }
|
||||||
|
|||||||
Reference in New Issue
Block a user