~ubuntu-branches/ubuntu/lucid/phpmyadmin/lucid

« back to all changes in this revision

Viewing changes to db_datadict.php

  • Committer: Bazaar Package Importer
  • Author(s): Michal Čihař
  • Date: 2009-06-30 14:05:13 UTC
  • mfrom: (1.2.1 upstream) (36.1.2 karmic)
  • Revision ID: james.westby@ubuntu.com-20090630140513-hz71do3sij2jhm4s
* New upstream version fixing XSS (PMASA-2009-5).
* Document no empty password in README.Debian and the shipped sample
  configuration file (LP: #388703).
* Install service file for avahi (if web service enabled and if avahi is
  installed) (LP: #369244).
* Mention protecting of setup if not using provided configuration snippets
  for webservers.
* Call ucf with --debconf-ok in postrm (Closes: #534894).

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
/* vim: set expandtab sw=4 ts=4 sts=4: */
3
3
/**
4
4
 *
5
 
 * @version $Id: db_datadict.php 11334 2008-06-21 13:16:05Z lem9 $
 
5
 * @version $Id: db_datadict.php 12120 2008-12-10 09:22:29Z cybot_tm $
 
6
 * @package phpMyAdmin
6
7
 */
7
8
 
8
9
/**
75
76
     * Gets table informations
76
77
     */
77
78
    // The 'show table' statement works correct since 3.23.03
78
 
    $showtable    = PMA_DBI_get_tables_full($db, $table);
79
 
    $num_rows     = (isset($showtable[$table]['TABLE_ROWS']) ? $showtable[$table]['TABLE_ROWS'] : 0);
80
 
    $show_comment = (isset($showtable[$table]['TABLE_COMMENT']) ? $showtable[$table]['TABLE_COMMENT'] : '');
81
 
    unset($showtable);
82
 
 
 
79
    $num_rows     = PMA_Table::sGetStatusInfo($db, $table, 'TABLE_ROWS');
 
80
    $show_comment = PMA_Table::sGetStatusInfo($db, $table, 'TABLE_COMMENT');
83
81
 
84
82
    /**
85
83
     * Gets table keys and retains them