We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6ae7a7 commit 91b975dCopy full SHA for 91b975d
src/jrd/trace/TraceDSQLHelpers.h
@@ -53,10 +53,11 @@ class TraceDSQLPrepare
53
54
m_start_clock = fb_utils::query_performance_counter();
55
56
- static constexpr const char* empty_string = "<empty statement>";
57
- static FB_SIZE_T empty_string_length = fb_strlen(empty_string);
58
if (m_string == nullptr || (m_string_len == 0 && (m_string_len = fb_strlen(m_string)) == 0))
59
{
+ static constexpr const char* empty_string = "<empty statement>";
+ static FB_SIZE_T empty_string_length = fb_strlen(empty_string);
60
+
61
m_string = empty_string;
62
m_string_len = empty_string_length;
63
}
0 commit comments