Michiel Meeuwissen wrote:
Gerard van Enk <[EMAIL PROTECTED]> wrote:
Maybe ask the databasesearch project if they could implement it? Because
max is sometimes database specific.....
_of course_ the databasesearch project should at least make 'limit'
possible. But then still it is not in the database layer, so I foresee some
delay before a decent 'limit' is implemented. I think eduard's hack targets
at having _something_ in the mean time. Later, as I tried to point out, it
will loose much of its usefulness, but not all, because a jsp-designer can
still forget to put a max on the query and an absolute limitation will
still protect MMBase somewhat against this. Possibly this 'max query size'
configuration can then also be used to add the limit to the query if it is
missing, if that will prove to be sensible. Of course it would also be
completely feasible to implement that max query size = -1 = no limitation...
I dont' think the databasesearch project / new database layers will be
finished before 1.6 unless we delay its release even further, which I don't
think is a good idea. If the databasesearch project can be far enough to
make at least the 'limit' option possible reasonalby soon, then we could
consider waiting for it, but I think it is perhaps better to leave the new
query object away totally (at least the use of it), and finish it quitely
for 1.7 in stead of rushing things now.
I Agree with all of this :)
Gerard