Not logged in
Log in now
Create an account
Subscribe to LWN
Recent Features
Pencil, Pencil, and Pencil
Dividing the Linux desktop
LWN.net Weekly Edition for June 13, 2013
A report from pgCon 2013
Little things that matter in language design
Why not use constants .... AND 0 < 78238923123 (your random tag) ?
And while you're at it, why not just make it a comment? I've used that before to make queries easily identifiable in SHOW PROCESSLIST: (in MySQL)
/* YourTag Function Name blabla */ SELECT * FROM blabla;
The comment has the extra advantage of not affecting the query cache at all (at least in MySQL).
Copyright © 2013, Eklektix, Inc. Comments and public postings are copyrighted by their creators. Linux is a registered trademark of Linus Torvalds