summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--adodb-xmlschema03.inc.php2
-rw-r--r--docs/changelog.md1
2 files changed, 2 insertions, 1 deletions
diff --git a/adodb-xmlschema03.inc.php b/adodb-xmlschema03.inc.php
index c1ecb885..d8349683 100644
--- a/adodb-xmlschema03.inc.php
+++ b/adodb-xmlschema03.inc.php
@@ -506,7 +506,7 @@ class dbTable extends dbObject {
*/
function addTableOpt( $opt ) {
if(isset($this->currentPlatform)) {
- $this->opts[$this->parent->db->databaseType] = $opt;
+ $this->opts[$this->parent->db->dataProvider] = $opt;
}
return $this->opts;
}
diff --git a/docs/changelog.md b/docs/changelog.md
index 742f4e41..ff43117a 100644
--- a/docs/changelog.md
+++ b/docs/changelog.md
@@ -44,6 +44,7 @@ Older changelogs:
- sqlite: Fix Metataypes mapping. #177
- sqlite: driver did not support metaForeignKeys. #179
- session: add 'httponly' flag to cookie. #190
+- xml: support table 'opt' attribute with mysqli. #267
## 5.20.6 - 31-Aug-2016