8000 Check for multiple statements in prepare · Issue #1147 · rusqlite/rusqlite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Check for multiple statements in prepare #1147
@thomcc

Description

@thomcc

Consider checking by default if someone does something like conn.prepare("<stmt 1>; <stmt 2>"). This will silently only run stmt 1, which is probably not what the user wants.

Right now, I believe we have some tail checking here, but I think it's only under extra-check feature. It also might be disabled then too. I think we should probably check this always, since I don't see a case where anybody wouldn't want this detected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0