[Solar-svn] Revision 3228

pmjones at solarphp.com pmjones at solarphp.com
Wed Jul 2 08:42:40 CDT 2008


Solar_Sql_Adapter: [CHG] Method _quoteName() no longer quotes '*' values.  Thanks, Antti Holvikari, for suggesting this.  However, note that _quoteNamesIn() still does not recognize 'table.*' ... still thinking about how to do that elegantly.


Modified: trunk/Solar/Sql/Adapter.php
===================================================================
--- trunk/Solar/Sql/Adapter.php	2008-06-30 14:22:41 UTC (rev 3227)
+++ trunk/Solar/Sql/Adapter.php	2008-07-02 13:42:40 UTC (rev 3228)
@@ -1424,7 +1424,9 @@
     protected function _quoteName($name)
     {
         $name = trim($name);
-        if ($name) {
+        if ($name == '*') {
+            return $name;
+        } else {
             return $this->_ident_quote_prefix
                  . $name
                  . $this->_ident_quote_suffix;




More information about the Solar-svn mailing list