]> git.joonet.de Git - adminer.git/commitdiff
make bytea fields shortable
authornafex <nafex@gmx.net>
Tue, 6 Oct 2015 13:08:02 +0000 (15:08 +0200)
committerJakub Vrana <jakub@vrana.cz>
Sun, 19 Feb 2017 08:30:39 +0000 (09:30 +0100)
adminer/include/functions.inc.php

index 9756cd917327ca1be4ca9b864cb1702c6925a13d..0496cf4d3abda4744adec866450bd9346404844f 100644 (file)
@@ -1187,7 +1187,7 @@ function is_url($string) {
 * @return bool
 */
 function is_shortable($field) {
-       return preg_match('~char|text|lob|geometry|point|linestring|polygon|string~', $field["type"]);
+       return preg_match('~char|text|lob|geometry|point|linestring|polygon|string|bytea~', $field["type"]);
 }
 
 /** Get query to compute number of found rows