Closed (fixed)
Project:
Provision
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Sep 2011 at 15:02 UTC
Updated:
12 Jun 2014 at 08:41 UTC
Jump to comment: Most recent
In provision/db/mysql/mysql_service.inc, there is a 'sed' on some MySQL data which can cause problems when migrating a site with views/triggers.
Attached a tiny patch to make that sed more tolerant to various MySQL versions.
i.e. my sqldump had:
/*!50017 DEFINER=`example`@`localhost`*/
And the sed regexp expected a space after the hostname:
/*!50017 DEFINER=`example`@`localhost` */
Noticed this on a MySQL server running 5.1.49-3~bpo50+1.
| Comment | File | Size | Author |
|---|---|---|---|
| provision-sed.patch | 1.2 KB | bgm |
Comments
Comment #1
bgm commentedComment #2
steven jones commentedThanks! Patch tested, and added.