Gary Pendergast wrote:
Hi folks,

I'm trying to to move CONCAT() and CONCAT_WS() to a plugin, but I'm encountering a weird problem in testing. CONCAT_WS seems to work correctly, except for when it's being used as part of a WHERE clause.

It's a bit hard to explain, if someone has some time to review, could you pull https://code.launchpad.net/~pento/drizzle/drizzle-string-functions , and run the main.str_func test case?

I've been staring at the code for ages, but I'm not quite sure where I should be looking to figure this one out.

Turns out that applying the fix for MySQL Bug #11469 worked in this case. Not sure why on Earth this behaviour suddenly occurred when you moved the function out into the module space outside the kernel, but the fix works :)

I've pushed the fix and a fix for the parser test case failure to a branch on LP:

http://code.launchpad.net/~jaypipes/drizzle/string-functions

To pull into your branch, just do:

cd $yourbranch
bzr merge lp:~jaypipes/drizzle/string-functions
bzr commit -m "Merge fix for func_str and parser test cases"
bzr push

Cheers!
Jay

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to