diff options
Diffstat (limited to 'odb/mssql/statement.hxx')
-rw-r--r-- | odb/mssql/statement.hxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/odb/mssql/statement.hxx b/odb/mssql/statement.hxx index 3bea55f..6eacec6 100644 --- a/odb/mssql/statement.hxx +++ b/odb/mssql/statement.hxx @@ -122,15 +122,20 @@ namespace odb result fetch (); - void + // Return true if any long data was streamed. + // + bool stream_result (void* old_base = 0, void* new_base = 0) { - if (first_long_ != result_.count) + bool ld (first_long_ != result_.count); + + if (ld) statement::stream_result (result_.bind, first_long_, result_.count, old_base, new_base); + return ld; } void |