verification for COUNT clause and VIEWs

This commit is contained in:
Marc Delisle
2006-01-25 15:29:17 +00:00
parent f74efc4361
commit bacb45368a

View File

@@ -473,6 +473,7 @@ else {
} else {
$count_what = '*';
}
// this one does not apply to VIEWs
$count_query = 'SELECT COUNT(' . $count_what . ') AS count';
}