Hi Tatiana,
On 7/17/09 2:32 AM, Tatiana A. Nurnberg wrote:
> #At file:///misc/mysql/forest/40281n/51-40281n/ based on
> revid:luis.soares@stripped
>
> 2978 Tatiana A. Nurnberg 2009-07-17
> Bug#40281, partitioning the general log table crashes the server
>
> We disallow the partitioning of a log table. You could however
> partition a table first, and then point logging to it. This is
> not only against the docs, it also crashes the server.
>
> We catch this case now.
> @ mysql-test/r/partition.result
> results for 40281
> @ mysql-test/t/partition.test
> test for 40281: show that trying to log to partitioned table fails rather
> to crash the server
> @ sql/ha_partition.cc
> Signal that we no longer support logging to partitioned tables,
> as per the docs.
> @ sql/sql_partition.cc
> Don't be so sure there even was an old SELECT.
> If there isn't, there's not only no point in going on here,
> it will also crash the server.
>
Why it crashes? What leads to this problem?