~ubuntu-branches/debian/experimental/phpmyadmin/experimental

« back to all changes in this revision

Viewing changes to server_replication.php

  • Committer: Bazaar Package Importer
  • Author(s): Michal Čihař
  • Date: 2011-01-05 10:18:41 UTC
  • mfrom: (1.2.19 upstream)
  • Revision ID: james.westby@ubuntu.com-20110105101841-h5wfo37zq1az3b6e
Tags: 4:3.3.9-1
* New upstream release.
* Fix connection settings when using dbconfig with remote MySQL server.
* Log when dbconfig generated settings are not accessible. 
* Add Slovak debconf translation (Closes: #608702).
* Update Danish debconf translation (Closes: #608941).

Show diffs side-by-side

added added

removed removed

Lines of Context:
125
125
                }
126
126
                $dblist[] = $tmp_row[0];
127
127
 
128
 
                PMA_DBI_query('CREATE DATABASE IF NOT EXISTS '.$tmp_row[0], $trg_link);
 
128
                PMA_DBI_query('CREATE DATABASE IF NOT EXISTS '.PMA_backquote($tmp_row[0]), $trg_link);
129
129
            } else {
130
130
                if (array_search($tmp_row[0], $do_db) !== false) {
131
131
                    $dblist[] = $tmp_row[0];
132
 
                    PMA_DBI_query('CREATE DATABASE IF NOT EXISTS '.$tmp_row[0], $trg_link);
 
132
                    PMA_DBI_query('CREATE DATABASE IF NOT EXISTS '.PMA_backquote($tmp_row[0]), $trg_link);
133
133
                }
134
134
            }     
135
135
        } // end while