Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Przybylski <piotrprz@gmail.com>2011-06-17 02:22:25 +0400
committerPiotr Przybylski <piotrprz@gmail.com>2011-06-17 02:22:25 +0400
commit12f70e8938cd9e3c76e878669d3de4bf4cb725ec (patch)
tree32e2fb534d8497a16d7b01008bb9fb8ae874cb32 /tbl_alter.php
parentd607fa3e5cca1bd9c8e1817db81e9a281cf68610 (diff)
Replace all SHOW FIELDS calls with PMA_DBI_get_columns() or PMA_DBI_get_columns_sql()
Fix PMA_DBI_get_columns() in Drizzle when $full == false
Diffstat (limited to 'tbl_alter.php')
-rw-r--r--tbl_alter.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tbl_alter.php b/tbl_alter.php
index 1c2d7fbd80..375f2f72b6 100644
--- a/tbl_alter.php
+++ b/tbl_alter.php
@@ -183,14 +183,14 @@ if ($abort == false) {
// For now, this is done to obtain MySQL 4.1.2+ new TIMESTAMP options
// and to know when there is an empty DEFAULT value.
// Later, if the analyser returns more information, it
- // could be executed to replace the info given by SHOW FULL FIELDS FROM.
+ // could be executed to replace the info given by SHOW FULL COLUMNS FROM.
/**
* @todo put this code into a require()
* or maybe make it part of PMA_DBI_get_fields();
*/
// We also need this to correctly learn if a TIMESTAMP is NOT NULL, since
- // SHOW FULL FIELDS says NULL and SHOW CREATE TABLE says NOT NULL (tested
+ // SHOW FULL COLUMNS says NULL and SHOW CREATE TABLE says NOT NULL (tested
// in MySQL 4.0.25).
$show_create_table = PMA_DBI_fetch_value('SHOW CREATE TABLE ' . PMA_backquote($db) . '.' . PMA_backquote($table), 0, 1);