Skip to content

Commit

Permalink
fix mysqli_stmt_get_result_metadata_fetch_field test for mariadb
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
grooverdan authored and nikic committed Dec 3, 2020
1 parent d386ed1 commit 5d5c1ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,6 @@ object(stdClass)#%d (13) {
["type"]=>
int(253)
["decimals"]=>
int(31)
int(3%d)
}
done!

0 comments on commit 5d5c1ce

Please sign in to comment.