note 76534 added to function.mysqli-rpl-query-type
| From: | technique-glamour at condenast dot fr | Date: | Thu, 19 Jul 2007 15:28:06 +0000 |
| Subject: | note 76534 added to function.mysqli-rpl-query-type | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-128728@lists.php.net to get a copy of this message | ||
WARNING : this function (or maybe the "enable_rpl_parse" function) randomly causes a
segfault into PHP.
We don't use this function anymore. Instead we check if the query contains the word
'SELECT' :
function query_type($query)
{
if ( stripos($query,'SELECT'))
return true;
return false;
}
----
Server IP: 217.174.196.197
Probable Submitter: 195.14.27.150
----
Manual Page -- http://www.php.net/manual/en/function.mysqli-rpl-query-type.php
Edit -- https://master.php.net/note/edit/76534
Del: integrated -- https://master.php.net/note/delete/76534/integrated
Del: useless -- https://master.php.net/note/delete/76534/useless
Del: bad code -- https://master.php.net/note/delete/76534/bad+code
Del: spam -- https://master.php.net/note/delete/76534/spam
Del: non-english -- https://master.php.net/note/delete/76534/non-english
Del: in docs -- https://master.php.net/note/delete/76534/in+docs
Del: other reasons-- https://master.php.net/note/delete/76534
Reject -- https://master.php.net/note/reject/76534
Search -- https://master.php.net/manage/user-notes.php