Skip to content

sqlite3 dml statement detection does not account for CTEs#81040

@coleifer

Description

@coleifer
mannequin
BPO36859
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=Noneclosed_at=Nonecreated_at=<Date2019-05-08.23:08:24.384>labels= ['3.8', 'type-bug', 'library'] title='sqlite3 dml statement detection does not account for CTEs'updated_at=<Date2021-08-11.21:02:17.366>user='https://github.com/coleifer'

    bugs.python.org fields:

    activity=<Date2021-08-11.21:02:17.366>actor='erlendaasland'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Library (Lib)'] creation=<Date2019-05-08.23:08:24.384>creator='coleifer'dependencies= [] files= ['48319', '48320'] hgrepos= [] issue_num=36859keywords= ['patch'] message_count=9.0messages= ['341949', '341956', '341958', '341961', '341962', '386713', '386716', '386721', '399418'] nosy_count=5.0nosy_names= ['berker.peksag', 'malin', 'xtreak', 'coleifer', 'erlendaasland'] pr_nums= ['13216', '24492'] priority='normal'resolution=Nonestage='patch review'status='open'superseder=Nonetype='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