Vergleich inc/db_sqlite.php - 1.6.0 - 1.6.14

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/license.php
*

 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/license.php
*

 * $Id: db_sqlite.php -1   $

 * $Id$

 */

class DB_SQLite

 */

class DB_SQLite

Zeile 174Zeile 174
			else
{
// SQLITE 3 supports ADD Alter statements

			else
{
// SQLITE 3 supports ADD Alter statements

				if(strtolower(substr(ltrim($string), 0, 3)) == 'add')

				if(strtolower(substr(ltrim($alterdefs), 0, 3)) == 'add')

				{
$query = $this->db->query($string);
}

				{
$query = $this->db->query($string);
}

Zeile 186Zeile 186
		}
else
{

		}
else
{

			$query = $this->db->query($string);













			try
{
$query = $this->db->query($string);
}
catch(PDOException $exception)
{
$error = array(
"message" => $exception->getMessage(),
"code" => $exception->getCode()
);

$this->error($error['message'], $error['code']);
}

		}

if($this->error_number($query) > 0 && !$hide_errors)

		}

if($this->error_number($query) > 0 && !$hide_errors)

Zeile 221Zeile 233
				"<td colspan=\"8\" style=\"background-color: #ccc;\"><strong>#".$this->query_count." - Select Query</strong></td>\n".
"</tr>\n".
"<tr>\n".

				"<td colspan=\"8\" style=\"background-color: #ccc;\"><strong>#".$this->query_count." - Select Query</strong></td>\n".
"</tr>\n".
"<tr>\n".

				"<td colspan=\"8\" style=\"background-color: #fefefe;\"><span style=\"font-family: Courier; font-size: 14px;\">".$string."</span></td>\n".

				"<td colspan=\"8\" style=\"background-color: #fefefe;\"><span style=\"font-family: Courier; font-size: 14px;\">".htmlspecialchars_uni($string)."</span></td>\n".

				"</tr>\n".
"<tr>\n".
"<td colspan=\"8\" style=\"background-color: #fff;\">Query Time: ".$qtime."</td>\n".

				"</tr>\n".
"<tr>\n".
"<td colspan=\"8\" style=\"background-color: #fff;\">Query Time: ".$qtime."</td>\n".