summaryrefslogtreecommitdiff
path: root/adodb.inc.php
diff options
context:
space:
mode:
authorDamien Regad <dregad@mantisbt.org>2023-03-12 18:54:31 +0100
committerDamien Regad <dregad@mantisbt.org>2023-03-17 22:55:29 +0100
commit2d1c5bff3075bf9b975dbdf2937e41de75a4dea9 (patch)
treebf0ffb3b4306ee3ee81ab0d8d610695b0f989246 /adodb.inc.php
parentd085fc8de14065d11b2183b2a48eeafe3f1d3fe4 (diff)
downloadadodb-2d1c5bff3075bf9b975dbdf2937e41de75a4dea9.tar.gz
adodb-2d1c5bff3075bf9b975dbdf2937e41de75a4dea9.tar.bz2
adodb-2d1c5bff3075bf9b975dbdf2937e41de75a4dea9.zip
Define ADOConnection::$connectStmt
Adapt the few drivers that were previously using this property. Fixes dynamic properties deprecation in PHP 8.2 Based on original submission in PR #926
Diffstat (limited to 'adodb.inc.php')
-rw-r--r--adodb.inc.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/adodb.inc.php b/adodb.inc.php
index 39d6969b..ab1f5684 100644
--- a/adodb.inc.php
+++ b/adodb.inc.php
@@ -595,6 +595,10 @@ if (!defined('_ADODB_LAYER')) {
var $null2null = 'null'; // in autoexecute/getinsertsql/getupdatesql, this value will be converted to a null
var $bulkBind = false; // enable 2D Execute array
+
+ /** @var string SQL statement executed by some drivers after successful connection. */
+ public $connectStmt = '';
+
//
// PRIVATE VARS
//