mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
print additional info in the debugging routine PrintQuery()
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4341 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
ddf9aabaf2
commit
70b34d05fa
@ -130,11 +130,21 @@ xaccQueryPrint(Query * q)
|
|||||||
qt = (QueryTerm *)j->data;
|
qt = (QueryTerm *)j->data;
|
||||||
switch (qt->data.base.term_type)
|
switch (qt->data.base.term_type)
|
||||||
{
|
{
|
||||||
case PR_ACCOUNT:
|
case PR_ACCOUNT: {
|
||||||
|
GList *p;
|
||||||
|
char buff[40];
|
||||||
printf ("account sense=%d how=%d\n",
|
printf ("account sense=%d how=%d\n",
|
||||||
qt->data.base.sense,
|
qt->data.base.sense,
|
||||||
qt->data.acct.how);
|
qt->data.acct.how);
|
||||||
|
for (p=qt->data.acct.account_guids; p; p=p->next) {
|
||||||
|
guid_to_string_buff (p->data, buff);
|
||||||
|
printf ("\tguid=%s\n", buff);
|
||||||
|
}
|
||||||
|
for (p=qt->data.acct.accounts; p; p=p->next) {
|
||||||
|
printf ("\tacct ptr=%p\n", p->data);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
case PR_ACTION:
|
case PR_ACTION:
|
||||||
printf ("action\n");
|
printf ("action\n");
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user