diff options
Diffstat (limited to 'include/m_database.h')
-rw-r--r-- | include/m_database.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/m_database.h b/include/m_database.h index 42c787aa81..dd8afaca1a 100644 --- a/include/m_database.h +++ b/include/m_database.h @@ -721,6 +721,9 @@ namespace DB bool isCompleted() const;
__forceinline bool isOffline() const { return m_szProtoString != nullptr; }
+
+ __forceinline void setUrl(const char *pszUrl) { m_szProtoString = mir_strdup(pszUrl); }
+ __forceinline void setSize(int64_t iSize) { m_iFileSize = iSize; }
};
/////////////////////////////////////////////////////////////////////////////////////////
|