-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

- From the online docs:
"The string in from is encoded to an escaped SQL string, taking into 
account the current character set of the connection."

Lets say I have a connection, setup, working, then it timesout (server 
side, ex. because of "wait_timeout" setting).

When the connection is timed out, if I do mysql_real_escape_string() on it 
what should happen ? Fail ? Crash ?

My question is does mysql_real_escape_string() really needs an active 
connection every time its called or can it use data in "MYSQL*" struct 
stored from a previous active connection ?

Thanks

- ----------------------------
Mihai RUSU                                    Email: [EMAIL PROTECTED]
GPG : http://dizzy.roedu.net/dizzy-gpg.txt    WWW: http://dizzy.roedu.net
                       "Linux is obsolete" -- AST
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/lp+sPZzOzrZY/1QRAiMwAJ4gzGvJJn2nBHePIMmMoNVZQOcATQCgjy2u
I1kTjwXmmyJzBWi+CvOQ3Rs=
=2oEd
-----END PGP SIGNATURE-----

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to