pingcap / parser

A MySQL Compatible SQL Parser
Apache License 2.0
1.41k stars 489 forks source link

two idential constant value #1194

Open fzhedu opened 3 years ago

fzhedu commented 3 years ago

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do? If possible, provide a recipe for reproducing the error. https://github.com/pingcap/parser/blob/1259befb7d7ef7bc799008486cba1180006be1b1/mysql/type.go#L67 https://github.com/pingcap/parser/blob/1259befb7d7ef7bc799008486cba1180006be1b1/mysql/type.go#L69

here 2 lines get the same value 1<<15

  1. What did you expect to see?

  2. What did you see instead?

  3. What version of TiDB SQL Parser are you using?