+ if (!SQL_IS_LINK_UP()) {
+ // We should not quietly ignore this!
+ debug_report_bug(sprintf("Cannot query database: sqlString=%s,file=%s,line=%s",
+ $sqlString,
+ basename($F),
+ $L
+ ));
+
+ // Return 'false' because it has failed
+ return false;
+ } elseif (empty($sqlString)) {
+ // Empty SQL string!
+ debug_report_bug(sprintf("SQL string is empty. Please fix this. file=%s, line=%s",
+ basename($F),
+ $L
+ ));
+
+ // This is invalid, of course
+ return false;
+ }