Added BIGINT and expanded log errors

This commit is contained in:
PhoenixICE 2014-02-24 14:27:31 +11:00
parent 2e8398d4a2
commit 7d18575d96
2 changed files with 5 additions and 0 deletions

View file

@ -67,6 +67,7 @@ namespace TShockAPI.DB
{ MySqlDbType.Double, "REAL" },
{ MySqlDbType.Int32, "INTEGER" },
{ MySqlDbType.Blob, "BLOB" },
{ MySqlDbType.Int64, "BIGINT"},
};
public string DbTypeToString(MySqlDbType type, int? length)
@ -115,6 +116,7 @@ namespace TShockAPI.DB
{ MySqlDbType.Float, "FLOAT" },
{ MySqlDbType.Double, "DOUBLE" },
{ MySqlDbType.Int32, "INT" },
{ MySqlDbType.Int64, "BIGINT"},
};
public string DbTypeToString(MySqlDbType type, int? length)