[serendipity-cvs] [s9y/Serendipity] f5ea48: Fix integer cast error on MySQL (#895)

Mario Hommel via php-blog-cvs <[email protected]> Wed, 07 May 2025 12:53:18 -0700
Newsgroups gmane.comp.serendipity.cvs
Message-ID <s9y/Serendipity/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/s9y/Serendipity
  Commit: f5ea48824cee5b2f14decac2e892e6be390e44df
      https://github.com/s9y/Serendipity/commit/f5ea48824cee5b2f14decac2e892e6be390e44df
  Author: Mario Hommel <[email protected]>
  Date:   2025-05-07 (Wed, 07 May 2025)

  Changed paths:
    M docs/NEWS
    M include/db/db.inc.php

  Log Message:
  -----------
  Fix integer cast error on MySQL (#895)

* improve serendipity_db_cast to use cast as signed if dbType is mysqli.

* improve serendipity_db_cast to use cast as signed if backend is mysql

* document changes

* better coding structure

Co-authored-by: onli <[email protected]>

---------

Co-authored-by: onli <[email protected]>



To unsubscribe from these emails, change your notification settings at https://github.com/s9y/Serendipity/settings/notifications