"fixed problem of perp working with sqlfs or links (use mysqlt driver instead of stock mysql one)"

This commit is contained in:
Ralf Becker 2008-04-18 08:42:11 +00:00
parent 92f16b2d7e
commit b86449d359

View File

@ -1269,6 +1269,10 @@ class sqlfs_stream_wrapper implements iface_stream_wrapper
switch($egw_db->Type)
{
case 'mysqlt':
$dsn = 'mysql:host='.$egw_db->Host.';dbname='.$egw_db->Database;
break;
default:
$dsn = $egw_db->Type.':host='.$egw_db->Host.';dbname='.$egw_db->Database;
break;