On Mon, Apr 6, 2009 at 7:27 PM, Stewart Smith <[email protected]> wrote: > On Mon, Apr 06, 2009 at 12:03:15PM -0700, Eric Day wrote: >> Not sure if I agree here. I think a pre-parser plugin/module would >> be better than sticking this in the client library. > > What about post-parser? i.e. trap the parse error and then try > remapping. This way wouldn't affect the 99.99% of real queries. > > -- > Stewart Smith
This sounds like the best middle ground. I would hope this could also allow things like "int(10)" (and the rest of no longer applicable ddl) to be transformed into something useful. I don't know the source code well enough to comment intelligently about the difficultly of writing pre vs post, but it post sounds like a better option if it is not much more difficult to write... -- Rob Wultsch [email protected] _______________________________________________ Mailing list: https://launchpad.net/~drizzle-discuss Post to : [email protected] Unsubscribe : https://launchpad.net/~drizzle-discuss More help : https://help.launchpad.net/ListHelp

