cvs: pear /MDB2 MDB2.php
| From: | Lorenzo Alberton | Date: | Wed, 27 Oct 2004 20:04:40 +0000 |
| Subject: | cvs: pear /MDB2 MDB2.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-25304@lists.php.net to get a copy of this message | ||
quipo Wed Oct 27 16:04:40 2004 EDT
Modified files:
/pear/MDB2 MDB2.php
Log:
added "SET" to isManip()
http://cvs.php.net/diff.php/pear/MDB2/MDB2.php?r1=1.53&r2=1.54&ty=u
Index: pear/MDB2/MDB2.php
diff -u pear/MDB2/MDB2.php:1.53 pear/MDB2/MDB2.php:1.54
--- pear/MDB2/MDB2.php:1.53 Wed Oct 27 15:12:54 2004
+++ pear/MDB2/MDB2.php Wed Oct 27 16:04:39 2004
@@ -43,7 +43,7 @@
// | Author: Lukas Smith <smith@backendmedia.com> |
// +----------------------------------------------------------------------+
//
-// $Id: MDB2.php,v 1.53 2004/10/27 19:12:54 lsmith Exp $
+// $Id: MDB2.php,v 1.54 2004/10/27 20:04:39 quipo Exp $
//
/**
@@ -545,7 +545,7 @@
function isManip($query)
{
$manips = 'INSERT|UPDATE|DELETE|LOAD DATA|'.'REPLACE|CREATE|DROP|'.
- 'ALTER|GRANT|REVOKE|'.'LOCK|UNLOCK';
+ 'ALTER|GRANT|REVOKE|SET|'.'LOCK|UNLOCK';
if (preg_match('/^\s*"?('.$manips.')\s+/i', $query)) {
return true;
}