Drupal 7: PHP fatal error 'Undefined class constant MYSQL

The problem is that I get unexpected behaviour in the way PDO/PDO_MySQL handles the MYSQL_ATTR_USE_BUFFERED_QUERY mode on the FreeBSD-platform. I have managed to write a small code that reproduces the problem. Unbuffered queries for large data sets: MYSQLI_USE_RESULT In this scenario, passing a special parameter to mysqli_query() causes it to execute the query and return a resource pointing to the result of the query while MySQL is still working, which means you can start reading before the query has finished. This is called an unbuffered query, and is triggered using the special query mode MYSQLI_USE_RESULT. Buffer | Definition of Buffer by Merriam-Webster

To iterate through the selected employees, we use buffered cursors. (A buffered cursor fetches and buffers the rows of a result set after executing a query; see Section 10.6.1, “cursor.MySQLCursorBuffered Class”.) This way, it is unnecessary to fetch the rows in a new variables.

Thoroughbred pedigree for Buffered, progeny, and female family reports from the Thoroughbred Horse Pedigree Query. Horse: Gens: Highlight: X-Factor: Chef List: Reports: Maintenance: Subscriptions: Help: Message Board: Horse: buffered : BUFFERED (USA) gr. M, 1976 {3-e} DP = 3-6-3-0 Buffer() M Function in Query Editor (Power BI) - Adatis The last query (and previous steps) were being evaluated multiple times. The M language is both functional and at times, lazy. In order to prevent the constant re-evaluation, buffer the list into memory. The final query output is shown below: Query Folding. We will implement the same requirements, but this time using Query Folding.

[SOLVED] PHP fatal error 'Undefined class constant MYSQL

PHP: Buffered and Unbuffered queries - Manual Buffered and Unbuffered queries. Queries are using the buffered mode by default. This means that query results are immediately transferred from the MySQL Server to PHP and then are kept in the memory of the PHP process. This allows additional operations like counting the number of rows, and moving (seeking) the current result pointer. MySQL :: MySQL PHP API :: 2.5.1 Buffered and Unbuffered