Updates sorting code to support decimals - need to test on MySql

This commit is contained in:
Shannon
2016-04-13 14:49:37 +02:00
parent 82b4b4e668
commit 10bb16316d
4 changed files with 10 additions and 5 deletions

View File

@@ -363,7 +363,8 @@ ORDER BY TABLE_NAME, INDEX_NAME",
public override string IsNull { get { return "IFNULL({0},{1})"; } }
public override string ConvertIntegerToOrderableString { get { return "LPAD({0}, 8, '0')"; } }
public override string ConvertDateToOrderableString { get { return "DATE_FORMAT({0}, '%Y%m%d')"; } }
public override string ConvertDecimalToOrderableString { get { return "LPAD({0}, 25, '0')"; } }
public override bool? SupportsCaseInsensitiveQueries(Database db)
{
bool? supportsCaseInsensitiveQueries = null;