Skip to content

Commit 5d5c1ce

Browse files
grooverdannikic
authored andcommitted
fix mysqli_stmt_get_result_metadata_fetch_field test for mariadb
MariaDB extended the default decimal field to 39 characters instead of MySQL's 31 characters. This small change allows the test to pass on MySQL and MariaDB. Closes GH-6484.
1 parent d386ed1 commit 5d5c1ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysqli/tests/mysqli_stmt_get_result_metadata_fetch_field.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,6 @@ object(stdClass)#%d (13) {
176176
["type"]=>
177177
int(253)
178178
["decimals"]=>
179-
int(31)
179+
int(3%d)
180180
}
181181
done!

0 commit comments

Comments
 (0)