pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/anse1/sqlsmith/pull/16

26552848.css" /> Added option flag to exclude certain statements by sdressler · Pull Request #16 · anse1/sqlsmith · GitHub
Skip to content

Added option flag to exclude certain statements#16

Open
sdressler wants to merge 1 commit intoanse1:masterfrom
sdressler:feature/exclude-statements
Open

Added option flag to exclude certain statements#16
sdressler wants to merge 1 commit intoanse1:masterfrom
sdressler:feature/exclude-statements

Conversation

@sdressler
Copy link

Great tool! As we are developing a PSQL DB plugin where certain statements are not supported, I wanted to exclude these. IMO my implementation is rather naive and I certainly can do better but I need to understand the code a bit more first. It currently focuses only on statements like UPDATE, DELETE, ...

I also took the liberty to switch the comparison to a lambda which increases maintainability IMO.

Potential improvements are:

  • Restrict to only possible choices, and
  • Change the lookup to a bitmask, haven't checked the impact on the query generation rate yet but I think it slows down.

@anse1
Copy link
Owner

anse1 commented Mar 15, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy