We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9be2bf commit 03c4c12Copy full SHA for 03c4c12
1 file changed
src/std/database/front.d
@@ -424,11 +424,9 @@ struct BasicRowSet(D,P) {
424
void rowSetTag();
425
426
private Result result_;
427
- private bool ok_;
428
429
this(Result result) {
430
result_ = result;
431
- ok_ = result.rowsFetched != 0;
432
}
433
434
int width() {return result_.data_.columns;}
@@ -482,9 +480,9 @@ struct BasicRowSet(D,P) {
482
480
483
481
484
485
- bool empty() {return !ok_;}
+ bool empty() {return result_.rowsFetched_ != 0;}
486
auto front() {return Row(this);}
487
- void popFront() {ok_ = result_.next();}
+ void popFront() {result_.next();}
488
489
490
struct BasicRow(D,P) {
0 commit comments