[OpenSIPS-Devel] [OpenSIPS/opensips] b39640: db_sqlite raw queries: Fix unnecessary lowercase r...

Liviu Chircu noreply at github.com
Thu Jun 13 09:05:04 UTC 2024


  Branch: refs/heads/3.5
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b3964047cc5ac628ac3e99a6f11abe4e343861a7
      https://github.com/OpenSIPS/opensips/commit/b3964047cc5ac628ac3e99a6f11abe4e343861a7
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M modules/db_sqlite/dbase.c
    M test/test_ut.c
    M ut.h

  Log Message:
  -----------
  db_sqlite raw queries: Fix unnecessary lowercase restriction

The code was searching for the " from " string chunk in the query but
in a case-sensitive manner (??), causing formatted queries (e.g. " FROM
") to fail.

Credits to Eric Tamme (@etamme) for spotting and reporting the issue

Fixes #3409

(cherry picked from commit 388d4faa99e1d1842d9510947020c3d11157aa2b)



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



More information about the Devel mailing list