summaryrefslogtreecommitdiff
path: root/framework/Data/Common
diff options
context:
space:
mode:
authortof <>2007-07-26 13:10:28 +0000
committertof <>2007-07-26 13:10:28 +0000
commiteb6f94c344a732650294ad80a9467c35b5b4ea51 (patch)
tree61ecbfb376069bb5062f3ca0d2e26ebf1c11aef3 /framework/Data/Common
parent7a6237851105059b29ec9293560621e9e2aeab11 (diff)
Add dblib driver support to connect MS SQL databases from a linux client (pdo_dblib)
Diffstat (limited to 'framework/Data/Common')
-rw-r--r--framework/Data/Common/TDbMetaData.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/Data/Common/TDbMetaData.php b/framework/Data/Common/TDbMetaData.php
index 59b644d2..660e65f0 100644
--- a/framework/Data/Common/TDbMetaData.php
+++ b/framework/Data/Common/TDbMetaData.php
@@ -64,7 +64,8 @@ abstract class TDbMetaData extends TComponent
case 'sqlite2': //sqlite 2
Prado::using('System.Data.Common.Sqlite.TSqliteMetaData');
return new TSqliteMetaData($conn);
- case 'mssql':
+ case 'mssql': // Mssql driver on windows hosts
+ case 'dblib': // dblib drivers on linux (and maybe others os) hosts
Prado::using('System.Data.Common.Mssql.TMssqlMetaData');
return new TMssqlMetaData($conn);
case 'oci':