[PATCH] MySQL Escape String (another one)
Thomas Göttgens
thomas at ist.schuldig.de
Sat Aug 8 12:11:37 CEST 2009
Hello Alexander,
2 alternatives:
- judging by the gap between 1.4.1 and 1.4.3 we're at least another 6
to 12 months away from a new release, despite the tons of good new stuff
in CVS. According to http://www.mysql.com/about/legal/lifecycle/#calendar
4.0 is already out of extended support and 4.1 will be by the end of
the year. I'm +1 for requiring at least 4.1 if not 5.0 from the next
release onward.
- Another possibility would be to detect the server version from the
client lib and switch the use of escape/real_escape from that
information. The Kannel Admin status page does the detection of the
server version already, so if mysql is used in production with a
database, that information is available after the connect/bind. Of
course if the client lib is too old to provide real_escape to begin
with, this is purely an autoconf issue.
--
Best regards,
Thomas mailto:thomas at ist.schuldig.de
More information about the devel
mailing list