from Loic

This commit is contained in:
Marc Delisle
2002-08-05 20:06:09 +00:00
parent 266adfda81
commit 3513a3fe2f
4 changed files with 17 additions and 10 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2002-08-05 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* tbl_indexes.php3, ldi_check.php3, libraries/sqlparser.lib.php3:
coding standard
2002-08-05 Alexander M. Turek <rabus@users.sourceforge.net>
* translators.html: Added a small note in order to avoid annoying emails.
* lang/slovenian-*.inc.php3: Updates, thanks again to Kositer Uros (urosh).

View File

@@ -31,6 +31,7 @@ if (isset($btnLDI) && ($textfile != 'none')) {
error_reporting(E_ALL);
chmod($textfile, 0644);
// Kanji encoding convert appended by Y.Kawada
if (function_exists('PMA_kanji_file_conv')) {
$textfile = PMA_kanji_file_conv($textfile, $knjenc, isset($xkana) ? $xkana : '');
@@ -93,6 +94,7 @@ chmod($textfile, 0644);
} else {
$sql_query = $query;
}
// Set an empty sub_part to avoid an undefined variable.
// We could also rename the ldi* scripts
// to tbl_properties_ldi* to improve consistency with the other sub-pages.

View File

@@ -1,6 +1,7 @@
<?php
/* $Id$ */
/**
* Gets some core libraries
*/
@@ -180,9 +181,9 @@ if (!defined('PMA_IDX_INCLUDED')
PMA_mysqlDie($strCantRenameIdxToPrimary, '', FALSE, $err_url);
}
// $sql_query is the one displayed in the query box, don't use it when
// you need to generate a query in this script
// $sql_query is the one displayed in the query box, don't use it when you
// need to generate a query in this script
$local_query = 'ALTER TABLE ' . PMA_backquote($table);
// Drops the old index
@@ -223,7 +224,7 @@ if (!defined('PMA_IDX_INCLUDED')
$local_query .= $index_fields . ')';
}
$result = PMA_mysql_query($local_query) or PMA_mysqlDie('', '', FALSE, $err_url);
$result = PMA_mysql_query($local_query) or PMA_mysqlDie('', $local_query, FALSE, $err_url);
$message = $strTable . ' ' . htmlspecialchars($table) . ' ' . $strHasBeenAltered;
include('./tbl_properties.php3');