]> git.joonet.de Git - adminer.git/commitdiff
Document changes
authorJakub Vrana <jakub@vrana.cz>
Fri, 10 Jan 2014 06:28:42 +0000 (22:28 -0800)
committerJakub Vrana <jakub@vrana.cz>
Fri, 10 Jan 2014 06:28:42 +0000 (22:28 -0800)
adminer/drivers/elastic.inc.php
changes.txt

index ec5c3aab236035abc164c5b8be3d0b5239e7ad70..72b4a0f29eec49e7b0f6855e3d3099a67325eb8b 100644 (file)
@@ -303,11 +303,11 @@ if (isset($_GET["elastic"])) {
        */
        function drop_tables($tables) {
                global $connection;
-               $result = true;
-               foreach ($tables as $table) { // convert to bulk api
-                       $result = $result && $connection->query(urlencode($table), array(), 'DELETE');
+               $return = true;
+               foreach ($tables as $table) { //! convert to bulk api
+                       $return = $return && $connection->query(urlencode($table), array(), 'DELETE');
                }
-               return $result;
+               return $return;
        }
 
        $jush = "elastic";
index 093eaf740dfff7eb515df743e7d41df94c84be19..813e995dd7707e8a4555f299734d9e0e9af1ff7e 100644 (file)
@@ -2,6 +2,7 @@ Adminer 4.0.1-dev:
 Fix compiled version of Elasticsearch
 Don't use type=number if a SQL function is used
 MongoDB: Count tables, display ObjectIds, sort, limit, offset, count rows
+Elasticsearch: Create and drop DB, drop table
 
 Adminer 4.0.0 (released 2014-01-08):
 Driver for SimpleDB, MongoDB and Elasticsearch