Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MS SQL functions

  • Loading branch information...
commit e4df0c6e701efc0c297fc8e202ac8ed77ab108fa 1 parent f9bb1c5
@vrana authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  adminer/include/adminer.inc.php
View
2  adminer/include/adminer.inc.php
@@ -441,6 +441,8 @@ function processInput($field, $value, $function = "") {
$return = $connection->quote($value);
if (ereg('^(now|getdate|uuid)$', $function)) {
$return = "$function()";
+ } elseif (ereg('^current_(date|timestamp)$', $function)) {
+ $return = $function;
} elseif (ereg('^([+-]|\\|\\|)$', $function)) {
$return = idf_escape($name) . " $function $return";
} elseif (ereg('^[+-] interval$', $function)) {

0 comments on commit e4df0c6

Please sign in to comment.
Something went wrong with that request. Please try again.