Advertisement
fyfe

0003-Fix-a-typo-in-pdoSqlite-driver-for-MDB2.patch

Dec 22nd, 2011
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.08 KB | None | 0 0
  1. From f2b30534269a70e0e1a943bddca586be63657de0 Mon Sep 17 00:00:00 2001
  2. From: Andrew Fyfe <andrew@neptune-one.net>
  3. Date: Thu, 22 Dec 2011 22:08:35 +0000
  4. Subject: [PATCH 3/5] Fix a typo in pdoSqlite driver for MDB2
  5.  
  6. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
  7. ---
  8. program/lib/MDB2/Driver/pdoSqlite.php |    2 +-
  9.  1 files changed, 1 insertions(+), 1 deletions(-)
  10.  
  11. diff --git a/program/lib/MDB2/Driver/pdoSqlite.php b/program/lib/MDB2/Driver/pdoSqlite.php
  12. index 1e86563..47f2bb8 100644
  13. --- a/program/lib/MDB2/Driver/pdoSqlite.php
  14. +++ b/program/lib/MDB2/Driver/pdoSqlite.php
  15. @@ -569,7 +569,7 @@ class MDB2_Driver_pdoSqlite extends MDB2_Driver_Common
  16.          } else {
  17.  //             do {
  18.  //              $result = @$function($query.';', $connection, SQLITE_BOTH, $php_errormsg)
  19. -                $result = $connection->query($query,';');
  20. +                $result = $connection->query($query.';');
  21.                  $php_errormsg = $connection->errorInfo();
  22.                  if ($php_errormsg[1] == 5) {
  23.                     foreach($connection->res as $key =>&$value){
  24. --
  25. 1.7.5.4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement