diff options
author | serg@serg.mylan <> | 2006-02-15 00:14:37 +0100 |
---|---|---|
committer | serg@serg.mylan <> | 2006-02-15 00:14:37 +0100 |
commit | 4e68f1ba3af39c5a384c0bc4c0b88a8150528fea (patch) | |
tree | 96586a07852fed86e6ea3c5656bb00c18b437a09 /dbug | |
parent | 48b8e842ca361dad1746758ad425bafdb914e03b (diff) | |
download | mariadb-git-4e68f1ba3af39c5a384c0bc4c0b88a8150528fea.tar.gz |
post-merge fixes for dbug
Diffstat (limited to 'dbug')
-rw-r--r-- | dbug/dbug.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dbug/dbug.c b/dbug/dbug.c index e6323de1051..c212d55d815 100644 --- a/dbug/dbug.c +++ b/dbug/dbug.c @@ -67,6 +67,7 @@ * DBUG_EXECUTE_IF * incremental mode (-#+t:-d,info ...) * DBUG_SET, _db_explain_ + * thread-local settings * */ @@ -547,6 +548,7 @@ void _db_set_(CODE_STATE *cs, const char *control) if (!rel) sign=0; c= *control++; if (*control == ',') control++; + /* XXX when adding new cases here, don't forget _db_explain_ ! */ switch (c) { case 'd': if (sign < 0 && control == end) @@ -857,6 +859,7 @@ int _db_explain_ (CODE_STATE *cs, char *buf, int len) op_bool_to_buf('P', cs->stack->flags & PROCESS_ON); op_bool_to_buf('r', cs->stack->sub_level != 0); op_intf_to_buf('t', cs->stack->maxdepth, MAXDEPTH, TRACING); + op_bool_to_buf('T', cs->stack->flags & TIMESTAMP_ON); op_bool_to_buf('S', cs->stack->flags & SANITY_CHECK_ON); *buf= '\0'; |