1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-06 14:46:36 +02:00

make bytea fields shortable

This commit is contained in:
nafex
2015-10-06 15:08:02 +02:00
committed by Jakub Vrana
parent 32334f1106
commit 47c582acb3

View 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