summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgodzilla80@gmx.net <>2009-03-17 21:39:58 +0000
committergodzilla80@gmx.net <>2009-03-17 21:39:58 +0000
commit0c89d5004461ab705af3c7d92c30aba20a1609cd (patch)
treeeeb0ae59749d4d537a0732f53b3e38fbf47bc074
parent6c40330f393d3a01128f6fbd27821368d62f368d (diff)
Fixed Issue #68: TSqlMapConfig::createSqlMapGateway(): assign current connection to cached TSqlMapManager to avoid loosing active transaction
-rw-r--r--HISTORY1
-rw-r--r--framework/Data/SqlMap/TSqlMapConfig.php3
2 files changed, 4 insertions, 0 deletions
diff --git a/HISTORY b/HISTORY
index 29bfd3cf..576b554d 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1,5 +1,6 @@
Version 3.1.5 (to be released)
BUG: URL wildcard patterns didn't work with subfolders
+BUG: Issue#68 - TSqlMapConfig::createSqlMapGateway(): assign current connection to cached TSqlMapManager to avoid loosing active transaction (Yves)
BUG: Issue#108 - clientscripts.php: prepending set_time_limit(0) call with an "@" to suppress PHP warning in safe mode (Yves)
BUG: Issue#87 - TinyMCE : empty string disapears after encoding JS, that's a problem! (Christophe)
BUG: Issue#96 - THttpResponse::redirect don't send status code (Christophe)
diff --git a/framework/Data/SqlMap/TSqlMapConfig.php b/framework/Data/SqlMap/TSqlMapConfig.php
index 98f2a844..cdf6b541 100644
--- a/framework/Data/SqlMap/TSqlMapConfig.php
+++ b/framework/Data/SqlMap/TSqlMapConfig.php
@@ -147,6 +147,9 @@ class TSqlMapConfig extends TDataSourceConfig
$this->cacheSqlMapManager($manager);
}
}
+ else {
+ $manager->setDbConnection($this->getDbConnection());
+ }
return $manager->getSqlmapGateway();
}