WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/27/2015 02:02:45 PM (5 years ago)
Author:
pento
Message:

WPDB: Sanity check that any strings being stored in the DB are not too long to store correctly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/db.php

    r31372 r32299  
    748748                'charset' => $expected_charset,
    749749                'ascii' => false,
     750                'length' => $wpdb->get_col_length( $wpdb->posts, 'post_content' ),
    750751            )
    751752        );
Note: See TracChangeset for help on using the changeset viewer.