Fixed some issues with the mysql syntax provider

This commit is contained in:
Sebastiaan@SEBVIRTUAL.SSG5-Serial
2013-01-29 12:55:55 -01:00
parent bb430ddacd
commit 5dc80c55b2

View File

@@ -72,7 +72,7 @@ namespace Umbraco.Core.Persistence.SqlSyntax
list =
items.Select(
item =>
new ColumnInfo(item.TABLE_NAME, item.COLUMN_NAME, item.ORDINAL_POSITION, item.COLUMN_DEFAULT,
new ColumnInfo(item.TABLE_NAME, item.COLUMN_NAME, int.Parse(item.ORDINAL_POSITION.ToString()), item.COLUMN_DEFAULT ?? "",
item.IS_NULLABLE, item.DATA_TYPE)).ToList();
}
finally