1
1
Fork 0

Update dba.php

This commit is contained in:
miqrogroove 2018-06-22 07:34:27 -04:00 committed by GitHub
parent 150989ba99
commit c37a8cc661
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1299,8 +1299,7 @@ class dba {
$condition_string .= " AND ";
}
if (is_array($value)) {
/**
* Workaround for MySQL Bug #64791.
/* Workaround for MySQL Bug #64791.
* Never mix data types inside any IN() condition.
* In case of mixed types, cast all as string.
* Logic needs to be consistent with dba::p() data types.