Skip to content

Commit b95ec4f

Browse files
committed
MySQL fixes/additions/improvements
- fixed GH pocoproject#187: MySQL: allow access to the underlying connection handle - added GH pocoproject#186: MySQL: support for MYSQL_SECURE_AUTH - fixed GH pocoproject#174: MySQL: 4GB allocated when reading any largetext or largeblob field
1 parent f6d9e92 commit b95ec4f

24 files changed

Lines changed: 302 additions & 32 deletions

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ Release 1.5.2 (2013-06-xx)
8080
- limited allowed types for JSON::Query to Object, Array, Object::Ptr,
8181
Array::Ptr and empty
8282
- fixed GH #175: HTMLForm does not read URL parameters on POST or PUT
83+
- added GH #187: MySQL: allow access to the underlying connection handle
84+
- added GH #186: MySQL: support for MYSQL_SECURE_AUTH
85+
- fixed GH #174: MySQL: 4GB allocated when reading any largetext or largeblob field
8386

8487

8588
Release 1.5.1 (2013-01-11)

Data/MySQL/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ SYSFLAGS += -DTHREADSAFE -DNO_TCL
1414

1515
objects = Binder Extractor SessionImpl Connector \
1616
MySQLStatementImpl ResultMetadata MySQLException \
17-
SessionHandle StatementExecutor
17+
SessionHandle StatementExecutor Utility
1818

1919
target = PocoDataMySQL
2020
target_version = $(LIBVERSION)

Data/MySQL/MySQL_VS80.vcproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,8 @@
403403
RelativePath=".\src\SessionImpl.cpp"/>
404404
<File
405405
RelativePath=".\src\StatementExecutor.cpp"/>
406+
<File
407+
RelativePath=".\src\Utility.cpp"/>
406408
</Filter>
407409
<Filter
408410
Name="Header Files"
@@ -428,6 +430,8 @@
428430
RelativePath=".\include\Poco\Data\MySQL\SessionImpl.h"/>
429431
<File
430432
RelativePath=".\include\Poco\Data\MySQL\StatementExecutor.h"/>
433+
<File
434+
RelativePath=".\include\Poco\Data\MySQL\Utility.h"/>
431435
</Filter>
432436
<Filter
433437
Name="Resource Files"

Data/MySQL/MySQL_VS90.vcproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,8 @@
402402
RelativePath=".\src\SessionImpl.cpp"/>
403403
<File
404404
RelativePath=".\src\StatementExecutor.cpp"/>
405+
<File
406+
RelativePath=".\src\Utility.cpp"/>
405407
</Filter>
406408
<Filter
407409
Name="Header Files"
@@ -427,6 +429,8 @@
427429
RelativePath=".\include\Poco\Data\MySQL\SessionImpl.h"/>
428430
<File
429431
RelativePath=".\include\Poco\Data\MySQL\StatementExecutor.h"/>
432+
<File
433+
RelativePath=".\include\Poco\Data\MySQL\Utility.h"/>
430434
</Filter>
431435
<Filter
432436
Name="Resource Files"

Data/MySQL/MySQL_vs100.vcxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@
276276
<ClCompile Include="src\SessionHandle.cpp"/>
277277
<ClCompile Include="src\SessionImpl.cpp"/>
278278
<ClCompile Include="src\StatementExecutor.cpp"/>
279+
<ClCompile Include="src\Utility.cpp"/>
279280
</ItemGroup>
280281
<ItemGroup>
281282
<ClInclude Include="include\Poco\Data\MySQL\Binder.h"/>
@@ -288,6 +289,7 @@
288289
<ClInclude Include="include\Poco\Data\MySQL\SessionHandle.h"/>
289290
<ClInclude Include="include\Poco\Data\MySQL\SessionImpl.h"/>
290291
<ClInclude Include="include\Poco\Data\MySQL\StatementExecutor.h"/>
292+
<ClInclude Include="include\Poco\Data\MySQL\Utility.h"/>
291293
</ItemGroup>
292294
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets"/>
293295
<ImportGroup Label="ExtensionTargets"/>

