]> granicus.if.org Git - php/commitdiff
add query information to the trace log
authorAndrey Hristov <andrey@php.net>
Tue, 6 Sep 2011 14:48:43 +0000 (14:48 +0000)
committerAndrey Hristov <andrey@php.net>
Tue, 6 Sep 2011 14:48:43 +0000 (14:48 +0000)
ext/mysqlnd/mysqlnd_ps.c

index e18e0aa3b41eabece183a9231efe07d161467069..c63fe9ffa87f02740edcd78e8674023091e9983f 100644 (file)
@@ -385,6 +385,7 @@ MYSQLND_METHOD(mysqlnd_stmt, prepare)(MYSQLND_STMT * const s, const char * const
                DBG_RETURN(FAIL);
        }
        DBG_INF_FMT("stmt=%lu", stmt->stmt_id);
+       DBG_INF_FMT("query=%s", query);
 
        SET_ERROR_AFF_ROWS(stmt);
        SET_ERROR_AFF_ROWS(stmt->conn);