diff --git a/CHANGELOG b/CHANGELOG index 06efc7c1a..3f6475cf8 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -66,6 +66,7 @@ Release 1.5.3 (2014-05-xx) - added SevenZip library (Guenter Obiltschnig) - fixed GH #442: Use correct prefix length field of Windows IP_ADAPTER_PREFIX structure - improved GH #328: NetworkInterface on Windows XP +- fixed GH #154 Add support for MYSQL_TYPE_NEWDECIMAL to Poco::Data::MySQL Release 1.5.2 (2013-09-16) ========================== diff --git a/Data/MySQL/MySQL_x64_vs120.vcxproj b/Data/MySQL/MySQL_x64_vs120.vcxproj index 36d03fa5a..fc5c8bddf 100644 --- a/Data/MySQL/MySQL_x64_vs120.vcxproj +++ b/Data/MySQL/MySQL_x64_vs120.vcxproj @@ -1,4 +1,4 @@ - + @@ -32,7 +32,7 @@ MySQL Win32Proj - + StaticLibrary MultiByte @@ -63,27 +63,27 @@ MultiByte v120 - - + + - + - + - + - + - + - + - + <_ProjectFileVersion>11.0.61030.0 PocoDataMySQL64d @@ -97,6 +97,8 @@ ..\..\bin64\ obj64\$(Configuration)\ true + %MYSQL_BASE%\include;$(VC_IncludePath);$(WindowsSDK_IncludePath); + %MYSQL_BASE%\lib;$(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64); ..\..\bin64\ @@ -132,7 +134,7 @@ true true true - + Level3 ProgramDatabase Default @@ -164,9 +166,9 @@ true true true - + Level3 - + Default @@ -195,7 +197,7 @@ true true true - + ..\..\lib64\PocoDataMySQLmtd.pdb Level3 ProgramDatabase @@ -220,9 +222,9 @@ true true true - + Level3 - + Default @@ -242,7 +244,7 @@ true true true - + ..\..\lib64\PocoDataMySQLmdd.pdb Level3 ProgramDatabase @@ -267,9 +269,9 @@ true true true - + Level3 - + Default @@ -277,30 +279,30 @@ - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - + + + \ No newline at end of file diff --git a/Data/MySQL/src/ResultMetadata.cpp b/Data/MySQL/src/ResultMetadata.cpp index f94439b22..b61435303 100755 --- a/Data/MySQL/src/ResultMetadata.cpp +++ b/Data/MySQL/src/ResultMetadata.cpp @@ -104,6 +104,8 @@ namespace case MYSQL_TYPE_FLOAT: return Poco::Data::MetaColumn::FDT_FLOAT; + case MYSQL_TYPE_DECIMAL: + case MYSQL_TYPE_NEWDECIMAL: case MYSQL_TYPE_DOUBLE: return Poco::Data::MetaColumn::FDT_DOUBLE; diff --git a/Data/MySQL/testsuite/TestSuite_x64_vs120.vcxproj b/Data/MySQL/testsuite/TestSuite_x64_vs120.vcxproj index 7374ba213..29f8cf7d5 100644 --- a/Data/MySQL/testsuite/TestSuite_x64_vs120.vcxproj +++ b/Data/MySQL/testsuite/TestSuite_x64_vs120.vcxproj @@ -1,4 +1,4 @@ - + @@ -32,7 +32,7 @@ TestSuite Win32Proj - + Application MultiByte @@ -63,27 +63,27 @@ MultiByte v120 - - + + - + - + - + - + - + - + - + <_ProjectFileVersion>11.0.61030.0 TestSuited @@ -97,6 +97,8 @@ bin64\ obj64\$(Configuration)\ true + %MYSQL_BASE%\include;$(VC_IncludePath);$(WindowsSDK_IncludePath); + %MYSQL_BASE%\lib;$(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64); bin64\ @@ -136,7 +138,7 @@ true true true - + Level3 ProgramDatabase Default @@ -167,9 +169,9 @@ true true true - + Level3 - + Default @@ -196,7 +198,7 @@ true true true - + Level3 ProgramDatabase Default @@ -227,9 +229,9 @@ true true true - + Level3 - + Default @@ -256,7 +258,7 @@ true true true - + Level3 ProgramDatabase Default @@ -287,9 +289,9 @@ true true true - + Level3 - + Default @@ -304,16 +306,16 @@ - - - + + + - - - - + + + + - - - + + + \ No newline at end of file diff --git a/Data/MySQL/testsuite/TestSuite_x64_vs120.vcxproj.filters b/Data/MySQL/testsuite/TestSuite_x64_vs120.vcxproj.filters index 9b78e1015..13a48c62e 100644 --- a/Data/MySQL/testsuite/TestSuite_x64_vs120.vcxproj.filters +++ b/Data/MySQL/testsuite/TestSuite_x64_vs120.vcxproj.filters @@ -47,8 +47,6 @@ _Suite\Source Files - - _Driver\Source Files - + \ No newline at end of file diff --git a/buildwin.ps1 b/buildwin.ps1 index 9849638de..a7c99f8ea 100644 --- a/buildwin.ps1 +++ b/buildwin.ps1 @@ -111,8 +111,8 @@ function Set-Environment $Env:MYSQL_DIR = "$mysql_base" $Env:MYSQL_INCLUDE = "$Env:MYSQL_DIR\include" $Env:MYSQL_LIB = "$Env:MYSQL_DIR\lib" - Add-Env-Var "MYSQL", "INCLUDE" - Add-Env-Var "MYSQL", "LIB" + Add-Env-Var "MYSQL" "INCLUDE" + Add-Env-Var "MYSQL" "LIB" } $vsct = "VS$($vs_version)COMNTOOLS"