projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
694405c
)
dev/core#1144 (NFC) Handle fact that MySQL 8 always returns the column name as it...
author
Seamus Lee
<seamuslee001@gmail.com>
Thu, 2 Jan 2020 02:34:44 +0000
(
02:34
+0000)
committer
Seamus Lee
<seamuslee001@gmail.com>
Thu, 2 Jan 2020 02:34:44 +0000
(
02:34
+0000)
Civi/Test/Schema.php
patch
|
blob
|
blame
|
history
diff --git
a/Civi/Test/Schema.php
b/Civi/Test/Schema.php
index b5a9aa525cab92cf6a11834b0f039357e613b545..40da4389a90a1f0ad42c80248903836730d71ece 100644
(file)
--- a/
Civi/Test/Schema.php
+++ b/
Civi/Test/Schema.php
@@
-27,7
+27,7
@@
class Schema {
$tables = $pdo->query($query);
$result = [];
foreach ($tables as $table) {
- $result[] = $table['table_name'];
+ $result[] =
isset($table['TABLE_NAME']) ? $table['TABLE_NAME'] :
$table['table_name'];
}
return $result;
}