Re: [patch] Initialize schema_table->table_name before init() is called
On 18 Jul 2007, at 09:48, Vasil Dimov wrote:
> The following is somewhat cosmetic but it will allow to have one > init() > function for many INFORMATION SCHEMA plugins. That init() function may > check schema_table->table_name if it needs to do some > specific-to-the-concrete-table work. > > Currently ::table_name is initialized after the init() function is > called, so the init() function has no way to determine which > INFORMATION
> SCHEMA table it is initializing (correct me if I am wrong). > > Can someone apply the attached (harmless) patch to 5.1?
Agreed. Good catch. Thanks.
--
Chad Miller, Software Developer chad@mysql.com
MySQL Inc., www.mysql.com
Orlando, Florida, USA 13-20z, UTC-0400
Office: +1 408 213 6740 sip:6740@sip.mysql.com
Received on Wed Jul 18 12:14:49 2007
This archive was generated by hypermail 2.1.8
: Thu Aug 09 2007 - 19:06:18 EDT
|