Skip to content

Commit

Permalink
Fix | Remove extra spaces in SQLServerDatabaseMetaData.getNumericFunc…
Browse files Browse the repository at this point in the history
…tions()/SQLServerDatabaseMetaData.getStringFunctions() return values (#1117)
  • Loading branch information
snuyanzin authored and ulvii committed Aug 15, 2019
1 parent 8e4c50b commit 1f27d64
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1212,7 +1212,7 @@ public int getMaxUserNameLength() throws SQLServerException {
@Override
public String getNumericFunctions() throws SQLServerException {
checkClosed();
return "ABS,ACOS,ASIN,ATAN,ATAN2,CEILING,COS,COT,DEGREES,EXP, FLOOR,LOG,LOG10,MOD,PI,POWER,RADIANS,RAND,ROUND,SIGN,SIN,SQRT,TAN,TRUNCATE";
return "ABS,ACOS,ASIN,ATAN,ATAN2,CEILING,COS,COT,DEGREES,EXP,FLOOR,LOG,LOG10,MOD,PI,POWER,RADIANS,RAND,ROUND,SIGN,SIN,SQRT,TAN,TRUNCATE";
}

private static final String[] getPrimaryKeysColumnNames = { /* 1 */ TABLE_CAT, /* 2 */ TABLE_SCHEM,
Expand Down Expand Up @@ -1470,7 +1470,7 @@ private static String createSqlKeyWords() {
@Override
public String getStringFunctions() throws SQLServerException {
checkClosed();
return "ASCII,CHAR,CONCAT, DIFFERENCE,INSERT,LCASE,LEFT,LENGTH,LOCATE,LTRIM,REPEAT,REPLACE,RIGHT,RTRIM,SOUNDEX,SPACE,SUBSTRING,UCASE";
return "ASCII,CHAR,CONCAT,DIFFERENCE,INSERT,LCASE,LEFT,LENGTH,LOCATE,LTRIM,REPEAT,REPLACE,RIGHT,RTRIM,SOUNDEX,SPACE,SUBSTRING,UCASE";
}

@Override
Expand Down

0 comments on commit 1f27d64

Please sign in to comment.