![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Why may LIMIT only take a fixed number? Not even a user variable, let alone an expression.
Wouldn't it be useful to set a user session variable that always gets applied as an implicit limit value?
Both of these things could be done in Drizzle.
Wouldn't it be useful to set a user session variable that always gets applied as an implicit limit value?
Both of these things could be done in Drizzle.
no subject
Date: 2008-07-31 07:59 pm (UTC)no subject
Date: 2008-07-31 08:39 pm (UTC)SET SQL_SELECT_LIMIT = 1;
SELECT * FROM test.tbl;
no subject
Date: 2008-07-31 08:42 pm (UTC)no subject
Date: 2008-07-31 08:49 pm (UTC)no subject
Date: 2008-08-02 12:40 am (UTC)Sometime I need to sit down and just read all the system variables.