Make WordPress Core

Ticket #43664: 43664.test.diff

File 43664.test.diff, 437 bytes (added by soulseekah, 6 years ago)

tests

  • tests/phpunit/tests/db.php

    diff --git tests/phpunit/tests/db.php tests/phpunit/tests/db.php
    index 5cfd3d4..ac349d5 100644
    class Tests_DB extends WP_UnitTestCase { 
    760760
    761761                        // @ticket 32763
    762762                        'SELECT ' . str_repeat( 'a', 10000 ) . " FROM (SELECT * FROM $table) as subquery",
     763
     764                        // @ticket 43664
     765                        "SELECT c AS 'a from b' FROM $table",
    763766                );
    764767
    765768                $querycount = count( $queries );