Closed fawkesley closed 4 years ago
when encryption was introduced in this commit it seems a regression was introduced for the unencrypted case
before (works):
$stmt->bind_param("ssi", $data, $mdate, $id);
after (fails):
$stmt->bind_param("sbi", $data, $mdate, $id);
from the docs we see that s means string and b means blob.
s
string
b
blob
note: it's not clear to me why mdate (array('type' => 'int(11)')) should be treated as a string, but that's how it was before, and I've tested that ssi works when sbi does not.
mdate
array('type' => 'int(11)')
ssi
sbi
when encryption was introduced in this commit it seems a regression was introduced for the unencrypted case
before (works):
after (fails):
from the docs we see that
s
meansstring
andb
meansblob
.note: it's not clear to me why
mdate
(array('type' => 'int(11)')
) should be treated as a string, but that's how it was before, and I've tested thatssi
works whensbi
does not.