850fd1273a57d4645e524c2be42afe0282ae4ff4
[Packages/TYPO3.CMS.git] / typo3 / sysext / adodb / adodb / drivers / adodb-pdo_mssql.inc.php
1 <?php
2
3
4 /*
5 V4.81 3 May 2006 (c) 2000-2006 John Lim (jlim#natsoft.com.my). All rights reserved.
6 Released under both BSD license and Lesser GPL library license.
7 Whenever there is any discrepancy between the two licenses,
8 the BSD license will take precedence.
9 Set tabs to 8.
10
11 */
12
13 class ADODB_pdo_mssql extends ADODB_pdo {
14
15 var $hasTop = 'top';
16 var $sysDate = 'convert(datetime,convert(char,GetDate(),102),102)';
17 var $sysTimeStamp = 'GetDate()';
18
19
20 function _init($parentDriver)
21 {
22
23 $parentDriver->hasTransactions = false; ## <<< BUG IN PDO mssql driver
24 $parentDriver->_bindInputArray = false;
25 $parentDriver->hasInsertID = true;
26 }
27
28 function ServerInfo()
29 {
30 return ADOConnection::ServerInfo();
31 }
32
33 function SelectLimit($sql,$nrows=-1,$offset=-1,$inputarr=false,$secs2cache=0)
34 {
35 $ret = ADOConnection::SelectLimit($sql,$nrows,$offset,$inputarr,$secs2cache);
36 return $ret;
37 }
38
39 function MetaTables()
40 {
41 return false;
42 }
43
44 function MetaColumns()
45 {
46 return false;
47 }
48
49 }
50 ?>