]> git.mxchange.org Git - mailer.git/commit
Disallow subtraction on unsigned columns:
authorquix0r <quix0r@mxchange.org>
Sat, 30 Nov 2013 21:31:21 +0000 (21:31 +0000)
committerquix0r <quix0r@mxchange.org>
Sat, 30 Nov 2013 21:31:21 +0000 (21:31 +0000)
commita85719f860bc786bd05a37c880cb1ef02bbd07cc
tree506650f456355b05ff197acdeada18505243c9e8
parentb32d79d318f7aba5569a833c0d5a7a4656194e76
Disallow subtraction on unsigned columns:

When you use subtraction between integer values where one is of type
UNSIGNED, the result is unsigned unless the NO_UNSIGNED_SUBTRACTION SQL
mode is enabled. See Section 12.10, “Cast Functions and Operators”.
inc/db/lib-mysql3.php
inc/db/lib-mysqli.php