updated adodb package to work with php 7.1
[openemr.git] / vendor / adodb / adodb-php / drivers / adodb-informix.inc.php
blob801451ea54aaeee68efb2554f5890804a0410fdf
1 <?php
2 /**
3 * @version v5.20.9 21-Dec-2016
4 * @copyright (c) 2000-2013 John Lim (jlim#natsoft.com). All rights reserved.
5 * @copyright (c) 2014 Damien Regad, Mark Newnham and the ADOdb community
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.
10 * Set tabs to 4 for best viewing.
12 * Latest version is available at http://php.weblogs.com
14 * Informix 9 driver that supports SELECT FIRST
18 // security - hide paths
19 if (!defined('ADODB_DIR')) die();
21 include_once(ADODB_DIR.'/drivers/adodb-informix72.inc.php');
23 class ADODB_informix extends ADODB_informix72 {
24 var $databaseType = "informix";
25 var $hasTop = 'FIRST';
26 var $ansiOuter = true;
28 function IfNull( $field, $ifNull )
30 return " NVL($field, $ifNull) "; // if Informix 9.X or 10.X
34 class ADORecordset_informix extends ADORecordset_informix72 {
35 var $databaseType = "informix";
37 function __construct($id,$mode=false)
39 parent::__construct($id,$mode);