Documentation TYPO3 par Ameos |
00001 <?php 00002 00003 00004 /* 00005 V4.80 8 Mar 2006 (c) 2000-2006 John Lim (jlim@natsoft.com.my). All rights reserved. 00006 Released under both BSD license and Lesser GPL library license. 00007 Whenever there is any discrepancy between the two licenses, 00008 the BSD license will take precedence. 00009 Set tabs to 8. 00010 00011 */ 00012 00013 class ADODB_pdo_mssql extends ADODB_pdo { 00014 00015 var $hasTop = 'top'; 00016 var $sysDate = 'convert(datetime,convert(char,GetDate(),102),102)'; 00017 var $sysTimeStamp = 'GetDate()'; 00018 00019 00020 function _init($parentDriver) 00021 { 00022 00023 $parentDriver->hasTransactions = false; ## <<< BUG IN PDO mssql driver 00024 $parentDriver->_bindInputArray = false; 00025 $parentDriver->hasInsertID = true; 00026 } 00027 00028 function ServerInfo() 00029 { 00030 return ADOConnection::ServerInfo(); 00031 } 00032 00033 function SelectLimit($sql,$nrows=-1,$offset=-1,$inputarr=false,$secs2cache=0) 00034 { 00035 $ret = ADOConnection::SelectLimit($sql,$nrows,$offset,$inputarr,$secs2cache); 00036 return $ret; 00037 } 00038 00039 function MetaTables() 00040 { 00041 return false; 00042 } 00043 00044 function MetaColumns() 00045 { 00046 return false; 00047 } 00048 00049 } 00050 ?>