Index: t3lib/class.t3lib_db.php =================================================================== --- t3lib/class.t3lib_db.php (revision 6296) +++ t3lib/class.t3lib_db.php (working copy) @@ -780,10 +780,12 @@ * @param string Database name * @param string Query to execute * @return pointer Result pointer / DBAL object - * @deprecated since TYPO3 3.6 + * @deprecated since TYPO3 3.6, will be removed in TYPO3 4.5 * @see sql_query() */ function sql($db, $query) { + t3lib_div::logDeprecatedFunction(); + $res = mysql_query($query, $this->link); if ($this->debugOutput) { $this->debug('sql', $query);