Index: openacs-4/packages/acs-bootstrap-installer/tcl/40-db-query-dispatcher-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-bootstrap-installer/tcl/40-db-query-dispatcher-procs.tcl,v diff -u -N -r1.27.2.3 -r1.27.2.4 --- openacs-4/packages/acs-bootstrap-installer/tcl/40-db-query-dispatcher-procs.tcl 16 Feb 2003 20:27:05 -0000 1.27.2.3 +++ openacs-4/packages/acs-bootstrap-installer/tcl/40-db-query-dispatcher-procs.tcl 5 Mar 2003 14:42:01 -0000 1.27.2.4 @@ -415,6 +415,7 @@ } else { db_qd_log Debug "NO FULLQUERY FOR $statement_name --> using default SQL" if { [empty_string_p $sql] } { + # The default SQL is empty, that implies a bug somewhere in the code. error "No fullquery for $statement_name and default SQL empty - query for statement missing" } } @@ -567,7 +568,7 @@ # Check if it's compatible at all! if {![db_rdbms_compatible_p [db_fullquery_get_rdbms $fullquery] [db_current_rdbms]]} { - db_qd_log Debug "Query [db_fullquery_get_name $fullquery] is *NOT* compatible" + ns_log Error "Query [db_fullquery_get_name $fullquery] is *NOT* compatible" return }