what about st. like
#define MYSQL_QUERY_BUFFERED 0
#define MYSQL_QUERY_UNBUFFERED 1
mysql_query( string query [, int link_identifier [, int mode ]])
mysql_db_query( string database , string query [, int link_identifier [, int mode ]])
with mode defaulting to MYSQL_BUFFERED?
so much for the issue of the namespace pollution...
At 01:26 7.5. 2001, Zeev Suraski wrote the following:
--------------------------------------------------------------
>At 02:16 7/5/2001, Wez Furlong wrote:
>>I've seen "mysql_unbuffered_query" mentioned a couple of times lately and I
>>thought that it would be useful for my current project.
>>However, I need the functionality of mysql_db_query, but working in
>>unbuffered mode.
>>I was about to produce a patch and noticed that the proto comments already
>>include an optional parameter that appears as if it were to be used for
>>this purpose, although it is not yet handled by the code.
>>
>>Should I create a patch that enables the parameter?
>>
>>It's just a case of defining the constants and passing it to the
>>"do_query_general" function, right?
>
>Probably... Are you sure you can't use mysql_unbuffered_query(), though? If you're
>really used to supplying the database argument, you can easily write a 2 line PHP
>function that does the same thing...
>
>Zeev
>
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
------end of quote------
[EMAIL PROTECTED]
-------------
And the eyes of them both were opened and they saw that their files
were world readable and writable, so they chmoded 600 their files.
- Book of Installation chapt 3 sec 7
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]