[HyperDB] [Fwd: Hyper DB fix]

Dan Milward dan at instinct.co.nz
Sun Nov 2 22:07:40 GMT 2008

Hi Guys,

I'm just forwarding this on. We've been working on HyperDB and came 
across a lil bug... and here is the fixed file. Our comments are 
there... you can't miss it :)



I added ". '|ALTER TABLE(?:\s+ADD)?'  " to the Big pattern in 
get_table_from_query to make sure it can get the table name out of SQL 
queries like the following:

ALTER TABLE `wp_22_purchase_logs` ADD `find_us` varchar(255) NOT NULL

More information about the HyperDB mailing list