c++/sql-dk/.dep.inc
author František Kučera <franta-hg@frantovo.cz>
Sat, 25 Jul 2020 17:25:19 +0200
branchv_0
changeset 252 a9d4a8d5c57f
parent 230 8bae71482622
permissions -rw-r--r--
improve multiple results support

The specification talks exactly about -1:
> Returns: the current result as an update count;
> -1 if the current result is a ResultSet object or there are no more results

Other negative numbers can theoretically mean something different than „no more results“
e.g. unknown number of updates (?).
     1 # This code depends on make tool being used
     2 DEPFILES=$(wildcard $(addsuffix .d, ${OBJECTFILES} ${TESTOBJECTFILES}))
     3 ifneq (${DEPFILES},)
     4 include ${DEPFILES}
     5 endif