From 6854cb3f4d8219cf1829e32122eb2502a916eae9 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 1 Feb 2020 09:05:48 +0100 Subject: initial checkin --- .../adodb-php/drivers/adodb-ado_access.inc.php | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 vendor/adodb/adodb-php/drivers/adodb-ado_access.inc.php (limited to 'vendor/adodb/adodb-php/drivers/adodb-ado_access.inc.php') diff --git a/vendor/adodb/adodb-php/drivers/adodb-ado_access.inc.php b/vendor/adodb/adodb-php/drivers/adodb-ado_access.inc.php new file mode 100644 index 0000000..0e26499 --- /dev/null +++ b/vendor/adodb/adodb-php/drivers/adodb-ado_access.inc.php @@ -0,0 +1,50 @@ += 5) include(ADODB_DIR."/drivers/adodb-ado5.inc.php"); + else include(ADODB_DIR."/drivers/adodb-ado.inc.php"); +} + +class ADODB_ado_access extends ADODB_ado { + var $databaseType = 'ado_access'; + var $hasTop = 'top'; // support mssql SELECT TOP 10 * FROM TABLE + var $fmtDate = "#Y-m-d#"; + var $fmtTimeStamp = "#Y-m-d h:i:sA#";// note no comma + var $sysDate = "FORMAT(NOW,'yyyy-mm-dd')"; + var $sysTimeStamp = 'NOW'; + var $upperCase = 'ucase'; + + /*function BeginTrans() { return false;} + + function CommitTrans() { return false;} + + function RollbackTrans() { return false;}*/ + +} + + +class ADORecordSet_ado_access extends ADORecordSet_ado { + + var $databaseType = "ado_access"; + + function __construct($id,$mode=false) + { + return parent::__construct($id,$mode); + } +} -- cgit v1.2.3-70-g09d2