Skip to content

Commit f46f1f0

Browse files
committed
fix
1 parent 90f3aa4 commit f46f1f0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/WP_SQLite_Driver_Metadata_Tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function testInformationSchemaTables() {
7171
"SELECT
7272
table_name as 'name',
7373
engine AS 'engine',
74-
FLOOR( data_length / 1024 / 1024 ) 'data'
74+
CAST( data_length / 1024 / 1024 AS UNSIGNED ) 'data'
7575
FROM INFORMATION_SCHEMA.TABLES
7676
WHERE TABLE_NAME = 't'
7777
ORDER BY name ASC"

tests/WP_SQLite_Metadata_Tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function testInformationSchemaTables() {
8989
"SELECT
9090
table_name as 'name',
9191
engine AS 'engine',
92-
FLOOR( data_length / 1024 / 1024 ) 'data'
92+
CAST( data_length / 1024 / 1024 AS UNSIGNED ) 'data'
9393
FROM INFORMATION_SCHEMA.TABLES
9494
WHERE TABLE_NAME = 'wp_posts'
9595
ORDER BY name ASC;"

0 commit comments

Comments
 (0)