[DBTNG + simpletest] missing db_select()->temporary()

Created on 10 November 2008, over 15 years ago
Updated 26 June 2023, 12 months ago

Problem/Motivation

The 'DBTNG' introduced in 7.x was incomplete with regards to temporary table creation.

Proposed resolution

Allow temporary tables to be created through db_select().

Remaining tasks

User interface changes

None.

API changes

Marks db_query_temporary() as deprecated for 8.1.

Original report by @hswong3i β†’

Beside using db_query_range() directly, we can also use db_select()->range(); BTW, now we are missing db_select()->temporary() as it is not yet implemented, so db_query_temporary() is our only choice.

This patch add the new method db_select()->temporary(), which also coming with additional simpletest test case. Tested with MySQL + simpletest and pass.

Beta phase evaluation

<!--Uncomment the relevant rows for the issue. -->
✨ Feature request
Status

Closed: outdated

Version

11.0 πŸ”₯

Component
DatabaseΒ  β†’

Last updated 4 days ago

  • Maintained by
  • πŸ‡³πŸ‡±Netherlands @daffie
Created by

πŸ‡­πŸ‡°Hong Kong hswong3i

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

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.69.0 2024