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

onli via php-blog-cvs <[email protected]> Mon, 23 Jun 2025 07:08:45 -0700
Newsgroups gmane.comp.serendipity.cvs
Message-ID <s9y/Serendipity/push/refs/heads/feature/internalCache/[email protected]>
  Branch: refs/heads/feature/internalCache
  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]>


  Commit: 95235c088c05cd76b06479bbb399b7ab99c69120
      https://github.com/s9y/Serendipity/commit/95235c088c05cd76b06479bbb399b7ab99c69120
  Author: Faster IT <[email protected]>
  Date:   2025-05-23 (Fri, 23 May 2025)

  Changed paths:
    M plugins/serendipity_event_spamblock/serendipity_event_spamblock.php

  Log Message:
  -----------
  Make entry_id unsigned in spamblocklog cast (#893)

Fixes: PHP Fatal error:  Uncaught mysqli_sql_exception:
Incorrect integer value: '' for column `serendipity`.`serendipity_spamblocklog`.`entry_id`


  Commit: f7119835e06c81feff22f1c52caad1c828bbfb57
      https://github.com/s9y/Serendipity/commit/f7119835e06c81feff22f1c52caad1c828bbfb57
  Author: onli <[email protected]>
  Date:   2025-05-23 (Fri, 23 May 2025)

  Changed paths:
    M docs/NEWS

  Log Message:
  -----------
  document 95235c0


  Commit: 617d503b6b4bead5dcc562d8ce40e11fc2217ed2
      https://github.com/s9y/Serendipity/commit/617d503b6b4bead5dcc562d8ce40e11fc2217ed2
  Author: onli <[email protected]>
  Date:   2025-05-23 (Fri, 23 May 2025)

  Changed paths:
    M bundled-libs/composer/autoload_real.php
    R bundled-libs/composer/autoload_real.php.orig
    M bundled-libs/composer/include_paths.php
    M bundled-libs/composer/installed.json
    M bundled-libs/composer/installed.php
    R bundled-libs/composer/installed.php.orig
    R bundled-libs/pear/net_url2/.gitignore
    R bundled-libs/pear/net_url2/.scrutinizer.yml
    R bundled-libs/pear/net_url2/.travis.yml
    M bundled-libs/pear/net_url2/Net/URL2.php
    M bundled-libs/pear/net_url2/README.md
    M bundled-libs/pear/net_url2/composer.json
    R bundled-libs/pear/net_url2/docs/6470.php
    R bundled-libs/pear/net_url2/docs/example.php
    R bundled-libs/pear/net_url2/package.xml
    R bundled-libs/pear/net_url2/phpunit.xml.dist
    R bundled-libs/pear/net_url2/tests/AllTests.php
    R bundled-libs/pear/net_url2/tests/Net/URL2Test.php
    M composer.lock

  Log Message:
  -----------
  Update netUrl to 2.2.3 (#892)

See https://github.com/s9y/Serendipity/issues/891


  Commit: 074dc4d8e0856e31c6e34a1a8020b970709d39d7
      https://github.com/s9y/Serendipity/commit/074dc4d8e0856e31c6e34a1a8020b970709d39d7
  Author: onli <[email protected]>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M bundled-libs/composer/autoload_real.php
    R bundled-libs/composer/autoload_real.php.orig
    M bundled-libs/composer/include_paths.php
    M bundled-libs/composer/installed.json
    M bundled-libs/composer/installed.php
    R bundled-libs/composer/installed.php.orig
    R bundled-libs/pear/net_url2/.gitignore
    R bundled-libs/pear/net_url2/.scrutinizer.yml
    R bundled-libs/pear/net_url2/.travis.yml
    M bundled-libs/pear/net_url2/Net/URL2.php
    M bundled-libs/pear/net_url2/README.md
    M bundled-libs/pear/net_url2/composer.json
    R bundled-libs/pear/net_url2/docs/6470.php
    R bundled-libs/pear/net_url2/docs/example.php
    R bundled-libs/pear/net_url2/package.xml
    R bundled-libs/pear/net_url2/phpunit.xml.dist
    R bundled-libs/pear/net_url2/tests/AllTests.php
    R bundled-libs/pear/net_url2/tests/Net/URL2Test.php
    M composer.lock
    M docs/NEWS
    M include/db/db.inc.php
    M plugins/serendipity_event_spamblock/serendipity_event_spamblock.php

  Log Message:
  -----------
  Merge branch 'master' into feature/internalCache


Compare: https://github.com/s9y/Serendipity/compare/dff8963e062a...074dc4d8e085

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