The branch, master has been updated
via 4e2cd5e998340f2f7262bc890d64e51c85970937 (commit)
from 84006bfeb21723a510d42dff929f5cf290b39d9b (commit)
- Log -----------------------------------------------------------------
commit 4e2cd5e998340f2f7262bc890d64e51c85970937
Author: Piotr Przybylski <piotrprz(a)gmail.com>
Date: Tue May 24 18:38:15 2011 +0200
Fix broken column list in index creation
Regression from "Remove deprecated function PMA_DBI_get_fields", fe53e42d1dfff53967ef5c3d6930b1bd9ac4b428
-----------------------------------------------------------------------
Summary of changes:
tbl_indexes.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tbl_indexes.php b/tbl_indexes.php
index 5fcfee9..59ea6b0 100644
--- a/tbl_indexes.php
+++ b/tbl_indexes.php
@@ -15,7 +15,7 @@ require_once './libraries/tbl_common.php';
// Get fields and stores their name/type
$fields = array();
-foreach (PMA_DBI_get_columns($db, $table) as $row) {
+foreach (PMA_DBI_get_columns_full($db, $table) as $row) {
if (preg_match('@^(set|enum)\((.+)\)$@i', $row['Type'], $tmp)) {
$tmp[2] = substr(preg_replace('@([^,])\'\'@', '\\1\\\'',
',' . $tmp[2]), 1);
hooks/post-receive
--
phpMyAdmin