c++/sql-dk/nbproject/licenseheader.txt
author František Kučera <franta-hg@frantovo.cz>
Sat, 25 Jul 2020 17:25:19 +0200
branchv_0
changeset 252 a9d4a8d5c57f
parent 250 aae5009bd0af
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 (?).
franta-hg@230
     1
/**
franta-hg@230
     2
 * SQL-DK
franta-hg@230
     3
 * Copyright © 2013 František Kučera (frantovo.cz)
franta-hg@230
     4
 *
franta-hg@230
     5
 * This program is free software: you can redistribute it and/or modify
franta-hg@230
     6
 * it under the terms of the GNU General Public License as published by
franta-hg@250
     7
 * the Free Software Foundation, version 3 of the License.
franta-hg@230
     8
 *
franta-hg@230
     9
 * This program is distributed in the hope that it will be useful,
franta-hg@230
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
franta-hg@230
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
franta-hg@230
    12
 * GNU General Public License for more details.
franta-hg@230
    13
 *
franta-hg@230
    14
 * You should have received a copy of the GNU General Public License
franta-hg@230
    15
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
franta-hg@230
    16
 */