[HyperDB] [Fwd: Hyper DB fix]

Dan Milward dan at instinct.co.nz
Sun Nov 2 22:36:03 GMT 2008


Actually it looks like the patched file may not have attached itself 
correctly. Just incase you can download the patched file from here:
http://s3.amazonaws.com/s3.getshopped.com/images/db.php.zip

Ciao,

Dan

Dan Milward wrote:
> 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 :)
>
> Ciao,
>
> Dan
>
> 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
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> HyperDB mailing list
> HyperDB at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/hyperdb
>   


More information about the HyperDB mailing list