bug 857186

This commit is contained in:
Marc Delisle
2003-12-09 22:07:02 +00:00
parent 9fa407771c
commit a8be9563d7
2 changed files with 3 additions and 1 deletions

View File

@@ -9,6 +9,8 @@ $Source$
* libraries/sqlparser.data.php: bug 854702: FORCE INDEX * libraries/sqlparser.data.php: bug 854702: FORCE INDEX
* main.php: bug 851564: backquotes on the wildcard dbname * main.php: bug 851564: backquotes on the wildcard dbname
when no controluser is defined when no controluser is defined
* db_datadict.php: bug 857186: ENUMs and data dictionary,
thanks to Andrew Weiner (landreww) for the report and fix
2003-12-09 Garvin Hicking <embatag@supergarv.de> 2003-12-09 Garvin Hicking <embatag@supergarv.de>
* tbl_change.php: Fixed Bug #856436 (not displaying default values) * tbl_change.php: Fixed Bug #856436 (not displaying default values)

View File

@@ -199,7 +199,7 @@ while ($row = mysql_fetch_array($rowset)) {
// reformat mysql query output - staybyte - 9. June 2001 // reformat mysql query output - staybyte - 9. June 2001
// loic1: set or enum types: slashes single quotes inside options // loic1: set or enum types: slashes single quotes inside options
if (preg_match('@^(set|enum)\((.+)\)$@i', $type, $tmp)) { if (preg_match('@^(set|enum)\((.+)\)$@i', $type, $tmp)) {
$tmp[2] = substr(preg_replace('@([^,])\'\'', '\\1\\\'@', ',' . $tmp[2]), 1); $tmp[2] = substr(preg_replace('/@([^,])\'\'/', '\\1\\\'@', ',' . $tmp[2]), 1);
$type = $tmp[1] . '(' . str_replace(',', ', ', $tmp[2]) . ')'; $type = $tmp[1] . '(' . str_replace(',', ', ', $tmp[2]) . ')';
$type_nowrap = ''; $type_nowrap = '';