Changeset 26958 for trunk/ippTools/src/difftool.c
- Timestamp:
- Feb 16, 2010, 11:20:32 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/difftool.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/difftool.c
r26949 r26958 1894 1894 psString diffQuery = NULL; 1895 1895 if (! (reRun || newTemplates) ) { 1896 psStringAppend(&diffQuery, "\n AND diff _id IS NULL");1896 psStringAppend(&diffQuery, "\n AND diffExp.diff_id IS NULL"); 1897 1897 } else { 1898 1898 diffQuery = psStringCopy("\n"); … … 1905 1905 return(false); 1906 1906 } 1907 1907 psTrace("difftool",1,query,stack2Query,diffQuery,stack1Query,stack1Query); 1908 /* exit(10); */ 1909 1908 1910 if (!psDBTransaction(config->dbh)) { 1909 1911 psError(PS_ERR_UNKNOWN, false, "database error"); … … 1911 1913 } 1912 1914 1913 if (!p_psDBRunQueryF(config->dbh, query, stack2Query, diffQuery, stack1Query, stack1Query)) {1915 if (!p_psDBRunQueryF(config->dbh, query, stack2Query, stack1Query, diffQuery, stack1Query)) { 1914 1916 psError(PS_ERR_UNKNOWN, false, "database error"); 1915 1917 psFree(query); … … 1919 1921 return false; 1920 1922 } 1923 1921 1924 psFree(query); 1922 1925 … … 1978 1981 psFree(thisWhere); 1979 1982 1980 /* psTrace("difftool",1, query,stack2Query,diffQuery,this_stack1Query,this_stack1Query); */ 1983 psTrace("difftool",1, query,stack2Query,diffQuery,this_stack1Query,this_stack1Query); 1981 1984 if (!psDBTransaction(config->dbh)) { 1982 1985 psError(PS_ERR_UNKNOWN, false, "database error"); … … 1984 1987 } 1985 1988 1986 if (!p_psDBRunQueryF(config->dbh, query, stack2Query, diffQuery, this_stack1Query, this_stack1Query)) {1989 if (!p_psDBRunQueryF(config->dbh, query, stack2Query, this_stack1Query, diffQuery, this_stack1Query)) { 1987 1990 psError(PS_ERR_UNKNOWN, false, "database error"); 1988 1991 psFree(query);
Note:
See TracChangeset
for help on using the changeset viewer.
