1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-23 18:29:15 +03:00

Merge ColumnFull & Column

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
This commit is contained in:
Kamil Tekiela
2024-10-27 21:18:56 +00:00
parent b28b32e424
commit 6909ef45b3
35 changed files with 189 additions and 173 deletions

View File

@@ -133,7 +133,7 @@ class SqlQueryForm
*
* @param string $query query to display in the textarea
*
* @return array{string, string, ColumnFull[]}
* @return array{string, string, Column[]}
*/
public function init(string $query): array
{
@@ -167,7 +167,7 @@ class SqlQueryForm
// Get the list and number of fields
// we do a try_query here, because we could be in the query window,
// trying to synchronize and the table has not yet been created
$columnsList = $this->dbi->getColumns($db, Current::$table, true);
$columnsList = $this->dbi->getColumns($db, Current::$table);
$scriptName = Url::getFromRoute($this->config->settings['DefaultTabTable']);
$tmpTblLink = '<a href="' . $scriptName . Url::getCommon(['db' => $db, 'table' => $table], '&') . '">';