sqlparse icon indicating copy to clipboard operation
sqlparse copied to clipboard

Fixed bad parsing of create table statements that use lower case

Open mrmasterplan opened this issue 4 years ago • 1 comments

there were missing upper() calls that messed up parsing of some of my create table statements. Try running the new test without and with my contribution and you will see the bad behavior.

Best,

Simon

mrmasterplan avatar Sep 19 '21 09:09 mrmasterplan

Seems related to issue #217 and #543. Both had issues with lowercase create table statements.

mrmasterplan avatar Sep 19 '21 13:09 mrmasterplan

wow! That slipped through for so long! Nice catch. Thank you!

andialbrecht avatar Aug 24 '22 19:08 andialbrecht

btw, #543 is a different topic. There the LIKE keyword has a different meaning in a DDL context.

andialbrecht avatar Aug 24 '22 19:08 andialbrecht