Use db_select() in place of db_query() to work with Oracle DB driver.

Created on 18 April 2012, almost 13 years ago
Updated 27 February 2025, about 1 month ago

This patch is a follow on to the issue described in #1451198: PDO Exception for anonymous user when user Oracle database β†’ and #1451936: Binding parameter error with value 0 when using db_query β†’ .

This patch replaces all calls to db_query() with calls to db_select() as appropriate. Ideally, it would be nice to see this fixed in Oracle, but until it is, this patch should allow ACL to work in that environment.

Unfortunately, I wasn't able to get the tests to run locally, so apologies in advance if this results in a mess of errors.

πŸ’¬ Support request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada brianV

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024