From 7b9f0f7b7957e5d576274ae5bd2979c2005032c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Leroy?= Date: Tue, 25 Oct 2005 15:27:42 +0000 Subject: [PATCH] add mysqlt type for mysql in transactionnal mode with innodb tables --- phpgwapi/inc/class.egw_db.inc.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/phpgwapi/inc/class.egw_db.inc.php b/phpgwapi/inc/class.egw_db.inc.php index f26b49407c..29dc3a5073 100644 --- a/phpgwapi/inc/class.egw_db.inc.php +++ b/phpgwapi/inc/class.egw_db.inc.php @@ -238,6 +238,11 @@ $php_extension = 'odbc'; break; + case 'mysqlt': + $php_extension = 'mysql'; + if ($this->Port) $Host .= ':'.$this->Port; + break; + case 'mysqli': $this->Type = 'mysql'; // fall through