note 102867 deleted from mysqli.get-warnings by danbrown

From: Date: Fri, 11 Mar 2011 14:38:06 +0000
Subject: note 102867 deleted from mysqli.get-warnings by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-177792@lists.php.net to get a copy of this message
Note Submitter: glen at delfi dot ee ---- several bugs and side effects worth to know: 1. you can't use this with multi queries as it will get either segfault or empty result: #54221 2. mysqli::get_warnings() is seemingly unusable: #44880 3. mysqli->insert_id will return zero after mysqli->get_warnings() #54190 4. no safe way to retrieve warnings #41402 so in short, as the way the function is implemented, you can only fetch warnings from last query you ran. and your states get lost that are in $mysqli object. (the bug ids are from http://bugs.php.net but i can't paste links here as system thinks i'm spamming dammit)

« previous php.notes (#177792) next »