summaryrefslogtreecommitdiffstats
path: root/lib/MDB2/Driver/sqlite3.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MDB2/Driver/sqlite3.php')
-rw-r--r--lib/MDB2/Driver/sqlite3.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/MDB2/Driver/sqlite3.php b/lib/MDB2/Driver/sqlite3.php
index 9757e4faf94..c9e7170ac69 100644
--- a/lib/MDB2/Driver/sqlite3.php
+++ b/lib/MDB2/Driver/sqlite3.php
@@ -153,7 +153,7 @@ class MDB2_Driver_sqlite3 extends MDB2_Driver_Common
if($this->connection) {
return $this->connection->escapeString($text);
}else{
- return str_replace("'","''",$text);//TODO; more
+ return str_replace("'", "''", $text);//TODO; more
}
}
@@ -276,7 +276,7 @@ class MDB2_Driver_sqlite3 extends MDB2_Driver_Common
* @access public
* @since 2.1.1
*/
- function setTransactionIsolation($isolation,$options=array())
+ function setTransactionIsolation($isolation, $options=array())
{
$this->debug('Setting transaction isolation level', __FUNCTION__, array('is_manip' => true));
switch ($isolation) {
@@ -1142,9 +1142,9 @@ class MDB2_Statement_sqlite3 extends MDB2_Statement_Common
function bindValue($parameter, $value, $type = null) {
if($type) {
$type=$this->getParamType($type);
- $this->statement->bindValue($parameter,$value,$type);
+ $this->statement->bindValue($parameter, $value, $type);
}else{
- $this->statement->bindValue($parameter,$value);
+ $this->statement->bindValue($parameter, $value);
}
return MDB2_OK;
}
@@ -1165,9 +1165,9 @@ class MDB2_Statement_sqlite3 extends MDB2_Statement_Common
function bindParam($parameter, &$value, $type = null) {
if($type) {
$type=$this->getParamType($type);
- $this->statement->bindParam($parameter,$value,$type);
+ $this->statement->bindParam($parameter, $value, $type);
}else{
- $this->statement->bindParam($parameter,$value);
+ $this->statement->bindParam($parameter, $value);
}
return MDB2_OK;
}
@@ -1318,7 +1318,7 @@ class MDB2_Statement_sqlite3 extends MDB2_Statement_Common
}else{
$types=null;
}
- $err = $this->bindValueArray($values,$types);
+ $err = $this->bindValueArray($values, $types);
if (PEAR::isError($err)) {
return $this->db->raiseError(MDB2_ERROR, null, null,
'Binding Values failed with message: ' . $err->getMessage(), __FUNCTION__);