Data/MySQL/MySQL_vs100.vcxproj.filters

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@
4242
<ClCompile Include="src\StatementExecutor.cpp">
4343
<Filter>Source Files</Filter>
4444
</ClCompile>
45+
<ClCompile Include="src\Utility.cpp">
46+
<Filter>Source Files</Filter>
47+
</ClCompile>
4548
</ItemGroup>
4649
<ItemGroup>
4750
<ClInclude Include="include\Poco\Data\MySQL\Binder.h">
@@ -74,5 +77,8 @@
7477
<ClInclude Include="include\Poco\Data\MySQL\StatementExecutor.h">
7578
<Filter>Header Files</Filter>
7679
</ClInclude>
80+
<ClInclude Include="include\Poco\Data\MySQL\Utility.h">
81+
<Filter>Header Files</Filter>
82+
</ClInclude>
7783
</ItemGroup>
7884
</Project>

Data/MySQL/MySQL_vs110.vcxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@
286286
<ClCompile Include="src\SessionHandle.cpp" />
287287
<ClCompile Include="src\SessionImpl.cpp" />
288288
<ClCompile Include="src\StatementExecutor.cpp" />
289+
<ClCompile Include="src\Utility.cpp" />
289290
</ItemGroup>
290291
<ItemGroup>
291292
<ClInclude Include="include\Poco\Data\MySQL\Binder.h" />
@@ -298,6 +299,7 @@
298299
<ClInclude Include="include\Poco\Data\MySQL\SessionHandle.h" />
299300
<ClInclude Include="include\Poco\Data\MySQL\SessionImpl.h" />
300301
<ClInclude Include="include\Poco\Data\MySQL\StatementExecutor.h" />
302+
<ClInclude Include="include\Poco\Data\MySQL\Utility.h" />
301303
</ItemGroup>
302304
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
303305
<ImportGroup Label="ExtensionTargets" />

Data/MySQL/MySQL_vs110.vcxproj.filters

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@
4242
<ClCompile Include="src\StatementExecutor.cpp">
4343
<Filter>Source Files</Filter>
4444
</ClCompile>
45+
<ClCompile Include="src\Utility.cpp">
46+
<Filter>Source Files</Filter>
47+
</ClCompile>
4548
</ItemGroup>
4649
<ItemGroup>
4750
<ClInclude Include="include\Poco\Data\MySQL\Binder.h">
@@ -74,5 +77,8 @@
7477
<ClInclude Include="include\Poco\Data\MySQL\StatementExecutor.h">
7578
<Filter>Header Files</Filter>
7679
</ClInclude>
80+
<ClInclude Include="include\Poco\Data\MySQL\Utility.h">
81+
<Filter>Header Files</Filter>
82+
</ClInclude>
7783
</ItemGroup>
7884
</Project>

Data/MySQL/MySQL_vs71.vcproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,8 @@
382382
RelativePath=".\src\SessionImpl.cpp"/>
383383
<File
384384
RelativePath=".\src\StatementExecutor.cpp"/>
385+
<File
386+
RelativePath=".\src\Utility.cpp"/>
385387
</Filter>
386388
<Filter
387389
Name="Header Files"
@@ -407,6 +409,8 @@
407409
RelativePath=".\include\Poco\Data\MySQL\SessionImpl.h"/>
408410
<File
409411
RelativePath=".\include\Poco\Data\MySQL\StatementExecutor.h"/>
412+
<File
413+
RelativePath=".\include\Poco\Data\MySQL\Utility.h"/>
410414
</Filter>
411415
<Filter
412416
Name="Resource Files"

Data/MySQL/MySQL_x64_vs100.vcxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@
274274
<ClCompile Include="src\SessionHandle.cpp"/>
275275
<ClCompile Include="src\SessionImpl.cpp"/>
276276
<ClCompile Include="src\StatementExecutor.cpp"/>
277+
<ClCompile Include="src\Utility.cpp"/>
277278
</ItemGroup>
278279
<ItemGroup>
279280
<ClInclude Include="include\Poco\Data\MySQL\Binder.h"/>
@@ -286,6 +287,7 @@
286287
<ClInclude Include="include\Poco\Data\MySQL\SessionHandle.h"/>
287288
<ClInclude Include="include\Poco\Data\MySQL\SessionImpl.h"/>
288289
<ClInclude Include="include\Poco\Data\MySQL\StatementExecutor.h"/>
290+
<ClInclude Include="include\Poco\Data\MySQL\Utility.h"/>
289291
</ItemGroup>
290292
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets"/>
291293
<ImportGroup Label="ExtensionTargets"/>

0 commit comments

Comments
 (0)