Skip to content

sqlite3 dml statement detection does not account for CTEs #81040

Closed
@coleifer

Description

@coleifer
BPO 36859
Nosy @berkerpeksag, @animalize, @tirkarthi, @coleifer, @erlend-aasland
PRs
  • bpo-36859: Use sqlite3_stmt_readonly API when possible to determine if statement is DML.K #13216
  • [WIP] gh-81040: use sqlite3_stmt_readonly() to detect DML statements #24492
  • Files
  • 36859.patch
  • 36859-2.patch: Working patch that retains backwards-compatibility.
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2019-05-08.23:08:24.384>
    labels = ['3.8', 'type-bug', 'library']
    title = 'sqlite3 dml statement detection does not account for CTEs'
    updated_at = <Date 2021-08-11.21:02:17.366>
    user = 'https://github.com/coleifer'

    bugs.python.org fields:

    activity = <Date 2021-08-11.21:02:17.366>
    actor = 'erlendaasland'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2019-05-08.23:08:24.384>
    creator = 'coleifer'
    dependencies = []
    files = ['48319', '48320']
    hgrepos = []
    issue_num = 36859
    keywords = ['patch']
    message_count = 9.0
    messages = ['341949', '341956', '341958', '341961', '341962', '386713', '386716', '386721', '399418']
    nosy_count = 5.0
    nosy_names = ['berker.peksag', 'malin', 'xtreak', 'coleifer', 'erlendaasland']
    pr_nums = ['13216', '24492']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue36859'
    versions = ['Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      Status

      Done

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions