$cols[] = $prefix . ($jush == "sql" && $is_text && !preg_match("~^utf8~", $field["collation"]) ? "CONVERT($name USING " . charset($connection) . ")" : $name) . $cond;
}
}
- $return[] = ($cols ? "(" . implode(" OR ", $cols) . ")" : "0");
+ $return[] = ($cols ? "(" . implode(" OR ", $cols) . ")" : "1 = 0");
}
}
}
Adminer 4.6.1-dev:
PostgreSQL: Don't treat interval type as number (bug #474)
+PostgreSQL: Fix condition for selecting no rows
Adminer 4.6.0 (released 2018-02-05):
Fix counting selected rows after going back to select page
}
}
}
- $return[] = ($conds ? "(" . implode(" OR ", $conds) . ")" : "0");
+ $return[] = ($conds ? "(" . implode(" OR ", $conds) . ")" : "1 = 0");
}
}
return $return;