Hi Joro,
ok to push. It'd be nice to make this patch conforming to our coding
style.
Regards,
Sergey
On Tue, Oct 13, 2009 at 04:19:57PM +0000, Georgi Kodinov wrote:
> #At file:///home/kgeorge/mysql/work/B40877-5.1-bugteam/ based on
> revid:mattias.jonsson@stripped
>
> 3156 Georgi Kodinov 2009-10-13
> Bug #40877: multi statement execution fails in 5.1.30
>
> Implemented the server infrastructure for the fix:
>
> 1. Added a function LEX_STRING *thd_query_string(THD) to return
> a LEX_STRING structure instead of char *.
> This is the function that must be called in innodb instead of
> thd_query()
>
> 2. Did some encapsulation in THD : aggregated thd_query and
> thd_query_length into a LEX_STRING and made accessor and mutator
> methods for easy code updating.
>
> 3. Updated the server code to use the new methods where applicable.
...skip...
--
Sergey Vojtovich <svoj@stripped>
MySQL AB, Software Engineer
Izhevsk, Russia, www.mysql.com