This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "quickfw".
The branch, master has been updated
via 5172fd695b2165311b25c8473cda62903b64b904 (commit)
from 12aae4200c4d4b7210bb7c3435a4039105c9a960 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 5172fd695b2165311b25c8473cda62903b64b904
Author: Ivan1986 <iva...@li...>
Date: Tue Apr 27 16:07:31 2010 +0400
поддержка подзапроса в идентификаторе
diff --git a/lib/DbSimple/Generic.php b/lib/DbSimple/Generic.php
index 8fbbcb8..6cad8cf 100644
--- a/lib/DbSimple/Generic.php
+++ b/lib/DbSimple/Generic.php
@@ -740,6 +740,8 @@ abstract class DbSimple_Generic_Database extends DbSimple_Generic_LastError
// Identifier.
if (!is_array($value))
{
+ if ($value instanceof DbSimple_SubQuery)
+ return $value->get($this->_placeholderNativeArgs);
if (substr($value, 0, 2) == '?_')
$value = $this->_identPrefix . substr($value, 2);
return $this->escape($value, true);
-----------------------------------------------------------------------
Summary of changes:
lib/DbSimple/Generic.php | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
hooks/post-receive
--
quickfw
|