bugfix: return type of gtk2.check_menu_item_new*

This commit is contained in:
Andreas Rumpf 2010-03-17 18:58:34 +01:00
commit 41afb4ee58
6 changed files with 359 additions and 10 deletions

View file

@ -83,7 +83,7 @@ iterator FastRows*(db: TDbConn, query: TSqlQuery,
args: openarray[string]): TRow =
## executes the query and iterates over the result dataset. This is very
## fast, but potenially dangerous: If the for-loop-body executes another
## query, the results can be undefined. For Postgres it is safe though.
## query, the results can be undefined. For MySQL this is the case!.
Exec(db, query, args)
var sqlres = mysql.UseResult(db)
if sqlres != nil: