bug 771575

This commit is contained in:
Marc Delisle
2003-07-16 12:17:29 +00:00
parent 0a7f4edda1
commit 6892b45675
2 changed files with 5 additions and 2 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2003-07-16 Marc Delisle <lem9@users.sourceforge.net>
* libraries/export/sql.php3: bug 771575: wrong quotes for variable expansion
2003-07-16 Alexander M. Turek <rabus@users.sourceforge.net> 2003-07-16 Alexander M. Turek <rabus@users.sourceforge.net>
* libraries/functions.js: Bug #771794 (CHAR length check although field name * libraries/functions.js: Bug #771794 (CHAR length check although field name
is empty). is empty).

View File

@@ -310,10 +310,10 @@ function PMA_getTableDef($db, $table, $crlf, $error_url, $do_relation = false, $
$sub_part = (isset($row['Sub_part'])) ? $row['Sub_part'] : ''; $sub_part = (isset($row['Sub_part'])) ? $row['Sub_part'] : '';
if ($kname != 'PRIMARY' && $row['Non_unique'] == 0) { if ($kname != 'PRIMARY' && $row['Non_unique'] == 0) {
$kname = "UNIQUE|$kname"; $kname = 'UNIQUE|' . $kname;
} }
if ($comment == 'FULLTEXT') { if ($comment == 'FULLTEXT') {
$kname = 'FULLTEXT|$kname'; $kname = 'FULLTEXT|' . $kname;
} }
if (!isset($index[$kname])) { if (!isset($index[$kname])) {
$index[$kname] = array(); $index[$kname] = array();