Kaynağa Gözat

Fix raiseError call in the MDB2 sqlite3 driver

tags/v6.0.0alpha2
Robin Appelman 11 yıl önce
ebeveyn
işleme
7c1a4d2f57
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2
    2
      lib/MDB2/Driver/sqlite3.php

+ 2
- 2
lib/MDB2/Driver/sqlite3.php Dosyayı Görüntüle

@@ -892,10 +892,10 @@ class MDB2_Driver_sqlite3 extends MDB2_Driver_Common
$connection = $this->getConnection();
if (PEAR::isError($connection)) {
return $connection;
}
}
$statement =$this->connection->prepare($query);
if (!$statement) {
return $this->db->raiseError(MDB2_ERROR_NOT_FOUND, null, null,
return $this->raiseError(MDB2_ERROR_NOT_FOUND, null, null,
'unable to prepare statement: '.$query);
}


Loading…
İptal
Kaydet