subsonic / SubSonic-3.0-Templates

T4 Template Project for the peeps
http://subsonic.github.io/
105 stars 46 forks source link

Bugfix [ready to pull]: Unsigned decimal columns broken in MySQL #18

Open TheDistantSea opened 15 years ago

TheDistantSea commented 15 years ago

There was a change recently that appended "unsigned" to datatypes as appropriate before being passed to GetDbType and GetSysType so that the methods can return the appropriate type.

That commit took care of unsigned int8/16/32/64, but not of unsigned double (which will cause exceptions to be thrown at runtime, as it causes a string member to be added).

You can pull the patch to fix this from here: http://github.com/defacer/SubSonic-3.0-Templates/commit/a5b32b4e98fd2dcdc88ce899c845b52662482134