diff options
author | Bill King <bking@trolltech.com> | 2009-12-15 03:09:12 (GMT) |
---|---|---|
committer | Bill King <bking@trolltech.com> | 2009-12-15 03:09:12 (GMT) |
commit | 82ec0a6c26c683dedd20fb6dd3923dce98c3f7e3 (patch) | |
tree | 47e095977dc9ae6e20bedff0b1e8f963ede741e5 /src/corelib | |
parent | 504d6d4ac0d782c1fbca1f2dc1e8425dac773113 (diff) | |
download | Qt-82ec0a6c26c683dedd20fb6dd3923dce98c3f7e3.zip Qt-82ec0a6c26c683dedd20fb6dd3923dce98c3f7e3.tar.gz Qt-82ec0a6c26c683dedd20fb6dd3923dce98c3f7e3.tar.bz2 |
(ODBC) Fixes segfault when error string is larger than 256 chars.
SqlServer can throw custom error messages (via RaiseError) that can be
up to 8000 chars long. Fixed this with a pre-query as to the length of
the error string, then allocating enough space to retrieve the whole
error string at once.
Task-number: QTBUG-6618
Reviewed-by: Derick Hawcroft
Diffstat (limited to 'src/corelib')
0 files changed, 0 insertions, 0 deletions