Merge pull request #24023 from woocommerce/fix/engine-php-notice

DB received `ENGINE` instead of `engine`, so PHP notices appear
This commit is contained in:
Gerhard Potgieter 2019-07-04 10:55:03 +02:00 committed by GitHub
commit c484fdd6d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -700,7 +700,7 @@ class WC_REST_System_Status_V2_Controller extends WC_REST_Controller {
$wpdb->prepare(
"SELECT
table_name AS 'name',
engine,
engine AS 'engine',
round( ( data_length / 1024 / 1024 ), 2 ) 'data',
round( ( index_length / 1024 / 1024 ), 2 ) 'index'
FROM information_schema.TABLES