]> git.mxchange.org Git - mailer.git/blobdiff - inc/db/lib-mysql3.php
Deprecated templates/scripts removed
[mailer.git] / inc / db / lib-mysql3.php
index d7f8aa6c5802436dde681a88166b2aab84669d75..d14764c0762ddd2fc27706eeb799dd0c328c0d99 100644 (file)
@@ -136,15 +136,12 @@ function SQL_AFFECTEDROWS() {
 }
 
 // SQL fetch row
-function SQL_FETCHROW($result) {
-       // Init data
-       $DATA = array();
-
+function SQL_FETCHROW ($result) {
        // Is a result resource set?
        if (!is_resource($result)) return false;
 
-       $DATA = mysql_fetch_row($result);
-       return $DATA;
+       // Fetch the data and return it
+       return mysql_fetch_row($result);
 }
 
 // SQL fetch array
@@ -419,12 +416,12 @@ function SQL_ALTER_TABLE ($sql, $F, $L) {
                // Shall we run it?
                if (!$skip) {
                        // Send it to the SQL_QUERY() function
-                       /* DEBUG: */ print __LINE__.":".$sql."<br />\n";
+                       //* DEBUG: */ print __LINE__.":".$sql."<br />\n";
                        $result = SQL_QUERY($sql, $F, $L, false);
                } // END - if
        } else {
                // Other ALTER TABLE query
-               /* DEBUG: */ print __LINE__.":".$sql."<br />\n";
+               //* DEBUG: */ print __LINE__.":".$sql."<br />\n";
                $result = SQL_QUERY($sql, $F, $L, false);
        }