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 586cf7e commit 8bfef9aCopy full SHA for 8bfef9a
sqlite/src/comdb2lua.c
@@ -24,7 +24,7 @@ int bdb_get_sp_get_default_version(const char *, int *);
24
extern int gbl_create_default_consumer_atomically;
25
extern int gbl_sc_protobuf;
26
27
-#define MAX_SPNAME_FOR_TRIGGER MAX_SPNAME-strlen(Q_TAG) // includes null terminator
+#define MAX_SPNAME_FOR_TRIGGER (MAX_SPNAME-(sizeof(Q_TAG)-1)) // includes null terminator
28
#define COMDB2_DEFAULT_CONSUMER 2
29
30
static int comdb2LocateSP(Parse *p, char *sp)
0 commit comments