diff options
author | rowanbeentje <rowan@beent.je> | 2011-04-23 17:15:18 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2011-04-23 17:15:18 +0000 |
commit | d60880e78188b4ef7cc2e73106eb980af3c13642 (patch) | |
tree | 1b3e064f9909c9e8d9f5afd7342c49b671dbb048 /Source/SPDatabaseInfo.h | |
parent | 555cb252a3e42d0df5835a18df4abbe1a0b0725a (diff) | |
download | sequelpro-d60880e78188b4ef7cc2e73106eb980af3c13642.tar.gz sequelpro-d60880e78188b4ef7cc2e73106eb980af3c13642.tar.bz2 sequelpro-d60880e78188b4ef7cc2e73106eb980af3c13642.zip |
Alter result string processing to use returned string length and not null-terminated string processing:
- This fixes issues caused by null characters in strings - addressing Issue 1029
- Also appears to be a few percent faster than the old approach when processing lots of short strings
- Allows significant simplification of MCPResult and low-memory MCPStreamingResult code, avoiding a memory copy; this also gives a significant speedup and can actually make full streaming in MCPStreamingResult faster than "fast streaming".
The code will be reviewed further in future to improve on the gains seen here.
Diffstat (limited to 'Source/SPDatabaseInfo.h')
0 files changed, 0 insertions, 0 deletions